Selecting Libraries to Link with

To link with Intel® oneAPI Math Kernel Library (oneMKL):

The following table lists Intel® oneAPI Math Kernel Library (oneMKL) libraries to link with your application.

 

Interface layer

Threading layer

Computational layer

RTL

Intel® 64 architecture,
static linking

mkl_intel_lp64.lib

mkl_intel_thread.lib

mkl_core.lib

libiomp5md.lib

Intel® 64 architecture,
dynamic linking

mkl_intel_lp64_dll. lib

mkl_intel_thread_dll.lib

mkl_core_dll.lib

libiomp5md.lib

Intel® Many Integrated Core
Architecture (Intel® MIC Architecture),
static linking

libmkl_intel_lp64.a

libmkl_intel_thread.a

libmkl_core.a

libiomp5.so

Intel MIC Architecture,
dynamic linking

libmkl_intel_lp64.so

libmkl_intel_thread.so

libmkl_core.so

libiomp5.so

The Single Dynamic Library (SDL) automatically links interface, threading, and computational libraries and thus simplifies linking. The following table lists Intel® oneAPI Math Kernel Library (oneMKL) libraries for dynamic linking using SDL. SeeDynamically Selecting the Interface and Threading Layer for how to set the interface and threading layers at run time through function calls or environment settings.

 

SDL

RTL

Intel® 64 architecture

mkl_rt.lib

libiomp5md.lib

Linking with libiomp5md.lib is not required.

For exceptions and alternatives to the libraries listed above, see Linking in Detail.

See Also