Discussion:
Intel oneAPI compiler not happy with AVX512
(too old to reply)
Woozy Song
2024-04-12 09:58:38 UTC
Permalink
I have a package that contains nearly 500 f90 files. I noticed that in
the makefile, it was using -ax (automatic dispatch ) up to AVX2. I added
COMMON-AVX512 to the options. One thing I noticed was that compilation
is now slower. It seemed to stop for 30 seconds when it hit one
particular subroutine. But main problem was that after a few hundred
files, it aborted with unexpected internal error. The offending file
wasn't doing anything exotic, mostly a linear regression.
This is 2024.1 version of the compiler, pretty much the latest.
Has anybody else compiled for AVX512?
m_b_metcalf
2024-04-21 09:55:31 UTC
Permalink
Post by Woozy Song
I have a package that contains nearly 500 f90 files. I noticed that in
the makefile, it was using -ax (automatic dispatch ) up to AVX2. I added
COMMON-AVX512 to the options. One thing I noticed was that compilation
is now slower. It seemed to stop for 30 seconds when it hit one
particular subroutine. But main problem was that after a few hundred
files, it aborted with unexpected internal error. The offending file
wasn't doing anything exotic, mostly a linear regression.
This is 2024.1 version of the compiler, pretty much the latest.
Has anybody else compiled for AVX512?
Pleae note that this forum is essentially dormant. I recommended that you
switch to Fortran Discourse, at
https://fortran-lang.discourse.group/latest

Regards,

Mike Metcalf
Lawrence D'Oliveiro
2024-04-21 23:18:04 UTC
Permalink
Plea[s]e note that this forum is essentially dormant.
Like a volcano, “dormant” does not mean “extinct”.
Steve Lionel
2024-04-29 20:49:25 UTC
Permalink
Post by Woozy Song
I have a package that contains nearly 500 f90 files. I noticed that in
the makefile, it was using -ax (automatic dispatch ) up to AVX2. I added
COMMON-AVX512 to the options. One thing I noticed was that compilation
is now slower. It seemed to stop for 30 seconds when it hit one
particular subroutine. But main problem was that after a few hundred
files, it aborted with unexpected internal error. The offending file
wasn't doing anything exotic, mostly a linear regression.
This is 2024.1 version of the compiler, pretty much the latest.
Has anybody else compiled for AVX512?
Please report this in
https://community.intel.com/t5/Intel-Fortran-Compiler/bd-p/fortran-compiler
and provide a reproducer. Internal Compiler Error is always a compiler
bug. But before you do, try ifx instead of ifort, as it has an entirely
different code generator and is the path forward for Intel. Bugs that
are ifort-only are unlikely to get fixed.
--
Steve Lionel
ISO/IEC JTC1/SC22/WG5 (Fortran) Convenor
Retired Intel Fortran developer/support
Email: firstname at firstnamelastname dot com
Twitter: @DoctorFortran
LinkedIn: https://www.linkedin.com/in/stevelionel
Blog: https://stevelionel.com/drfortran
WG5: https://wg5-fortran.org
Loading...