Selecting Libraries to Link with
To link with :
Intel® oneAPI Math Kernel Library
- Choose one library from the Interface layer and one library from the Threading layer
- Add the only library from the Computational layer and run-time libraries (RTL)
The following table lists libraries to link with your application.
Intel® oneAPI Math Kernel Library
Interface layer
| Threading layer
| Computational layer
| RTL
| |
---|---|---|---|---|
Intel® 64
architecture ,
static linking | mkl_intel_ lp64. lib | mkl_intel_ thread. lib | mkl_core. lib | libiomp5 md . lib |
Intel® 64 architecture, dynamic linking | mkl_intel_ lp64 _dll .
lib | mkl_intel_ thread _dll .lib | mkl_core _dll .lib | libiomp5 md .lib |
Intel® Many Integrated Core
Architecture (Intel® MIC Architecture),
static linking | lib mkl_intel_ lp64. a | lib mkl_intel_ thread. a | libmkl_core.a | libiomp5.so |
Intel MIC Architecture, dynamic linking | lib mkl_intel_ lp64 .so | lib mkl_intel_ thread .so | lib mkl_core .so | libiomp5 .so |
The Single Dynamic Library (SDL) automatically links interface, threading, and computational libraries and thus simplifies linking. The following table lists 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.
Intel® oneAPI Math Kernel Library
SDL
| RTL
| |||
---|---|---|---|---|
†
Linking with
.
libiomp5md.lib
is not requiredFor exceptions and alternatives to the libraries listed above, see
Linking in Detail.