Intel® Math Kernel Library 11.0.2 User Guide

Scripts to Set Environment Variables

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

Running the Scripts

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
(required,
when applicable)

Use of Fortran
Modules (optional)

Interface
(optional)

mklvars_ia32

n/a

mod

n/a

mklvars_intel64

n/a

mod

lp64, default
ilp64

mklvars

ia32
intel64

mod

lp64, default
ilp64

Not applicable.

For example:

Note

Supply the parameter specifying the architecture first, if it is needed. Values of the other two parameters can be listed in any order.

See Also


Submit feedback on this help topic