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

MKL 2019U3 seems to load 32bit-DLL from 64bit-App

Dirks__Nils
Beginner
393 Views

Hello!

I'm porting a c++ application to x64. MSVS 2017 / C++ on Win7/64bit machine.

I've set project settings to generate code multithreaded / static linking.

However the spplication won't even start. It looks like the app is loading (and unloading) the 32bit libiomp5md.dll before it exits with code (0xc000007b).

How can I assure that the static 64bit-libs are linked and no other (possibly 32bit) DLLs get loaded?

thanks for any hints!

0 Kudos
1 Reply
Gennady_F_Intel
Moderator
393 Views

>>How can I assure that the static 64bit-libs are linked and no other (possibly 32bit) DLLs get loaded?

How did you link your case? Check first the MKL libraries you linked with. It should be looks like as follows: mkl_intel_lp64.lib mkl_intel_thread.lib mkl_core.lib libiomp5md.lib

This is windows, therefore you may just put libiomp5md.dll  ( 64 bit) to the directory where your exe file is located.

0 Kudos
Reply