Developer Guide

Contents

Automating the Process of Setting Environment Variables

To automate setting of the
INCLUDE, MKLROOT, LD_LIBRARY_PATH, MANPATH, LIBRARY_PATH, CPATH
, and
NLSPATH
environment variables, add
mklvars.*sh
to your shell profile so that each time you login, the script automatically executes and sets the paths to the appropriate
Intel® MKL
directories. To do this, with a local user account, edit the following files by adding the appropriate script to the path manipulation section right before exporting variables:
Shell
Files
Commands
bash
~/.bash_profile,
~/.bash_login
or
~/.profile
# setting up MKL environment for bash
.
<absolute_path_to_installed_MKL>
/bin
/
mklvars
.sh [
<arch>
] [mod] [lp64|ilp64]
sh
~/.profile
# setting up MKL environment for sh
.
<absolute_path_to_installed_MKL>
/bin
/
mklvars
.sh [
<arch>
] [mod] [lp64|ilp64]
csh
~/.login
# setting up MKL environment for sh
.
<absolute_path_to_installed_MKL>
/bin
/
mklvars
.csh [
<arch>
] [mod] [lp64|ilp64]
In the above commands, the architecture parameter
<arch>
is one of {
ia32|intel64
|
mic
}.
If you have super user permissions, add the same commands to a general-system
file in
/etc/profile
(for bash and sh) or in
/etc/csh.login
(for csh).
Before uninstalling
Intel® MKL
, remove the above commands from all profile files where the script execution was added. Otherwise you may experience problems logging in.

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