Monday, February 13, 2012

ld cannot find -lmkl_intel_ilp64.a

I encounter an error while compiling for NWChem 6.1. The error I receive during the compilation

ld: cannot find -lmkl_intel_ilp64.a

When you encountered the error, it is due to the MKL path does not contain the required libraries which is libmkl_intel_ilp64.a or libmkl_intel_ilp64.so you should modify the -L....... to point to the right MKL path. For example, see

BLASOPT="-L/opt/intel/mkl/10.2.4.032/lib/em64t -lmkl_intel_ilp64 -lmkl_sequential -lmkl_core -lpthread"

No comments: