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

Internal compiler error: segmentation violation signal raised

mikescchen
Novato
2.191 Visualizações

Hi,

I'm using mpiicx and mpiifx 2024.1 to build CESM 2.3 alpha17b.

It's a big package, and I get an error message on building the "FMS" component like:

 

#0 0x000000000232d4ea
#1 0x0000000002394d07
(......)
#16 0x00001466ee72ad85 __libc_start_main + 229
#17 0x00000000020ab129

/tmp/ifx0411443332gzWO2u/ifxUZkYJp.i90: error #5633: **Internal compiler error: segmentation violation signal raised** 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.
compilation aborted for /home/u8935479/cesm2_3_alpha17b/libraries/FMS/src/fms2_io/netcdf_io.F90 (code 3)
gmake: *** [/home/u8935479/cesm2_3_alpha17b/libraries/FMS/Makefile.cesm:362: netcdf_io.o] Error 3

 

The system's a supercomputer with RHEL 8.7.

We're going to fallback to mpiifort 2019.5 for now, but would be happy to provide more information to get this solved in the future.

 

Mike

1 Solução
Barbara_P_Intel
Funcionário
2.038 Visualizações

Thank you, @mikescchen. I just learned that that issue has already been reported. The fix will be available with the 2024.2 release that is planned for mid-2024.

A workaround is to compile netcdf_io.F90 with -O0 and there is no error.

 

Ver solução na publicação original

4 Respostas
Barbara_P_Intel
Funcionário
2.146 Visualizações

Thank you for reporting this. It looks like the internal compiler error (ICE) occurred while compiling netcdf_io.F90.

Can you please post that file and any other files required to successfully compile netcdf_io.F90? A tarball or zip file would be great.

What compiler options are you using?

 

mikescchen
Novato
2.126 Visualizações

Hi,

Thanks for the reply!

As stated, this is part of a much larger package (CESM from UCAR: https://www.cesm.ucar.edu/), I'm not sure if you can reproduce the error without going through the workflow.

Anyway, I've attached the source code and the error log message in the file.

Also, is there some kind of flags that can make mpiifx give more information on the error? I think I can modify the makefile so we don't need to copy the whole thing elsewhere.

Please let me know if you have further suggestions.

 

Mike

 

Barbara_P_Intel
Funcionário
2.039 Visualizações

Thank you, @mikescchen. I just learned that that issue has already been reported. The fix will be available with the 2024.2 release that is planned for mid-2024.

A workaround is to compile netcdf_io.F90 with -O0 and there is no error.

 

mikescchen
Novato
2.001 Visualizações

OK Thanks!

I'll see if I can get this -O0 set in the workflow.

 

Mike

Responder