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.
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.
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.
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
icx -mkl gemm.cpp builds the executable as expected.
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.