Using the -mkl Compiler Option

The Intel® Composer XE compiler supports the following variants of the -mkl compiler option:

-mkl or

to link with standard threaded Intel MKL.


to link with sequential version of Intel MKL.


to link with Intel MKL cluster components (sequential) that use Intel MPI.

For more information on the -mkl compiler option, see the Intel Compiler User and Reference Guides.

On Intel® 64 architecture systems, for each variant of the -mkl option, the compiler links your application using the LP64 interface.

If you specify any variant of the -mkl compiler option, the compiler automatically includes the Intel MKL libraries. In cases not covered by the option, use the Link-line Advisor or see Linking in Detail.

For more complete information about compiler optimizations, see our Optimization Notice.