Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
29 Views

mkl_intel_thread.dll is missing in Release mode

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
Highlighted
Beginner
29 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
Highlighted
Moderator
29 Views

or just update the systems environment variables

0 Kudos
Highlighted
Beginner
29 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