MATLAB Answers


How to set correct MKL version?

Asked by Ivan
on 23 May 2019
I am trying to deploy a EXE compiled using version 2019a to a machine without having admin privileges. With previous version this always worked when we added <MCRversion>\runtime\win64 in front of the SYSTEM path. However this time after we do this and run the app we get this error:
Error using *
BLAS loading error:
mkl.dll: The operating system cannot run mkl.dll.
Error in etime (line 41)
The system we are trying to deploy to is Windows 7 x64 and has many other things installed on it, including Intel ComposerXE-2011, as I was able to find these variables
ICPP_COMPILER12=C:\Program Files (x86)\Intel\ComposerXE-2011
INTEL_DEF_IA32_MKL_INSTALL_DIR=C:\Program Files (x86)\Intel\ComposerXE-2011\
INTEL_DEF_X64_MKL_INSTALL_DIR=C:\Program Files (x86)\Intel\ComposerXE-2011\
INTEL_LICENSE_FILE=C:\Program Files (x86)\Common Files\Intel\Licenses
INTEL_MKL_10_3_10.3.5001.127_EM64T_INSTALL_DIR=C:\Program Files (x86)\Intel\ComposerXE-2011\
INTEL_MKL_10_3_10.3.5001.127_IA32_INSTALL_DIR=C:\Program Files (x86)\Intel\ComposerXE-2011\
We tried deleting them but even then - the problem persists. As we don't have admin privileges we are restricted to what we can change and by the looks of it - there is some incompatiblity with the MKL library. We have tested the compiled app on a blank Windows 7 machine and it worked fine.
The question is - is there anything else to change at runtime (via batch files) to make sure that the correct versions of MKL files are being loaded and they are not conflicting with anything else on the system?
Kind regards


Sign in to comment.




0 Answers