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, |
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 (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 |
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.