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

Catastrophic error when compiling

Mark_B_1
ビギナー
3,036件の閲覧回数

When compiling a program using the 2013 version of Intel Fortran on RedHat 5.9 I received the following error message

/tmp/ifort31HZxZ.i90: catastrophic error: **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.

Is there any work around for this problem?

0 件の賞賛
12 返答(返信)
mecej4
名誉コントリビューター III
3,036件の閲覧回数

Please post the source file concerned, and state the compiler options used.

TimP
名誉コントリビューター III
3,036件の閲覧回数

The major issue with red hat 5.9 is that AVX and AVX2 (including -xHost on an AVX CPU) aren't supported, although violation of that restriction shouldn't produce internal error.

Likely work arounds are to cut back on aggressive options or use a current compiler version.  If you still have internal error with a current release, as the message says, you are advised to file a problem report with a reproducer.

Ron_Green
モデレーター
3,036件の閲覧回数

At an absolute minimum we need to see the compiler options used.  Also the specific version and build string from the compiler, via 'ifort -V'

Catastrophic error is a catchall for all sorts of problems.  This doesn't give us any more information other than the compiler aborted.

Mark_B_1
ビギナー
3,036件の閲覧回数

The options were

ifort -o module_bl_temf.o -c -O3 -ip -fp-model precise -w -ftz -align all -fno-alias -FR -convert big_endian   -openmp -fpp -auto -I../dyn_em -I../dyn_nmm   -I/pln1/WRF/WRFV3/external/esmf_time_f90  -I/pln1/WRF/WRFV3/main -I/pln1/WRF/WRFV3/external/io_netcdf -I/pln1/WRF/WRFV3/external/io_int -I/pln1/WRF/WRFV3/frame -I/pln1/WRF/WRFV3/share -I/pln1/WRF/WRFV3/phys -I/pln1/WRF/WRFV3/chem -I/pln1/WRF/WRFV3/inc -I/usr/local/include  -i4  module_bl_temf.f90

The source file is attached

 

Ron_Green
モデレーター
3,036件の閲覧回数

WRF, it figures, I should have known LOL. 

OK, what version of WRF and I still need to know your compiler version:

ifort -V

I'll have one of our engineers familiar with build WRF to look into this one.

Mark_B_1
ビギナー
3,036件の閲覧回数

It is WRF 3.6

The compiler is

Intel(R) Fortran Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 14.0.2.144 Build 20140120
 

Amanda_S_Intel
従業員
3,036件の閲覧回数

There is a known issue with compiling module_bl_temf.f90 that has since been confirmed as fixed in 2013 SP1 Update 3.

See this thread for details: https://software.intel.com/en-us/forums/topic/506826

Mark_B_1
ビギナー
3,036件の閲覧回数

So, I should use a later version of the compiler.  The problem is that our compiler is registered to a person who no longer works for our company.  How can I transfer the registration to myself so that I can update our compiler?

Steven_L_Intel1
従業員
3,036件の閲覧回数
Mark_B_1
ビギナー
3,036件の閲覧回数

We updated the compiler and still get the same error.  Now the compiler version is

Intel(R) Fortran Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 14.0.3.174 Build 20140422
Copyright (C) 1985-2014 Intel Corporation.  All rights reserved.
 

Mark

Amanda_S_Intel
従業員
3,036件の閲覧回数

Hi Mark,

I cannot reproduce the error with Update 3. Something may be amiss in your environment. Try sourcing the compilervars script to ensure that the environment is properly set up.

--Amanda

[aksharp@orcsle127 phys]$ bash
[aksharp@orcsle127 phys]$ source /opt/intel/composer_xe_2013_sp1.2.144/bin/compilervars.sh intel64
[aksharp@orcsle127 phys]$ ifort -V
Intel(R) Fortran Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 14.0.2.144 Build 20140120
Copyright (C) 1985-2014 Intel Corporation.  All rights reserved.

[aksharp@orcsle127 phys]$ ifort -o module_bl_temf.o -c -O3 -ip -fp-model precise -w -ftz -align all -fno-alias -FR -convert big_endian   -openmp -fpp -auto -I../dyn_em -I../dyn_nmm   -I/pln1/WRF/WRFV3/external/esmf_time_f90  -I/pln1/WRF/WRFV3/main -I/pln1/WRF/WRFV3/external/io_netcdf -I/pln1/WRF/WRFV3/external/io_int -I/pln1/WRF/WRFV3/frame -I/pln1/WRF/WRFV3/share -I/pln1/WRF/WRFV3/phys -I/pln1/WRF/WRFV3/chem -I/pln1/WRF/WRFV3/inc -I/usr/local/include  -i4  module_bl_temf.f90
/tmp/ifort0JRLbR.i90: catastrophic error: **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 module_bl_temf.f90 (code 1)
[aksharp@orcsle127 phys]$ exit
exit
[aksharp@orcsle127 phys]$ bash
[aksharp@orcsle127 phys]$ source /opt/intel/composer_xe_2013_sp1.3.174/bin/compilervars.sh intel64
[aksharp@orcsle127 phys]$ ifort -V
Intel(R) Fortran Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 14.0.3.174 Build 20140422
Copyright (C) 1985-2014 Intel Corporation.  All rights reserved.

[aksharp@orcsle127 phys]$ ifort -o module_bl_temf.o -c -O3 -ip -fp-model precise -w -ftz -align all -fno-alias -FR -convert big_endian   -openmp -fpp -auto -I../dyn_em -I../dyn_nmm   -I/pln1/WRF/WRFV3/external/esmf_time_f90  -I/pln1/WRF/WRFV3/main -I/pln1/WRF/WRFV3/external/io_netcdf -I/pln1/WRF/WRFV3/external/io_int -I/pln1/WRF/WRFV3/frame -I/pln1/WRF/WRFV3/share -I/pln1/WRF/WRFV3/phys -I/pln1/WRF/WRFV3/chem -I/pln1/WRF/WRFV3/inc -I/usr/local/include  -i4  module_bl_temf.f90
[aksharp@orcsle127 phys]$
Mark_B_1
ビギナー
3,036件の閲覧回数

We have everything working now.  Thanks for all of your help.  You were wonderful.

Mark

返信