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

cblas_dgemm module not found error when trying to use parallel library in Visual Studio 2022

ChuckV
Beginner
458 Views

I'm using Visual Studio 2022 with oneMKL installed. I have no problem with cblas_dgemv, but with cblas_dgemm and the library set to Parallel through the project properties, I get a "Module not found" error in Kernelbase.dll. I don't really understand as dgemv works fine in both Sequential and Parallel. dgemm sequential works fine too.

 

Here are the libraries VS is linking:

MKL_INTEL_LP64_DLL.LIB MKL_INTEL_THREAD_DLL.LIB MKL_CORE_DLL.LIB LIBIOMP5MD.LIB 

0 Kudos
3 Replies
ChuckV
Beginner
418 Views

It appears to be something in mkl_intel_thread.2.dll that's trying to call something from KernelBase.dll. Is it because I have an AMD processor?

Screenshot 2025-02-07 140056.png

0 Kudos
Fengrui
Moderator
293 Views

Thank you for posting in the forum!

Could you please try to build the dgemm code in Command Prompt to see if the same error is captured?

 

0 Kudos
ChuckV
Beginner
257 Views

Please note that building the code is not an issue -- it's running it.

However, running it from the oneAPI command prompt *does* work. It just doesn't from inside Visual Studio, even if I don't attach a debugger.

0 Kudos
Reply