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

intel MKL library

m070034
Beginner
187 Views
Dear all,

in an open source, i found the linking with MKL version 10 as follow:

LIBS= -L/opt/intel/mkl/10.0.011/lib/32 -lmkl_lapack -lmkl -lguide -lthread

I could not find the equivalent of these library in version 11.1 of intel compiler suite.

Please tell me where can i find such libraries.

Nay Lin
Nanyang Tech. University
Singapore
0 Kudos
1 Solution
Todd_R_Intel
Employee
187 Views
From what you've listed, it's likely the following would work:
-L$(MKLROOT)/lib/32 -lmkl_intel -lmkl_intel_thread -lmkl_core -openmp -lpthread

I just used the link Gennady provided to produce it, but if you're not familiar with Intel MKL you may not know the choices to make. Your link line suggests dynamic link of 32-bit threaded libs for Linux. If you're using the 11.1 compiler, the libraries above are probably the right choice.

Todd

View solution in original post

3 Replies
Gennady_F_Intel
Moderator
187 Views
Nay Lin,
Please see here the MKL Linker Adviser tips..
Todd_R_Intel
Employee
188 Views
From what you've listed, it's likely the following would work:
-L$(MKLROOT)/lib/32 -lmkl_intel -lmkl_intel_thread -lmkl_core -openmp -lpthread

I just used the link Gennady provided to produce it, but if you're not familiar with Intel MKL you may not know the choices to make. Your link line suggests dynamic link of 32-bit threaded libs for Linux. If you're using the 11.1 compiler, the libraries above are probably the right choice.

Todd
m070034
Beginner
187 Views
Hi Todd,

Thanks for your help!

I managed to compile the code with suggestion from u.

Lin
Reply