I’m trying to run old code on the PGI Fortran compiler and it does not like the option recordtype in this statement:
open(12,file=‘blah.dat’,form=‘unformatted’, status=‘old’,recl=239, recordtype=‘fixed’, readonly)
I’m trying to read sequentially from a binary file. When I remove the recordtype=‘fixed’ option and try to specify the record length using recl=52 I get a runtime error from the read statement.
Does anyone know the equivalent syntax for recordtype=fixed in the PGFortran compiler?