To link with Intel® Math Kernel Library (Intel® MKL), choose one library from the Interface layer and one library from the Threading layer and add the only library from the Computational layer and run-time libraries (RTL). Alternatively, the Single Dynamic Library (SDL) does most of this for you and makes linking even simpler. The following table lists Intel MKL libraries to link with your application.
Interface layer |
Threading layer |
Computational layer |
RTL |
|
---|---|---|---|---|
IA-32 architecture,
|
libmkl_intel.a |
libmkl_intel_thread.a |
libmkl_core.a |
libiomp5.so |
IA-32 architecture,
|
libmkl_rt.so† |
libiomp5.so |
||
Intel® 64
architecture,
|
libmkl_intel_lp64.a |
libmkl_intel_thread.a |
libmkl_core.a |
libiomp5.so |
Intel® 64 architecture,
|
libmkl_rt.so† |
libiomp5.so |
† SDL provides linking with interface, threading, and computational libraries.
For exceptions and alternatives to the libraries listed above, see Selecting Libraries to Link.
If you are using Intel® C++ Composer XE or Intel® Visual Fortran Composer XE, you can use compiler options that provide an easy way of linking with Intel MKL. See Using the -mkl Compiler Option for details.