Scripts to Set Environment Variables

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

Running the Scripts

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

Addition of a Path
to Fortran 95 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 iconNote

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