Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
6981 Discussions

MKL FATAL ERROR: Cannot load libmkl_lapack.so

paolo_innocente
Beginner
396 Views
Hello,

I'm trying to use Intel MKL 10.1 with some third party software (IDL from ITT Visual Information Solutions) on 64-bit Linux. I am using a shared library developed by me that used lapack functions. I have compiled the shared library with Intel compiler and linked with ld linker.
My shared library works fine with fortran programs but when it is called from IDL I get the following message:

MKL FATAL ERROR: Cannot load libmkl_lapack.so

linking the share library I use following command for mkl libraries: -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core.

I have tried to add the -lmkl_lapack at the end (or the middle) of the linking list but in this case I get the following error:

MKL FATAL ERROR: Cannot load neither libmkl_mc.so nor libmkl_def.so

Could you please give any suggestion?

Thanks for any help.

Regards,

Paolo Innocente
0 Kudos
2 Replies
Gennady_F_Intel
Moderator
396 Views
Paolo,
could you please try to use Linker Adviser and let us know if you still will have problems.
--Gennady
0 Kudos
VipinKumar_E_Intel
396 Views
Paolo,

You may also refer an article in our KB on this. http://software.intel.com/en-us/articles/mkl-fatal-error-cannot-load-neither-xxxx-with-intel-mkl-10x/.

Additionaly make sure that MKL libs are in the LD_LIBRARY_PATH.

Vipin
0 Kudos
Reply