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

catastrophic error: Internal Compiler Error: Ref module: ffe_cl.c

dave-fge
Beginner
948 Views

I am trying to compile a reasonably large fortran77 static library with ifx 2025.1.1 on Linux. I have not tried with other version of ifx but the code used to be ok with ifort.

I am getting the above error intermittently when compiling in debug mode, in parallel on calls to external functions. The error does not always occur on the same external function call either.

Sorry, I haven't so far been able to generate a reproducer example, I will keep trying.

The code where it fails looks similar to this:

     real function test(m,state) 
     integer m
     real state(*)
real func
external func
C
C some other code before
C
     test = func(m, state) !<- compiler error on this line
C
C some other code after
C
     return
     end

Any help would be appreciated.

Labels (2)
0 Kudos
2 Replies
Ron_Green
Moderator
865 Views

there isn't enough here to work with.  This looks harmless.

You are doing a parallel build in Visual Studio, correct?  If you turn off the parallel build and build serially it compiles ? 

And you are building the code on a local disk and not a network drive? 

0 Kudos
dave-fge
Beginner
752 Views

Hi,

Thank you for replying. Sorry, I haven't managed to create a reproducer code so far.

I am not using Visual Studio, I am building using cmake on the commandline in a docker container on a local disk. So far the error has not occurred when building in serial.

0 Kudos
Reply