Updating from ivf compiler version 16 to version 17 (17.0.1.143) has caused some strange behavior when writing/reading from files.
A file is opened written to and read with the following:
open(unit=17,file=path/name.ext,& access='sequential',form='unformatted',status='unknown',& action='readwrite') write(17) some_large_record (around 36000 4-byte words) ... rewind 17 read(17) some_large_variable
No problems occur using the compiler version 16. But with version 17 I get the following error when reading from the file:
"forrtl: severe (67): input statement requires too much data, unit 17"
Adding the recl=40000 to the open statement removes the problem, but since this approach is used a lot throughout the code, I would like to know the source of the problem.
Setting recl=30000 gives me a meaningful error when writing to the file ("output statement overflows record") which does not occur when leaving out recl.