Run following script before linking and running Intel Math Kernel Library:
#!/bin/bash
source /opt/intel/fce/10.1.015/bin/ifortvars.sh
MKLPATH=/opt/intel/mkl/10.0.3.020/lib/em64t
MLKINCLUDE=/opt/intel/mkl/10.0.3.020/lib/em64t
echo ifort *.f90 -L$MKLPATH -I$MLKINCLUDE -lmkl_lapack95 -Wl,--start-group $MKLPATH/libmkl_intel_lp64.a $MKLPATH/libmkl_intel_thread.a $MKLPATH/libmkl_core.a -Wl,--end-group -liomp5 -lpthread
ifort *.f90 -L$MKLPATH -I$MLKINCLUDE -lmkl_lapack95 -Wl,--start-group $MKLPATH/libmkl_intel_lp64.a $MKLPATH/libmkl_intel_thread.a $MKLPATH/libmkl_core.a -Wl,--end-group -liomp5 -lpthread
Last Modified: April 28, 2009