Errors in reading the large files in intel fortran compiler

Errors in reading the large files in intel fortran compiler

Hello

I am having the problem to read the files using the FORTRAN90 in intel compiler.

When I try to readthe 4-byte 5800*2800 array datasets using the simple open-read program, it reads well in the Sun Machine with Sun Compiler. Butsame codedoes not work for LINUX in intel compiler with the following error:

-------------------------------------------------------------------------------------
node1:~/test> a.out
forrtl: severe (36): attempt to access non-existent record, unit 2, file /home/matsuit/test/2000169.Lai_QC_1km.dat
Image PC Routine Line Source
a.out 08068C41 Unknown Unknown Unknown
a.out 0804B291 Unknown Unknown Unknown
a.out 0804B888 Unknown Unknown Unknown
a.out 0805B634 Unknown Unknown Unknown
a.out 0805AC75 Unknown Unknown Unknown
a.out 0804A04C Unknown Unknown Unknown
a.out 0804A0DC Unknown Unknown Unknown
a.out 400927DA Unknown Unknown Unknown
a.out 00000000 Unknown Unknown Unknown
--------------------------------------------------------------------------------------

At least, this size of data should not be the problem for linux's memory (2Gbytes). Do I need the specific fortran compiler flag to solve this?

Could anyone solve this issue??

Toshihisa Matsui

1 post / 0 new
For more complete information about compiler optimizations, see our Optimization Notice.