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

mkl_intel_thread.dll is missing in Release mode

Jing_Q_
Beginner
711 Views

I am trying to compile my code on Windows 7 (64-bit) with MSVS 2010 and Intel Fortran 2013. In my code I called mkl library and I selected the option "Use Intel Math Kernel Library" in projection property. In the debug mode, the code runs well. But when I run the application compiled with release mode, error jumps up and says"program can't start because the mkl_intel_thread.dll is missing".  How can I fix it?

Thanks.

0 Kudos
3 Replies
crispybits
Beginner
711 Views

You could copy that file from the intel redist folder to your program's release bin folder. I guess there's a way to get VS to copy it automatically but it doesn't do that for me either so I copy the dll (in my case just libiomp5md.dll) manually.

If the file is there, make sure it's not the 32-bit one.

0 Kudos
Gennady_F_Intel
Moderator
711 Views

or just update the systems environment variables

0 Kudos
Jing_Q_
Beginner
711 Views

Why the compiler in debug mode can find MKL library but the release mode can't?  

I used command "mklvars ..." to setup the environment variable, but it didn't work too. Should I manually add environment variables? 

0 Kudos
Reply