Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29348 Discussions

BACKSPACE crossing 4gb boundary results in Error 23

Deleted_U_Intel
Employee
762 Views
We're running:

Compaq Visual Fortran Optimizing Compiler Version 6.6 (Update C)
Compaq Visual Fortran 6.6-4088-47D3B

We have formatted sequential files >4gb that we need to read in reverse using the BACKSPACE command. If the BACKSPACE command is executed when the record to be backspaced spans the 4gb boundary of the file, we get ERROR 23, BACKSPACE ERROR. BACKSPACE seems to work OK when the records are fully contained below 4gb or fully contained above 4gb. Reading forward across the 4gb boundary also works OK. Also seems to work OK for binary sequential records crossing 4gb.

Is there a patch or fix to allow BACKSPACE to work correctly with formatted sequential files when the record spans the 4gb boundary?
0 Kudos
2 Replies
Steven_L_Intel1
Employee
762 Views
There are and will be no more updates to CVF. I'll try this out in Intel Visual Fortran to see if it works - if it doesn't, we'll fix it.
0 Kudos
Steven_L_Intel1
Employee
762 Views
I can confirm that this is broken in CVF 6.6 but that it works in Intel Visual Fortran 8.1.025.
0 Kudos
Reply