Developer Guide

Contents

Using the
/Q
mkl Compiler Option

The Intel®
Parallel Studio XE Composer Edition
compiler supports the following variants of the
/Q
mkl
compiler option:
/Q
mkl
or
/Qmkl:parallel
to link with a certain
Intel® MKL
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® MKL
.
/Qmkl:cluster
to link with
Intel® MKL
cluster components (sequential) that use Intel MPI.
The
-qopenmp
option has higher priority than
-tbb
in choosing the
Intel® MKL
threading layer for linking.
For more information on the
/Q
mkl
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:
  • cdecl for the IA-32 architecture
  • LP64 for the Intel® 64 architecture
If you specify any variant of the
/Q
mkl
compiler option, the compiler automatically includes the
Intel® MKL
libraries. In cases not covered by the option, use the Link-line Advisor or seeLinking in Detail.

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804