|
|
Math Kernel Library (MKL) on Sequoia at MCSR
MKL libraries are located in /mnt/data/apps/intel/ict/mkl/10.0.3.020/lib/em64t and include files are located in /mnt/data/apps/intel/ict/mkl/10.0.3.020/include on Sequoia.
Link command syntax
To link with the Intel MKL libraries, follow this general form of specifying paths and libraries in the link line:
-L/mnt/data/apps/intel/ict/mkl/10.0.3.020/lib/ -I/mnt/data/apps/intel/ict/mkl/10.0.3.020/include/
[-lmkl_lapack95] [-lmkl_blas95]
[cluster components]
[-Wl,--start-group]
[{-lmkl_{intel, intel_ilp64, intel_lp64, intel_sp2dp, gf, gf_ilp64, gf_lp64}]
[-lmkl_{intel_thread, sequential}]
[{-lmkl_solver, -lmkl_solver_lp64, -lmkl_solver_ilp64}]
{{[-lmkl_lapack] -lmkl_{ia32, em64t, ipf}},-lmkl_core}
[-Wl,--end-group]
[{-lguide, -liomp5}] [-lpthread] [-lm]
Simple examples of linking:
Dynamic linking of program myprog.f90 with Intel MKL parallel (threaded) library.
ifort -L/mnt/data/apps/intel/ict/mkl/10.0.3.020/lib/em64t -I/mnt/data/apps/intel/ict/mkl/10.0.3.020/include -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -lguide -lpthread myprog.f90
|