Math Kernel Library Developer Guide

Using the /Qmkl Compiler Option

The Intel® Parallel Studio XE Composer Edition compiler supports the following variants of the /Qmkl compiler option:

/Qmkl or
/Qmkl:parallel

to link with a certain Intel® oneAPI Math Kernel Library threading layer depending on the threading option provided:

  • For -qopenmp the OpenMP threading layer for Intel compilers
  • For -tbb the Intel® Threading Building Blocks (Intel® TBB) threading layer

/Qmkl:sequential

to link with sequential version of Intel® oneAPI Math Kernel Library.

/Qmkl:cluster

to link with Intel® oneAPI Math Kernel Library cluster components (sequential) that use Intel MPI.

Note

The -qopenmp option has higher priority than -tbbin choosing the Intel® oneAPI Math Kernel Library threading layer for linking.

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

For each variant of the /Qmkl option, the compiler links your application using the following conventions:

If you specify any variant of the /Qmkl compiler option, the compiler automatically includes the Intel® oneAPI Math Kernel Library libraries. In cases not covered by the option, use the Link-line Advisor or see Linking in Detail.

See Also