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

byteswap I/O

pedro_gonnet
Beginner
1,728 Views

Hello,

I need to share binary output files with FORTRAN programs compiled with the Portland Group's pgf90 using the -Mbyteswap option, which basically reverses the byte-order of all basic types. Is there any such switch for the Intel Fortran Compiler?

Many Thanks
Pedro
0 Kudos
1 Reply
Steven_L_Intel1
Employee
1,728 Views
Yes - at present it's done through an environment variable at run-time. See the Intel Fortran for Linux User Guide description of "big-endian" I/O support. In a future release, there will be switches and OPEN options.

Steve
0 Kudos
Reply