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

**Internal compiler error: segmentation violation signal raised** with -O3

valerie_vallet
Beginner
1,165 Views

Dear Intel developers,

Compilation of this subroutine optrms.F (See attachment) leads to an  **Internal compiler error: segmentation violation signal raised** with -O3 options. This error disappears with -O2

The compilation instructions is /share/apps/intel/composer_xe_2013_sp1.2.144/bin/intel64/ifort -i8 -r8 -pc64 -auto -vec-report0 -warn nousage -cxxlib

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

Linux kernel: 2.6.32-279.14.1.el6.x86_64

Note that the program compiled with ifort version: Intel(R) Fortran Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 14.0.1.106 Build 20131008

Thanks a lot for your help. Valérie

0 Kudos
4 Replies
Kevin_D_Intel
Employee
1,165 Views

Valérie,

Thank you for reporting this internal error and for the convenient reproducer. I reproduced the error and directed it to the Developers for investigation and repair (see internal tracking id below).

The error occurs within the High-Level Optimization phase enabled with -O3 so as you noted the work around at this time is to use the -O2 optimization level.

I will keep the post updated on the status of a fix as I learn it.

(Internal tracking id: DPD200254225)

0 Kudos
nglam
Beginner
1,165 Views

Dear Kevin,

I have the same error when compiling my codes:

ifort -O3 -xHost -ipo -openmp Declaration_2014feb27C.f90 Modsgrowth_2014mar14A.f90 Growth_2014mar14A.f90

Then I got:

ipo: remark #11000: performing multi-file optimizations
ipo: remark #11006: generating object file /tmp/ipo_ifortPr3Cem.o
** segmentation violation signal raised **
Access violation or stack overflow. Please contact Support.

ifort: error #10106: Fatal error in /opt/intel/composer_xe_2013_sp1.2.144/bin/intel64/fortcom, terminated by segmentation violation
ifort: error #10014: problem during multi-file optimization compilation (code 1)

Linux kernel is 3.2.0-4-amd64

Could you please look at the attached codes?

 

Thanks,

 

Lam

 

0 Kudos
nglam
Beginner
1,165 Views

Oh, it looks like I failed to attach my files.

0 Kudos
Kevin_D_Intel
Employee
1,165 Views

@Valérie - The internal error you reported is fixed in the Intel® Composer XE 2013 Update 3 release (Version 14.0.3.174 Build 20140422) and the latest Intel® Parallel Studio XE 2015 release for Linux (Version 15.0.0.090 Build 20140723)

@Lam - Your issue does not share the same root cause as Valérie’s issue and is not addressed at this time. The error you experienced occurs with the Intel® Composer XE 2013 Update 2 release but later releases seemingly enter into an indefinite compilation. There is a new/separate defect report filed Development tracking your issue (see internal tracking id below). The only means of avoidance is to compile at -O2 (with -ipo). I will update this post as I learn more.

(Internal tracking id: DPD200360970)

0 Kudos
Reply