Intel® Math Kernel Library 11.0.2 User Guide

Examples of Linking a Fortran Application for Intel® Many Integrated Core Architecture

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 <files to link>       \
   -L$MKLPATH                                         \
   -lmkl_scalapack_lp64                               \
   -lmkl_blacs_intelmpi_lp64                          \
   -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core     \
   -liomp5 -lpthread

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 <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

See Also


Submit feedback on this help topic