Intel® Math Kernel Library

How to create shared .so library which use MKL?


I would like to create native C dynamically loaded shared library on Linux which use MKL FFT functions. The final goal - to call it from C# (mono) through P/Invoke.

When I run test example C program (not shared library) MKL works fine,

But if I pack my functions to the .so file and call it from C# (mono) through P/Invoke, then I got "DllNotFound" exeption. Without MKL my .so library works also fine.

I supposed that I have to build shared MKL library with -fPIC flag.

HPCG and mpirun on 2S Xeon-EP


I'm encountering a problem when trying to measure socket performance of a Xeon E5 v3 chip with COD active but the problem also persists when I try to run on two sockets of a 2S Xeon-EP node. I am using the latest benchmark from the website (l_mklb_p_2017.1.013) and am following the advice from

I was trying running

Building GNU Octave 4.2.0 with MKL

I spent the day trying to build the current stable release of GNU Octave, version 4.2.0. I tried to follow "Using Intel MKL in GNU Octave", but I keep getting warning after warning and error after error. I guess time flies and a lot has changed since the article was written (January 5, 2011) and even since it's update to cover Octave 4.0.3.

how to use inverse Laplace transform in MKL? Is there function in IMKL ?

These days, I have to do some numerical inverse Laplace transform. But I do not find some subroutines or functions in MKL to do this work.

Is there some functions to do inverse Laplace transform? I find "INLAP" and "SINLP" in IMSL user's Guide math libaray version 7.0, and they can do inverse Laplace transform. In my computer, MKL's path is like C:\Program Files (x86)\Intel\Composer XE 2013 SP1\Documentation\en_US\mkl, I can find INLAP and SINLP. So could you help me?

TBB with MKL cblas and lapack

I'm an experienced user of intel mkl and OpenMP. In my application, the parallelism topology is simple, so although I use OpenMP for a long time I haven't used very complex functionalities of OpenMP. On typical case is that there is a parallel_for loop. Within each loop, there are several cblas or lapack function calls. With MKl compiled with OpenMP, I got very good performance, so I didn't pay attention to the TBB too much.

Can you refer me to a math expert ?

I have a question about the usage of your linear algebra routines,

but it does not involve the programming, but the actual mathematics.


Can you recommend someone I can consult with about a math question ?


This would possibly be a faculty member of a math department.


Which math department put together your linear algebra routines?

Undefined reference to `mkl_lapack_ao_dpotrf_hao'


On our HP Z840 Workstation with Ubuntu Linux, Intel 64 ifort compiler and Xeon CPUE5-2660V3@2.60 GHz x16 processors we get the following compile error message:

/opt/intel/compilers_and_libraries_2016.2.181/linux/mkl/lib/intel64_lin/libmkl_core.a(dpotrf_offload_thunks.o): In function `mkl_lapack_ao_dpotrf':

dpotrf_offload.c:(.text+0x6f): undefined reference to `mkl_lapack_ao_dpotrf_hao'

It looks like mkl_lapack_ao_dpotrf_hao is not found. Any suggestions for fixing this issue?

Trond B

BLAS Level1 routines and Multi-threading


   I'm a new software  developer for developing matrix calculation.

   Recently, I used MKL BLAS Level routines to develop my own applications.

   I want tow know the implementation of these functions are all multi-threading by using OpenMP or Pthread? if not, which function is multi-threaded? And where can I found some information about this. 


Subscribe to Intel® Math Kernel Library