Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Internal compiler error

JoakimKjellsson
Beginner
27 Views

I've encountered an internal compiler error when compiling the OpenIFS atmosphere code from ECMWF. Most files in the code base compile fine but crashes towards the very end with the error

          #0 0x0000000003351981
          #1 0x00000000033b7157
          #2 0x00000000033a2a8a
          #3 0x000000000333862d
          #4 0x000000000338a229
          #5 0x00000000033874b9
          #6 0x00000000033869f4
          #7 0x0000000003296232
          #8 0x0000000003295be4
          #9 0x0000000003476f7a
         #10 0x00007f801f02a610
         #11 0x00007f801f02a6c0 __libc_start_main + 128
         #12 0x00000000030d0bae

/nobackup/proj/flash/naiss2026-1-40/personal/joakim/models_intel/ecearth4/sources/oifs-48r1/source/ifs_dp/arpifs/control/cnt1.F90(13): error #5623: **Internal compiler error: internal abort** Please report this error along with the circumstances in which it occurred in a Software Problem Report.  Note: File and line given may not be explicit cause of this error.
SUBROUTINE CNT1(YDGEOMETRY,YDFIELDS,YDMTRAJ,YDMODEL,YDJOT,YDVARBC,YDTCV,YDODB,YDFPOS)
-----------^
compilation aborted for /nobackup/proj/flash/naiss2026-1-40/personal/joakim/models_intel/ecearth4/sources/oifs-48r1/source/ifs_dp/arpifs/control/cnt1.F90 (code 3)
make[2]: *** [ifs_dp/CMakeFiles/arpifs.DP.dir/build.make:3139: ifs_dp/CMakeFiles/arpifs.DP.dir/arpifs/control/cnt1.F90.o] Error 3

As you can see the error points to the definition of a subroutine but I can't see what would be wrong with it. The exact same code compiles fine on several other machines under both GNU and Intel compilers of various versions. I'm using Intel 2025.2. 

I have tested using both "mpiifort" and "mpiifx" to compile but same error. 

The subroutine can be found here: 
https://github.com/ecmwf-ifs/openifs/blob/main/ifs-source/arpifs/control/cnt1.F90

and I've attached a file with the full argument used and error message. 

Many thanks in advance for any help or advice!

/Joakim 

0 Kudos
0 Replies
Reply