Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
6428 Discussions

Please update the MKL Link Line Advisor for use with OneAPI

mecej4
Black Belt
630 Views

The MKL LInk Line Advisor is a very useful tool. It needs to be update to enable users to call MKL from C, C++ and Fortran codes that are compiled using the new OneAPI compilers, and many users have trouble with compiling and linking without the help of this tool as a guide.

Thank you.

 

5 Replies
ArunJ_Intel
Moderator
612 Views

Hi mecej4,

 

 MKL Link Line Advisor already has support for OneAPI dpc++ compiler. You need to select the Intel product as oneMKL to have OneAPI dpc++ among the drop down options for compiler. Please find attached a screen-print of the tool.

 

Hope this answers your query. Please let us know if you are looking for something else.

 

mecej4
Black Belt
605 Views

The qualifier "beta" is not part of the released OneAPI product or MKL 2021 product, but is present in the first panel of the Advisor, and suggests that only the 2021 beta product is supported as of now.

Missing, too, are entries for ifx and icx in the compiler selection panels. These new compiler drivers do not support the same options as ifort/ifc and icl/icc. Simply substituting "ifx" for "ifort" in the Advisor's recommendation does not always work. If using ifx, icx with MKL is not yet supported, you could have the Advisor show those names but grayed out in the selection lists of the Advisor.

Gennady_F_Intel
Moderator
590 Views

meci4,

The qualifier "beta" will be removed. The issue has been already filed one week ago.

regarding icx/ifx drivers: "Simply substituting "ifx" for "ifort" in the Advisor's recommendation does not always work...." 

Could you give more details/examples?

on my end, sourcing the latest icx and using -mkl option works as expected:

$ which icx
/opt/intel/oneapi/compiler/2021.1.1/linux/bin/icx

icx -mkl gemm.cpp   builds the executable as expected.

 

Gennady_F_Intel
Moderator
327 Views

The fix has been closed in oneMKL 2021.2 which has been already released and available for download.


Gennady_F_Intel
Moderator
327 Views

The issue is closing 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.



Reply