Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
New Contributor I
15 Views

Cannot link to MKL from a Fortran program

I just installed your latest version of MKL, 2019 version 3, and I get this error massege:

      fatal error LNK1104: cannot open file 'mkl_cdft_core_dll.lib'        

I am using VISUAL STUDIO 2015, and it did say it integrated it to VS2015.

also, I did say "use MKL" in the Fortran part of the BUILD options,

so I was wondering if if have to say that somewhere else ?

Under the LINKER part of the build menu, it does not mention the MKL anywhere.     

Is there a way to check if it was properly installed ?

did anyone TEST this for Fortran users ?  

0 Kudos
2 Replies
Highlighted
Moderator
15 Views

There is no way to check if mkl has been properly installed. In your case, pls check if you see the mkl_cdft_core_dll.lib availble into <mklroot>/lib/intel64 directory.

regarding to VS IDE - you may explicitly add the list of libs you need to link with your application. ex fro your case :

mkl_cdft_core_dll.lib mkl_intel_lp64_dll.lib mkl_intel_thread_dll.lib mkl_core_dll.lib mkl_blacs_lp64_dll.lib impi.lib libiomp5md.lib

0 Kudos
Highlighted
Moderator
15 Views

just in the case it may help, here is the link to the article - https://software.intel.com/en-us/articles/intel-math-kernel-library-intel-mkl-compiling-and-linking-with-microsoft-visual-cc. Check - Use Intel® MKL in Microsoft* Visual Studio 2017/2015/2012/2010 - Manually

0 Kudos