Change in Intel® Math Kernel Library "mklvars" Scripts for 10.3.11 and later


Problem :
With Intel® Math Kernel Library (Intel® MKL) version 10.3.11 and later for Linux* and and Mac OS* X using the "mklvars" scripts won't set the following internal variables anymore:

  • $MKL_LP64_ILP64
  • $MKL_MOD
  • $MKL_TARGET_ARCH
  • $MKL_VERBOSE

In future versions we're also going to remove $FPATH which has been used by Intel® Fortran compilers up to and including Intel® Fortran Composer XE 2011 Update 3.

There might be 3rd party software relying on those which won't work anymore.

Environment :
Intel® Math Kernel Library (Intel® MKL) version 10.3.11 and later for Linux* and Mac OS* X

Root Cause :
Leaving the above variables set after exiting the "mklvars" scripts was a bug which has been fixed (DPD200284102, DPD200285177). Only the following variables should be set or modified by now:

  • $MKLROOT
  • $LD_LIBRARY_PATH
  • $LIBRARY_PATH
  • $NLSPATH
  • $MANPATH
  • $INCLUDE
  • $CPATH

Any other variables were and are not supported.

Resolution :
Revising the "mklvars" scripts now ensures that only the necessary variables are set or modified. This should leave the shell in a cleaner state.
However, there might be 3rd party software relying on those internal variables which won't work anymore. In such cases you might ask the responsible vendor for solutions.
有关编译器优化的更完整信息,请参阅优化通知