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

default value for OPEN statement

timshanahan
Beginner
395 Views
I am a very noviceuser, trying to make a (hopefully) simple modification to another's code. I believe the exe that I have was compiled in Compaq Fortran as any error codes generated are of the form "forrtl: severe (29):". I am trying to compile in Open Watcom 1.0 and done this successfully, however, upon running, I get an error "record size exceeded during unformatted input/output" when trying to open / read a file.
The OPEN statement that is used is:
OPEN(UNIT=EIGNUM, FILE='EIGENRAY.DAT',FORM='UNFORMATTED'
1 , STATUS='OLD')

Watcom's defaults are RECL = 1024 and ACCESS = SEQUENTIAL. I am guessing that Compaq's defaults may be different(?). Can anyone tell me what the defaults are for a Compaq compilation
Can anyone offer some advice as to whether I might be on the right track?
Thanks,
Tim
0 Kudos
0 Replies
Reply