- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
When compile a C++ program in VS Pro 2022 with OneAPI Base Toolkit v. 2024.1, I encounter the following error:
fatal error LNK1104: mkl_blacs_ilp64.lib' can not be opened
Looking into the folder C:\Program Files (x86)\Intel\oneAPI\mkl\2024.1\lib, there is no such file but mkl_blacs_lp64_dll.lib.
Other files systematically have a .lib and a _dll.lib version, such as mkl_cdft_core.lib and mkl_cdft_core_dll.lib.
Is this a bug in the latest version ? Where I can download the missing file?
Repair tool does not help.
Thanks for your help,
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
More info :
Although the "mkl_blacs_ilp64_file" variable in "CMakeSettings.json" was set to "mkl_blacs_ilp64_dll.lib", building stills looks for the file "mkl_blacs_ilp64.lib" which does not exist.
Is there anyone who can help me?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You might try to explicitly link against specific MPI libraries supported by windows version of oneMKL, which are
Intel MPI and MS MPI.
Please take a look at the MKL Linker Adviser:
https://www.intel.com/content/www/us/en/developer/tools/oneapi/onemkl-link-line-advisor.html
for example for ILP64 API you need link against the following libs:
Intel IntelMPI:
mkl_intel_ilp64.lib mkl_intel_thread.lib mkl_core.lib mkl_blacs_intelmpi_ilp64.lib libiomp5md.lib impi.lib
MSMPI:
mkl_intel_ilp64.lib mkl_intel_thread.lib mkl_core.lib mkl_blacs_msmpi_ilp64.lib libiomp5md.lib msmpi.lib
--Gennady
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
and also you could look at the Developer Guide for Windows
where you could find out tips describing how to link with OneMKL Cluster Software.
Quote " The BLACS library corresponding to your , programming interface (LP64 or ILP64), and MPI version. These libraries are listed in Appendix C: Directory Structure in Detail. For example, for the LP64 interface, choose one of mkl_blacs_intelmpi_lp64.lib, or mkl_blacs_msmpi_lp64.lib in the case of static linking and mkl_blacs_lp64_dll.lib in the case of dynamic linking. "
--Gennady

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