QnA about MD++
Q. Error with libimf.so
[Q] I see an error message "error while loading shared libraries: libimf.so:
cannot open shared object file: No such file or directory" while running MD++.
[A] This is not a bug of MD++. When you compile MD++ with intel compilers (icc or ifort), you need to specify the library path for intel compilers. For example, if the libraries are installed at /opt/intel/cc/10.1.012/lib/ and /opt/intel/fc/10.1.012/lib/, you run the following command at the bash shell prompt.
$ LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/intel/cc/10.1.012/lib:/opt/intel/fc/10.1.012/lib; export LD_LIBRARY_PATH
You can check the library path by running the commnd echo.
$ echo $LD_LIBRARY_PATH
Another solution is to add the following lines to the bash startup file ~/.bash_profile.
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/intel/cc/10.1.012/lib:/opt/intel/fc/10.1.012/lib export LD_LIBRARY_PATH