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 on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29282 Discussions

Compiler error reading namelist in a subroutine

filippo_ge
Beginner
719 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
720 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
720 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