Developer Guide

Contents

Modulefiles to Set Environment Variables

As an alternative, you can use modulefiles to set the environment on
Linux*
. When the installation of
Intel® MKL
for
Linux*
is complete, you need to set some environment variables.
To use modulefiles to setup the environment, tell your module utility where they are:
$module use /path/to/<mkl_directory>/bin
Load modulefile:
Architecture
Command
For
Intel® MKL
IA-32 architecture
$module load
mkl-32
For
Intel® MKL
Intel® 64
architecture
$module load mkl
All existing variables will retain their original values and new values will be prepended to the following variables:
LD_LIBRARY_PATH
,
LIBRARY_PATH
,
CPATH
,
PKG_CONFIG_PATH
,
NLSPATH
,
TBBROOT
. Since
MKLROOT
should contain only one path, it will be set to the new value and any old value of this variable will be lost.
Unloading the module resets the modified environment variables to their original values and new variables that were created will be undefined.
MKLROOT
will be undefined on module unload.
Architecture
Command
For
Intel® MKL
IA-32 architecture
$module unload
mkl-32
For
Intel® MKL
Intel® 64
architecture
$module unload mkl

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