Reading writing fortran direct access unformatted files with different compilers

Ifort and gfortran do not use the same block size for record length by default. In ifort, the value of recl in your open statement is in 4-byte blocks, so your record length isn’t 985,600 bytes, it is 3,942,400 bytes long. That means the records are written at intervals of 3.9 million bytes. gfortran uses … Read more