- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We found an apparent compiler bugthat causes anI/O addressing error with direct-accessmulti-record files.
We define array sizes in bytes and use the "-assume byterecl" option when compiling. This works fine if a file contains only one record, but for files with more than one record, the "REC=" statement in the READ command appears to be calculating record length in words, not bytes. We have a file that contains one record per month. If we specify REC=1, it reads January's data. For REC=2, it reads May. For REC=3, it reads September. Anything higher than 3 aborts trying to read past the end-of-file.
We've run this same code for yearsusing other FORTRAN compilers with no problem.
Here's the compiler version information:
Intel Fortran Intel 64 Compiler Professional for applications running on Intel 64, Version 11.1 Build 20100203 Package ID: l_cprof_p_11.1.069
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ted

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page