Intel® Fortran Compiler 16.0 User and Reference Guide
Tells the compiler to link to certain libraries in the Intel® Math Kernel Library (Intel® MKL). On Windows systems, you must specify this option at compile time.
Linux and OS X: | -mkl[=lib] |
Windows: | /Qmkl[:lib] |
lib |
Indicates which Intel® MKL library files should be linked. Possible values are:
|
OFF |
The compiler does not link to the Intel® MKL. |
This option tells the compiler to link to certain libraries in the Intel® Math Kernel Library (Intel® MKL).
On Linux* OS and OS X*, dynamic linking is the default when you specify -mkl. To link with Intel® MKL statically, you must specify:
-mkl -static-intel
On Windows* OS, static linking is the default when you specify /Qmkl. To link with Intel® MKL dynamically, you must specify:
/Qmkl /libs:dll or /Qmkl /MD
For more information about using MKL libraries, see the article in Intel® Developer Zone titled Intel® Math Kernel Library Link Line Advisor.
On Windows* OS, this option adds directives to the compiled code, which the linker then reads without further input from the driver. On Linux* OS and OS X, the driver must add the library names explicitly to the link command.
If you specify option [Q]mkl or [Q]mkl=parallel, and you also specify option [Q]tbb, the compiler links to the standard threaded version of the Intel® MKL. However, if you specify [Q]mkl or [Q]mkl=parallel, and you also specify option [Q]tbb and option [q or Q]openmp, the compiler links to the OpenMP* threaded version of the Intel® MKL.
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 |
Visual Studio: Libraries > Use Intel® Math Kernel Library
Eclipse: None
Xcode: Libraries > Use Intel® Math Kernel Library
None