mkl_intel_thread.dll is missing in Release mode

mkl_intel_thread.dll is missing in Release mode

Bild des Benutzers Jing Q.

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?


4 Beiträge / 0 neu
Letzter Beitrag
Nähere Informationen zur Compiler-Optimierung finden Sie in unserem Optimierungshinweis.
Bild des Benutzers crispybits

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.

Bild des Benutzers Gennady Fedorov (Intel)

or just update the systems environment variables

Bild des Benutzers Jing Q.

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? 

Melden Sie sich an, um einen Kommentar zu hinterlassen.