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

compile problem with variable expressions in formats

xgli
Beginner
683 Views
Has anyone here experienced compiling problem with use of "variable expressions in formats"? Following is the exact error message:
0_0
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.
in file problem1.for, line 12, column 20 compilation aborted for problem1.for (code 3)
problem1.for is very simple:
SUBROUTINE ASSEM()
c
real(8) r
integer m
c
m = 6
r = 1.0D0
r = 2.0D0
r = 3.0D0
r = 4.0D0
IF (r .GT. 0.0D0) THEN
111 format(1x,F.2)
write(*,111) r
ENDIF
c
RETURN
END
If I remove any assigning statement for variable r or the condition statement, it compiles, strange?
-xli
0 Kudos
5 Replies
Lorri_M_Intel
Employee
683 Views
Based on the error message, I'm assuming this is with some version of ifort. Can you give us some clues about which platform, which version of ifort, etc? I wasn't able to reproduce the failure with a fairly recent version.
thanks -
- Lorri
0 Kudos
xgli
Beginner
683 Views
OS:
Kernel version: Microsoft Windows XP, Multiprocessor Free
Product type: Professional
Product version: 5.1
Service pack: 1
Kernel build number: 2600
iFORT:
Intel Fortran Compiler for 32-bit applications, Version 8.0 Build 20031017Z
-xli
0 Kudos
xgli
Beginner
683 Views
One more clue: it only happens in release build.
-xli
0 Kudos
TimP
Honored Contributor III
683 Views
There's no reason to be running a version of the compiler more than a year old. Even with an evaluation license, you could download a current version.
0 Kudos
xgli
Beginner
683 Views
We bought Intel Fortran compiler half year ago andstarted toswitch from CVF for our FORTRAN programs now.We just realized IVF is in version 8.1 yesterday and will try the new version soon after sort out the license and installation. Hope theproblem will be gone. Thanks.
-xli
0 Kudos
Reply