Saturday, August 4, 2012

libimf.so: cannot open shared object file: No such file or directory

If you are encounter a problem

mpicc: error while loading shared libraries: libimf.so: cannot open shared object file: No such file or directory.

 The solution can be easily solved by the following:
# touch /etc/ld.so.conf.d/intel.conf

# vim /etc/ld.so.conf.d/intel.conf  

Inside /etc/ld.so.conf.d/intel.conf
/opt/intel/lib/intel64

No comments: