Developer Guide

Contents

Scripts to Set Environment Variables

When the installation of
Intel® MKL
for
Linux*
is complete, set the
INCLUDE
, MKLROOT,
LD_LIBRARY_PATH,
MANPATH, LIBRARY_PATH, CPATH
,
NLSPATH,
and
PKG_CONFIG_PATH
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® Many Integrated Core Architecture (Intel® MIC Architecture).
Choose the script corresponding to your command shell:
Shell
Script File
C
mklvars.csh
Bash
and Bourne (sh)
mklvars.csh
The script
s
accept the parameters, explained in the following table:
Setting Specified
Required
(Yes/No)
Possible Values
Comment
Architecture
Yes,
when applicable
intel64
Use of
Intel® MKL
Fortran modules precompiled with the Intel®Fortran compiler
No
mod
Supply this parameter only if you are using this compiler.
Programming interface (LP64 or ILP64)
No
lp64
, default
ilp64
For example:
  • The command
    mklvars
    .sh
    intel64
    sets the environment for
    Intel® MKL
    to use the Intel 64 architecture.
  • The command
    mklvars
    .sh
    intel64 mod ilp64
    sets the environment for
    Intel® MKL
    to use the Intel 64 architecture, ILP64 programming interface, and Fortran modules.
  • The command
    mklvars
    .sh
    intel64 mod
    sets the environment for
    Intel® MKL
    to use the Intel 64 architecture, LP64 interface, and Fortran modules.
Supply the parameter specifying the architecture first, if it is needed. Values of the other two parameters can be listed in any order.

Product and Performance Information

1

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