Intel® Math Kernel Library 11.0.2 User Guide
When the installation of Intel MKL for Linux* OS is complete, set the INCLUDE, MKLROOT, LD_LIBRARY_PATH, MIC_LD_LIBRARY_PATH, MANPATH, LIBRARY_PATH, CPATH, and NLSPATH environment variables in the command shell using one of the script files in the bin subdirectory of the Intel MKL installation directory. The environment variable MIC_LD_LIBRARY_PATH specifies locations of shared objects for Intel® MIC Architecture.
Choose the script corresponding to your system architecture and command shell as explained in the following table:
|
Architecture |
Shell |
Script File |
|---|---|---|
|
IA-32 |
C |
ia32/mklvars_ia32.csh |
|
IA-32 |
Bash and Bourne (sh) |
ia32/mklvars_ia32.sh |
|
Intel® 64 |
C |
intel64/mklvars_intel64.csh |
|
Intel® 64 |
Bash and Bourne (sh) |
intel64/mklvars_intel64.sh |
|
IA-32 and Intel® 64 |
C |
mklvars.csh |
|
IA-32 and Intel® 64 |
Bash and Bourne (sh) |
mklvars.sh |
The parameters of the scripts specify the following:
Usage and values of these parameters depend on the name of the script (regardless of the extension). The following table lists values of the script parameters.
|
Script
|
Architecture
|
Use of Fortran
|
Interface
|
|---|---|---|---|
|
mklvars_ia32 |
n/a† |
mod |
n/a |
|
mklvars_intel64 |
n/a |
mod |
lp64, default
|
|
mklvars |
ia32
|
mod |
lp64, default
|
For example:
Supply the parameter specifying the architecture first, if it is needed. Values of the other two parameters can be listed in any order.