Math Kernel Library Developer Guide
To link with Intel® oneAPI Math Kernel Library:
The following table lists Intel® oneAPI Math Kernel Library libraries to link with your application.
Interface layer |
Threading layer |
Computational layer |
RTL |
|
---|---|---|---|---|
Intel® 64
architecture,
|
libmkl_intel_lp64.a |
libmkl_intel_thread.a |
libmkl_core.a |
libiomp5.so |
Intel® 64 architecture, |
libmkl_intel_lp64.so |
libmkl_intel_thread.so |
libmkl_core.so |
libiomp5.so |
Intel® Many Integrated Core
|
libmkl_intel_lp64.a |
libmkl_intel_thread.a |
libmkl_core.a |
libiomp5.so |
Intel MIC Architecture, |
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 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 |
libmkl_rt.so |
libiomp5.so†† |
††Use the Link-line Advisor to check whether you need to explicitly link the libiomp5.so RTL.
For exceptions and alternatives to the libraries listed above, see Linking in Detail.