Using the -mkl Compiler Option

If you are using the Intel® Composer XE compiler, use the -mkl compiler option in these cases:

-mkl or
-mkl=parallel

to tell the compiler to link with non-cluster threaded part of Intel MKL.

-mkl=sequential

to tell the compiler to link with non-cluster sequential part of Intel MKL.

-mkl=cluster

to tell the compiler to link with sequential part of Intel MKL including cluster components 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 with Intel MKL libraries providing the LP64 interface.

In the simplest case, if you specify any variant of the -mkl compiler option, you do not need to list Intel MKL libraries on a link line. For cases where the option is not applicable or requires listing Intel MKL libraries on a link line, use the Link Line Advisor or see Selecting Libraries to Link.

See Also


Submit feedback on this help topic