Visible to Intel only — GUID: GUID-5FE64872-8340-46CB-A763-BFF2CD227CB5
Visible to Intel only — GUID: GUID-5FE64872-8340-46CB-A763-BFF2CD227CB5
Selecting Libraries to Link with
To link with Intel® oneAPI Math Kernel Library (oneMKL):
- 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 Intel® oneAPI Math Kernel Library (oneMKL) libraries to link with your application.
Interface layer |
Threading layer |
Computational layer |
RTL |
|
---|---|---|---|---|
Intel® 64 architecture, |
mkl_intel_lp64.lib |
mkl_intel_thread.lib |
mkl_core.lib |
libiomp5md.lib |
Intel® 64 architecture, |
mkl_intel_lp64_dll. lib |
mkl_intel_thread_dll.lib |
mkl_core_dll.lib |
libiomp5md.lib |
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 (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.