Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.

MKL root question.

tpe2
Beginner
621 Views
I would like to utilize the following model.

Directory A contains executable which calls mkl dll's. Directory A also contains the required mkl dll's.

Right now the executable finds mkl_rt.dll. But I get the following error,
MKL FATAL ERROR: Cannot load mkl_intel_thread.dll

mkl_rt.dll and mkl_intel_thread.dll as well as other mkl dll's are located in the same directory as the executable.

On another machine, I have installed the w_mkl_10.3.6.233.exe and the same program executes correcly. I presume that mkl_intel_tread.dll is being looked for along a specific path or there is an environmental variable set by the installer which sets the path to mkl_intel_thread.dll.

Any help on this would be greatly appreciated.
0 Kudos
3 Replies
barragan_villanueva_
Valued Contributor I
621 Views
Hi,

mkl_intel_thread.dll depends on OpenMP run time library libiomp5md.dll
So you need tocopy this library together with other MKL libraries or add path to compiler locations where it is located.
0 Kudos
Gennady_F_Intel
Moderator
621 Views
Hello, one more comment to this -please look at the User's Guide How - Getting Started - Setting Environment Variables.

0 Kudos
tpe2
Beginner
621 Views
Thank you.

Adding the additional libraries fixed my problem.
0 Kudos
Reply