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

Endianess bug

glenn-allan
Beginner
360 Views
Implied loops in a WRITE statement does not obey theCONVERT='big_endian' specification in the OPEN statement. Changing the program to use a DO-loop instead of the implied loop solves the problem. See attached program.
Using 10.1.013 (same problem with fc and fce) on a RH 5.5 system.
Compile command:
ifort write_error.f
but also tried with a couple of compiler option combinations without success.
0 Kudos
2 Replies
Steven_L_Intel1
Employee
360 Views
I tried this with a current (12.0) version and the files were the same. You are using a very old compiler - please update.
0 Kudos
mecej4
Honored Contributor III
360 Views
I tried the 10.0 and 10.1 compilers for IA64 Linux, and did not encounter the error.
0 Kudos
Reply