Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.
29306 Discussions

Compiler error reading namelist in a subroutine

filippo_ge
Beginner
764 Views

I'm using version 8.0 of the Intel Fortran Compiler on a PIII PC with a fully updated RedHat 9 operating system installed.

Apparently the compiler is unable to go through
this simple piece of code because of the namelist
reading in the subroutine read_namelist:
!**************************************************
Program test
character (len=60):: title
Namelist /biatch/title

call read_namelist

write(6,*) title

Contains

Subroutine read_namelist
Open(unit=12,file='data.input',status='old')
read(12,biatch)
Close(unit=12)
End Subroutine read_namelist

End Program test
!****************************************************

The compiler crashes with the message:
fortcom: Severe: test.f90, line 13:**Internal compiler error: segmentation violation signal raised**

I had no problems with version 7 and other fortran compilers
(e.g. nag 4.2 and Compaq Fortran V5.5). Any ideas?

Filippo

0 Kudos
2 Replies
Steven_L_Intel1
Employee
765 Views
I've heard of this problem before. Are you running a reasonably current version of the compiler? It compiles ok in the version I have on my system, though that's a bit newer than what's been released. Do try it with 8.0.044 or later.
0 Kudos
filippo_ge
Beginner
765 Views
At the moment I'm running the l_fc_p_8.0.034
version of the compiler which seems to be the
latest one available for non-commercial use.

I suppose I have to wait a little while for
a new version being released.

Filippo
0 Kudos
Reply