简体   繁体   中英

Can't open mkl_intel_s_dll.lib in 64bit Visual Studio environment

I tried to compile in Visual studio 2013 for some program using mkl.

It works fine in 32bit environment. But in 64 bit they say

error LNK1181 :Can not open 'mkl_intel_s.lib'
error #11018: Cannot open mkl_intel_s_dll.lib
error $11018: Cannot open mkl_intel_s.lib

I already download all files from parallel studio

And when I copy and paste mkl_intel_s_dll.lib and mkl_intel_s.lib from C:\\Program Files (x86)\\Intel\\Composer XE\\mkl\\lib\\ia32 to C:\\Program Files (x86)\\Intel\\Composer XE\\mkl\\lib\\intel64 directory, they succeed in compiling but output program doesn't work properly.

How could I solve this problem?

The copying you are doing is definitely the wrong approach, you're mixing 32 and 64 bit libraries (amazing no linker errors ensue, actually). Did you (properly) install both the 32 and 64 bit versions of MKL. Did you select to use MKL in the (64 bit) projects' properties settings (Intel Performance Libraries)?

If you overwrote the files that pre-existed before in the intel64 directory, you should un-install and re-install MKL, using the installer. (This might fix your problem as well).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM