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

intel MKL library

m070034
Principiante
1.501 Vistas
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 Solución
Todd_R_Intel
Empleados
1.501 Vistas
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

Ver la solución en mensaje original publicado

3 Respuestas
Gennady_F_Intel
Moderador
1.501 Vistas
Nay Lin,
Please see here the MKL Linker Adviser tips..
Todd_R_Intel
Empleados
1.502 Vistas
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
Principiante
1.501 Vistas
Hi Todd,

Thanks for your help!

I managed to compile the code with suggestion from u.

Lin
Responder