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

Big-endian conversion with direct access

katsuyu
Beginner
748 Views
I cannot read a Big-endian binary file when reading the file with direct-access mode. When reading normally, endian conversion is successfully done.
Why?
0 Kudos
3 Replies
Steven_L_Intel1
Employee
748 Views
The documentation for this feature says "unformatted sequential files" - no direct access. This feature will be enhanced in future versions to allow its use in direct access as well.

Steve
0 Kudos
slowder
Beginner
748 Views
I have read the section on Big-Little Endian conversion
in the Intel Fortran Compiler User's Guide for version
6.0 and 7.0(pgs 96-99) and do not see any mention of
"unformatted sequential files". I do see unformatted files mentioned. Do you have a different reference I should read that mentions "unformatted sequential files".
Thanks.
0 Kudos
Steven_L_Intel1
Employee
748 Views
The detailed information indeed does not say "sequential" - however the summary under "New Features" on page 14 of the PDF file (in my copy) does. I can understand your confusion on this topic - the restriction should have been stated in both places.

Steve
0 Kudos
Reply