When the installation of Intel MKL for Linux* OS is complete, set the INCLUDE, MKLROOT, LD_LIBRARY_PATH, MANPATH, LIBRARY_PATH, CPATH, FPATH, and NLSPATH environment variables in the command shell using one of the script files in the bin subdirectory of the Intel MKL installation directory.
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 scripts accept parameters to specify the following:
Usage and values of these parameters depend on the scriptname (regardless of the extension). The following table lists values of the script parameters.
Script
|
Architecture
|
Addition of a Path
|
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.