Sorry, this is not really a specifically Beowulf issue (although the problem
program is trying to run on a Beowulf). But I hope that someone here
may be familiar with the idiosyncrasies of Fortran compilers?
I'm trying to read a raw binary file in a Fortran program. Using Gnu
(gfortran) or PGI fortran I can do it with a simple loop as shown in this test
read (19,rec=icells) cell
end program testread
I.e. unformatted with direct access and a fixed record length gives me
raw byte access. But someone has now tried my program with the Intel
compiler, and they report an error:
forrtl: severe (36): attempt to access non-existent record, unit 19,
The file in question is long enough that the end of file should not
be encountered, so that does not seem to be the problem.
Am I right in guessing that my raw binary read trick does not work
on Intel Fortran? Is there another option I need to pass
(e.g. perhaps form='binary')?