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

An error occurred while using "Parallel" in "Use oneMKL", displaying kernelbase.pdb not loaded.

CloudShadow
Beginner
1,139 Views

An error occurred while testing cblas_dgemm which using "Parallel" in "Use oneMKL" on Visual Studio 2022,   

6@NL[[8N4TDCUEZZ)H3J8$N.png

displaying kernelbase.pdb not loaded.  

W9SAR{Y56]DLES$J0ZIW`47.png

But there is no such issue when selecting "sequential". 

 

0 Kudos
5 Replies
VarshaS_Intel
Moderator
1,074 Views

Hi,


Thanks for posting in Intel Communities.


Could you please provide us with the complete sample reproducer code and matrix (or) complete project file you are using to reproduce your issue at our end?


And also, as these forums are intended to support the English language, could you please translate and provide us with the error that you are getting in the English language?


Thanks & Regards,

Varsha


0 Kudos
CloudShadow
Beginner
1,016 Views

Test code is completely copied from the website Multiplying Matrices Using dgemm (intel.com).

After adjusting the visual studio language to English, the screenshots are

M3E$Y7QDXY)(MIER~K)MBRL.png

and

(Y7(Y_8$R]_I6Q5A~M@NX[9.png

  

0 Kudos
VarshaS_Intel
Moderator
982 Views

Hi,

 

Thanks for providing the details.

 

We are able to run successfully without any error. Could you please find and try the below screenshot for the properties of setting Intel MKL in Visual Studio 2022 and let us know if you are still facing an error?

VarshaS_Intel_0-1690456529538.png

 

And also, could you please try the sample code on the Intel oneAPI Command Prompt and let us know if you are still facing any errors?

VarshaS_Intel_1-1690456642108.png

 

If possible, please repair your Intel oneAPI toolkit with Microsoft Visual Studio for complete proper integration.

 

Thanks & Regards,

Varsha

 

 

 

0 Kudos
CloudShadow
Beginner
937 Views

Thank you for your prompt attention. 

 

I found that the reason for the error was that the libiomp5md.dll was not loaded, so I modified the Working Directory so that Visual Studio could search for it.

1AYGV]MJY110YY@FS3K96U7.png

The code can now run correctly, as shown in the screenshot.

I6$D2S_ATH7`H{PALBD(})9.png

Thanks for your response again.  The problem has been resolved.

0 Kudos
VarshaS_Intel
Moderator
907 Views

Hi,


>>Thanks for your response again. The problem has been resolved.

It’s great to know that the issue has been resolved, in case you run into any other issues please feel free to create a new thread. 


Have a Good Day!


Thanks & Regards,

Varsha


0 Kudos
Reply