Window Phi Composer XE 2013 SP1 Update 1 Error: libraries could not be loaded:

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:
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:

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.

For more complete information about compiler optimizations, see our Optimization Notice.
Image icon bug-14-0-up1-mic-mkl-2.jpg65.75 KB