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 | lib mkl_intel_ lp64. a | lib mkl_intel_ thread. a | lib mkl_core. a | libiomp5 . dylib |
Intel® 64 architecture, dynamic linking | lib mkl_intel_ lp64 .
dylib | lib mkl_intel_ thread .dylib | lib mkl_core .dylib | libiomp5 .dylib |
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
| |||
---|---|---|---|---|
†
Use the Link-line Advisor to check whether you need to explicitly link the
.
libiomp5
.dylib
RTLFor exceptions and alternatives to the libraries listed above, see
Linking in Detail.