Intel® Math Kernel Library 2019 Developer Guide

Selecting Libraries to Link with

To link with Intel MKL:

The following table lists Intel MKL libraries to link with your application.

 

Interface layer

Threading layer

Computational layer

RTL

IA-32 architecture,
static linking

libmkl_intel.a

libmkl_intel_thread.a

libmkl_core.a

libiomp5.dylib

IA-32 architecture,
dynamic linking

libmkl_intel.dylib

libmkl_intel_thread.dylib

libmkl_core.dylib

libiomp5.dylib

Intel® 64 architecture,
static linking

libmkl_intel_lp64.a

libmkl_intel_thread.a

libmkl_core.a

libiomp5.dylib

Intel® 64 architecture,
dynamic linking

libmkl_intel_lp64. dylib

libmkl_intel_thread.dylib

libmkl_core.dylib

libiomp5.dylib

The Single Dynamic Library (SDL) automatically links interface, threading, and computational libraries and thus simplifies linking. The following table lists Intel MKL libraries for dynamic linking using SDL. See Dynamically 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

IA-32 and Intel® 64 architectures

libmkl_rt.dylib

libiomp5.dylib

Use the Link-line Advisor to check whether you need to explicitly link the libiomp5.dylib RTL.

For exceptions and alternatives to the libraries listed above, see Linking in Detail.

See Also