Intel® Math Kernel Library 11.3 Update 4 Developer Guide
These examples illustrate linking of an application for Intel MIC Architecture under the following conditions:
See the Intel MKL Release Notes for details of system requirements.
To link with ScaLAPACK for native runs on a cluster of systems based on the Intel MIC architecture, use the following link line:
<path to mpi binaries>/mpiifort
-mmic
<files to link> \
-L$MKLPATH \
-lmkl_scalapack_lp64 \
-lmkl_blacs_intelmpi_lp64 \
-lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core \
-liomp5 -lpthread -lm
To link with Cluster FFT for native runs on a cluster of systems based on the Intel MIC architecture, use the following link line:
<path to mpi binaries>/mpiifort
-mmic
<files to link> \
-Wl,--start-group \
$MKLPATH/libmkl_cdft_core.a \
$MKLPATH/libmkl_blacs_intelmpi_lp64.a \
$MKLPATH/libmkl_intel_lp64.a \
$MKLPATH/libmkl_intel_thread.a \
$MKLPATH/libmkl_core.a \
-Wl,--end-group \
-liomp5 -lpthread -lm