Intel® Math Kernel Library Link Line Advisor
Select MKL version:
Select OS:
Select processor architecture:
Select compiler:
Select dynamic or static linking:
Select interface layer:
Select sequential or multi-threaded version of Intel® MKL:
Select OpenMP library:
Select cluster library: CDFT
ScaLAPACK
BLACS
Select MPI library:
Select the Fortran 95 interfaces: BLAS95
LAPACK95

Use this link line:

Recommended compiler options:

Notes:
o Set the INCLUDE, MKLROOT, LD_LIBRARY_PATH, LIBRARY_PATH, CPATH, FPATH and NLSPATH environment variables in the command shell using one of mklvars script files in the 'bin' subdirectory of the Intel MKL installation directory. Please, see also MKL User Guide.
o Set the INCLUDE, MKLROOT, DYLD_LIBRARY_PATH, LIBRARY_PATH, CPATH, FPATH and NLSPATH environment variables in the command shell using one of mklvars script files in the 'bin' subdirectory of the Intel MKL installation directory. Please, see also MKL User Guide.
o Set the PATH, LIB and INCLUDE environment variables in the command shell using one of mklvars script files in the 'bin' subdirectory of the Intel MKL installation directory. Please, see also MKL User Guide.
o Set the INCLUDE, MKLROOT, LD_LIBRARY_PATH, LIBRARY_PATH, CPATH, FPATH and NLSPATH environment variables in the command shell using one of mklvars script files in the 'tools/environment' subdirectory of the Intel MKL installation directory. Please, see also MKL User Guide.
o Set the INCLUDE, MKLROOT, DYLD_LIBRARY_PATH, LIBRARY_PATH, CPATH, FPATH and NLSPATH environment variables in the command shell using one of mklvars script files in the 'tools/environment' subdirectory of the Intel MKL installation directory. Please, see also MKL User Guide.
o Set the PATH, LIB and INCLUDE environment variables in the command shell using one of mklvars script files in the 'tools/environment' subdirectory of the Intel MKL installation directory. Please, see also MKL User Guide.
o You may remove libraries with 'solver' in the name from the link line if you do not use the iterative solver or GMP domain.
o To set the threading layer at run time, use the mkl_set_threading_layer function or set MKL_THREADING_LAYER variable to one of the following values:INTEL, SEQUENTIAL, PGI. To set interface layer at run time, use the mkl_set_interface_layer function or set the MKL_INTERFACE_LAYER variable to LP64 or ILP64. Please, see also MKL User Guide.
o Please be sure that you have used the recommended compiler options for the selected interface layer. Warning: linking MKL libraries with your objects, compiled for different interface layer, may lead to run-time errors.
o Set the F95ROOT variable. Fortran 95 interfaces are compiler-dependent. Intel(R) Math Kernel Library (Intel(R) MKL) provides the interface libraries and modules precompiled with the Intel(R) Fortran compiler. Additionally, the Fortran 95 interfaces and wrappers are delivered as sources. If you are using a different compiler, build the appropriate library and modules with your compiler. Please, see also MKL User Guide.