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

ztrsm crashes on some inputs with the debug flags

ansobolev
Beginner
586 Views

Hi,

 

I've experienced an issue when ztrsm crashes on some inputs with `-fpe0` flag enabled, while dtrsm does not. The inputs to both subroutines are the same up to the zero complex part. Without `-fpe0` flag the outputs of ztrsm and dtrsm are the same, as they should be. 

 

This happens with 2025.3.2, 2025.3.0 and 2024.2.1, which are the versions I have access to. Can you please check? The MWE with the inputs is attached below. The two Fortran files that are in the archive can be compiled with 

```

ifx -qmkl -O0 -fpe0 -o run_ztrsm_cplx run_ztrsm_cplx.f90

ifx -qmkl -O0 -fpe0 -o run_ztrsm_real run_ztrsm_real.f90

```

Thanks in advance!

0 Kudos
2 Replies
Fengrui
Moderator
554 Views

Hi, thanks for reporting this issue in the forum!

 

I can reproduce this issue with the AVX2 code path while the AVX512 code path seems fine with the 2025.3 release. It is a regression since the 2024.2 release. We are actively working on this issue. Will update here once we get it fixed.

 

Thanks!

Fengrui

0 Kudos
Fengrui
Moderator
495 Views

This issue has been fixed. The fix will be included in the upcoming 2026.0 release.

 

Thanks again for reporting this issue!

Reply