[MITgcm-support] Intel Fortran 8.1: -assume byterecl
Jason Goodman
jgoodman at whoi.edu
Thu Jan 20 14:35:30 EST 2005
I'm building MITGCM with Intel Fortran 8.1, and ran into a problem
trying to run the verification tests:
(PID.TID 0000.0001) MDSREADFIELD: opening global file: topog.box
forrtl: severe (36): attempt to access non-existent record, unit 9,
file /home/goodmanj/mitgcm/verification/exp1/input/topog.box
It turns out that Intel Fortran 8.1 assumes that in an
OPEN(RECL=length) statement, the record length is in units of 4 bytes,
instead of 1 byte as assumed by Intel v7, gcc, Portland, and other
compilers. To fix this, I added
-assume byterecl
to the FFLAGS line of the MITGCM build options file.
More information about the MITgcm-support
mailing list