internal compiler error with ifort 13.1.1 at level -O2

internal compiler error with ifort 13.1.1 at level -O2

The attached file causes the compiler to die at -O2, but it compiles fine at -O1.  I've include a compile script and the verbose output as well as the source.


Downloadapplication/x-tar intel-bug.tar10 KB
4 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

I don't see any problem with the current intel64 compiler, on an Ivy Bridge platform.   I didn't keep 2 versions back.  It might be more meaningful if you would use a specific architecture option, since you didn't specify your platform, and be more specific about "die."

I'm using Sandy Bridge.  I tried -xAVX and that did not have any impact on the problem.  By "die", I meant the error shown at the end of the compile.log file:

: catastrophic error: **Internal compiler error: internal abort** 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 set_periodic_rot.F (code 1)

I found a workaround for the issue.  Just move the reference to ipvmjob outside the innermost loop and -O2 then works.

I can reproduce this in 13.1.1 but not in the current update, 13.1.2 (Update 4)

Retired 12/31/2016

Leave a Comment

Please sign in to add a comment. Not a member? Join today