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

Compiling against oneAPI MKL

AlexKurek
初学者
2,855 次查看

Is there an ease way to compile my code againt latest oneAPI MKL versions as it was possible with "classic" MKL? Im using Ubuntu 18 and 20 and I noticed that MKL package is no longer updated there.

The latest instructions I was able to find is for "classic" MKL:

wget -q --retry-connrefused https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2019.PUB
apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS-2019.PUB
rm GPG-PUB-KEY-INTEL-SW-PRODUCTS-2019.PUB
sh -c 'echo deb https://apt.repos.intel.com/mkl all main > /etc/apt/sources.list.d/intel-mkl.list'
apt-get update
apt-get install -y intel-mkl-64bit-2020.4-912

0 项奖励
1 解答
Gennady_F_Intel
主持人
2,845 次查看

Yes, it is possible with the latest version as well. You may refer to the MKL Linker Adviser to check how you could do that: https://software.intel.com/content/www/us/en/develop/tools/oneapi/components/onemkl/link-line-advisor.html

在原帖中查看解决方案

0 项奖励
6 回复数
Gennady_F_Intel
主持人
2,846 次查看

Yes, it is possible with the latest version as well. You may refer to the MKL Linker Adviser to check how you could do that: https://software.intel.com/content/www/us/en/develop/tools/oneapi/components/onemkl/link-line-advisor.html

0 项奖励
Gennady_F_Intel
主持人
2,791 次查看

Alexander, is there any update here?


0 项奖励
AlexKurek
初学者
2,768 次查看

I think the issue is solved, thank you!

Best regards,
Alex

0 项奖励
Gennady_F_Intel
主持人
2,753 次查看

This issue has been resolved and we will no longer respond to this thread. If you require additional assistance from Intel, please start a new thread. Any further interaction in this thread will be considered community only. 



0 项奖励
kenz095
初学者
2,606 次查看

Sorry, give me information, please.

OneAPI was installed to my PC and my source codes were compiled.

Although mpi.h was recognized, an error message "MKL_blacs.lib was not seen" was indicated.

In the intel directory, there were some libraries related to MKL_blacs, such as "MKL_blacs_msmpi_ilp63.lib"   etc, and PATH was set correctly, but  above  "MKL_blacs.lib" was no actually recognized.

How to success to be compiled ?

  

0 项奖励
回复