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

Program produce "Internal Compiler Error"

reubendb
Beginner
950 Views
Hello,
I have the a program that produces "Internal Compiler Error" when I tried to compile. I narrowed down the segment of the program that seems to cause the error and able to reproduce it with the following simple program:

program iFCError
real, dimension(10,10,10,3) :: &
potentialGradient
complex, dimension(10,10,10) :: &
potential
integer :: &
iDim

iDim = 1
potentialGradient(:,:,:,iDim) &
= cshift(real(potential), shift=1, dim=iDim) &
- cshift(real(potential), shift=-1, dim=iDim)
end program IFCerror

I got the following message when trying to compile this:
$ ifort -c iFCError.f90
0_754
fortcom: Severe: **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 iFCError.f90 (code 3)

I tried this with l_fc_p_10.0.023 and l_fc_p_9.1.032.

The program compiles if instead of using the variable "iDim" I just used a constant such as "dim=1" in the cshift() function, or if I removed the function real() from the program.

I tried to find bug report for this on the website but couldn't find it. Any comments / responds is appreciated.

Thanks.
RDB

0 Kudos
5 Replies
reubendb
Beginner
950 Views
I forgot to add, the same code compiles fine in IBM's XLF95 compiler and PGI compiler.
RDB
0 Kudos
Steven_L_Intel1
Employee
950 Views
Please do submit this to Intel Premier Support. When you do, please add a note to reference T79875-CP.
0 Kudos
Steven_L_Intel1
Employee
950 Views
Here's a workaround:

potentialGradient(:,:,:,iDim) &
= real(cshift(potential, shift=1, dim=iDim) &
- cshift(potential, shift=-1, dim=iDim))
0 Kudos
reubendb1
Beginner
950 Views
I am unable to login to Premier Support (I may not have an account there). Everytime I tried to go to there I'm redirected to the error page: https://premier.intel.com/scripts-util/quaderror.htm

Thanks for the workaround, I'm aware of it. I was able to compile the code using other workaround. I just thought that I should report this since it's a compiler error.
0 Kudos
Steven_L_Intel1
Employee
950 Views
I do appreciate your letting us know about it somehow, but I would encourage you to use Intel Premier Support for that purpose. Go to the Intel Registration Center, (re) register your serial number and check the box to register for support.
0 Kudos
Reply