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

ICE when compiling M_strings

ChrisC1
Beginner
108 Views

I'm getting an ICE error when trying to compile the commonly used M_strings library.   (https://github.com/urbanjost/M_strings)    This is the specific combination that causes it:  

 

Intel 2025.3.0 on Linux  (Windows doesn't seem to have the issue)

Specify -qopenmp as a compile option.   

 

The error happens in the M_strings.f90 compilation and seems to be related to the do concurrent loops that the code uses.   I can compile without openmp and it works, or I can convert the do concurrent to plain do loops and that works.  But the combination of the two generates an error for me.   

0 Kudos
2 Replies
henry_collins
Novice
85 Views

That looking to me a compiler issue. If it only happens with Intel 2025.3.0 on Linux and -qopenmp plus do concurrent,try reducing it to the smallest reproducible example and report it to Intel. In the meantime, using regular do loops or building that file without OpenMP seems like a reasonable workaround.

0 Kudos
andrew_4619
Honored Contributor III
16 Views

You should file a simple reproducer code if you can and show the compile options. That is the only way things get fixed.

0 Kudos
Reply