10 Feb 11:08
gfortran47, pgf90 work - ifort segfaults
Anton Shterenlikht <mexas <at> bristol.ac.uk>
2012-02-10 10:08:40 GMT
2012-02-10 10:08:40 GMT
On Linux 2.6.18-194.32.1.el5 #1 SMP x86_64 x86_64 x86_64 I've 3 compilers: Portland: pgf90 11.10-0 64-bit target on x86-64 Linux -tp penryn GCC: 4.7.0 20120128 Intel: 12.0.2 20110112 The code below segfaults only when compiled with Intel compiler. Before blaming an Intel compiler bug, what could be wrong with this code: bigblue4> cat z.f90 program z integer,parameter :: ou=101 integer :: space1(0:201,0:201,0:201) space1=12345 open(unit=ou,file="test", form="unformatted", & access="stream", status="replace") write(unit=ou) space1(1:201,:,:) close(unit=ou) end bigblue4> gfortran z.f90 bigblue4> ./a.out(Continue reading)
RSS Feed