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

intel MKL library

m070034
Beginner
511 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
511 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

0 Kudos
3 Replies
Gennady_F_Intel
Moderator
511 Views
Nay Lin,
Please see here the MKL Linker Adviser tips..
0 Kudos
Todd_R_Intel
Employee
512 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
0 Kudos
m070034
Beginner
511 Views
Hi Todd,

Thanks for your help!

I managed to compile the code with suggestion from u.

Lin
0 Kudos
Reply