Window Phi Composer XE 2013 SP1 Update 1 Error: libraries could not be loaded: libmkl_intel_lp64.so libmkl_intel_thread.so libmkl_core.so

Affected:  Users of Composer XE 2013 SP1 Update 1 for Windows (only this version) and ONLY users running offload code for Intel(R) Xeon Phi(TM) Coprocessors where the application depends on MKL libraries.

Error:  On Windows Phi platforms, when using ONLY Composer XE 2013 SP1 Update 1 for Windows (no other versions, does not affect Linux host users) - during run of offload program with MKL calls in the offload region(s) you may see the following error:

"The remote process indicated that the following libraries could not be loaded: libmkl_intel_lp64.so libmkl_intel_thread.so libmkl_core.so
offload error: cannot load library to the device 0 (error code 19)"

To Prevent the Runtime Error, do ONE of the following two possible Workarounds:

Workaround 1) If you run from a Command Window, use the following 'set' command to add the MKL library path to the existing MIC_LD_LIBRARY_PATH environment variable:
set MIC_LD_LIBRARY_PATH=%MIC_LD_LIBRARY_PATH%;%MKLROOT%\lib\mic

Workaround 2) if you run from Visual Studio:

  • select Project -> Properties
  • set Configuration tab to "All Configurations"
  • under 'Configuration Properties', select the 'Debugging' group
  • for the Debugging group, update the 'Environment' and set (or add to) this: MIC_LD_LIBRARY_PATH=%MIC_LD_LIBRARY_PATH%;%MKLROOT%\lib\mic
  • Save the properties


This error should not occur in the initial release of the Intel Composer XE 2013 SP1 compilers.  This error will be addressed in the Composer XE 2013 SP1 Update 3 compiler package which will be released sometime in the future.

Para obtener información más completa sobre las optimizaciones del compilador, consulte nuestro Aviso de optimización.