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

oneAPI 2025.0 (MKL): My code does not build any more

rbunger
Novice
448 Views

Hi,

 

I have been able to build my code using oneAPI 2024.2 and earlier. Now with oneAPI 2025.0 it does not build any more. I do not have a minimal running example or similar... I just know that I was able to build with 2024.2 and now I get multiple errors. I call the oneAPI via the Eigen library.

 

I have tried with CXX=icpx and CXX=g++.

 

Thanks,

 

Rainer

 

---

 

$HOME/intel.2025.0/oneapi/mkl/2025.0/include/mkl_direct_call.h:740:69: error: invalid conversion from ‘const void*’ to ‘const MKL_Complex16*’ {aka ‘const _MKL_Complex16*’} [-fpermissive]
740 | fname_unrolledc((side), (uplo), (transa), (diag), (m), (n), (const void *)(alpha), (const void *)(a), (lda), (void *)(b), (ldb)); \
| ^~~~~~~~~~~~~~~~~~~~~
| |
| const void*

 

$HOME/intel.2025.0/oneapi/mkl/2025.0/include/mkl_direct_call.h:763:71: note: in expansion of macro ‘MKL_DC_TRSM_CONVERT’
763 | #define ztrsm(side, uplo, transa, diag, m, n, alpha, a, lda, b, ldb) MKL_DC_TRSM_CONVERT(side, uplo, transa, diag, m, n, alpha, a, lda, b, ldb, mkl_dc_ztrsm, ztrsm_direct)
| ^~~~~~~~~~~~~~~~~~~

4 Replies
Aleksandra_K
Employee
242 Views

Dear Rainer,

 

I have reproduced the issue using my sample code. It appeared that the problem probably is due to changes in the header file mkl_direct_call.h compared to earlier versions.

 

I have escalated this issue to our development team for further investigation and resolution.

 

Best regards,

Aleksandra 


rbunger
Novice
239 Views
0 Kudos
Aleksandra_K
Employee
56 Views

Hello Rainer,

 

I wanted to let you know that our developers have looked into the issue and confirmed that it will be fixed in the next release.


Thank you for notifying us about the issue.


Best regards,

Aleksandra 


rbunger
Novice
42 Views

Hi,

 

many thanks for your efforts!

 

Kind regards

 

Rainer

0 Kudos
Reply