byteswap I/O

byteswap I/O


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

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

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.


Retired 12/31/2016

Leave a Comment

Please sign in to add a comment. Not a member? Join today