Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29231 ディスカッション

Internal compiler error: segmentation violation signal raised

mikescchen
初心者
2,187件の閲覧回数

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 解決策
Barbara_P_Intel
従業員
2,034件の閲覧回数

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.

 

元の投稿で解決策を見る

4 返答(返信)
Barbara_P_Intel
従業員
2,142件の閲覧回数

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
初心者
2,122件の閲覧回数

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
従業員
2,035件の閲覧回数

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
初心者
1,997件の閲覧回数

OK Thanks!

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

 

Mike

返信