- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, Experts
I am an newbie using intel MKL. Recently, I developed my source code in the VS2019 IDE environment. First, I started with the sequential mode, and the compilation is correct, and the final executable file can be executed correctly.
Then I tried the parallel mode by using OpenMP threading library. Environments setting are below:
1. VC++ Directories/Include Directories: <Root>\oneAPI\mkl\2021.3.0\include
2. VC++ Directories/Library Directories: <Root>\oneAPI\mkl\2021.3.0\lib\intel64 and <Root>\oneAPI\compiler\2021.3.0\windows\compiler\lib\intel64_win
3. Linker/Input: mkl_intel_lp64.lib, mkl_intel_thread.lib, mkl_core.lib, libiomp5md.lib
4. C/C++/Code Generation/Runtime Library: Multi-Threaded Debug DLL
With such settings above, the compilation and building are correct, but when i started debugging, it hits an error. The code i used is one of code examples from Intel official website.
with this error, I found the reason is missing the libiomp5md.dll. so I copy this file from "<Root>\oneAPI\compiler\2021.3.0\windows\redist\intel64_win\compiler" to the directory where the executable file is. then, I can execute this code without error.
It seems that the "<Root>\oneAPI\compiler\2021.3.0\windows\compiler\lib\intel64_win" in the Library Directories is not functioning.
Does anyone know how to correct this error in the VS2019, because copying the libiomp5md.dll to directory where the executable file is not an elegant way.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for reaching out to us.
We have tried executing the code "Computing matrix product using Intel(R) MKL dgemm function via CBLAS interface" in both sequential and parallel mode using VS2019 with MKL version. However, the code got compiled and executed successfully. Attached the screenshots for your reference.
We would suggest you to execute the code on oneAPI command prompt and let us know if the issue persists. Besides this, could you please share us the steps followed in installing oneAPI.
Best Regards,
Shanmukh.SS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Has the solution provided helped. Please let us know if the issue still persists.
Best Regards,
Shanmukh.SS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We assume that your issue is resolved. If you need any additional information, please submit a new question as this thread will no longer be monitored.
Best Regards,
Shanmukh.SS

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page