I need to read an unformatted file created by a third party application. The file is written with big_endian byte ordering. Can I read this file with the Salford FTN95 compiler ? I can't seem to find an appropriate switch.
-SS
Welcome to our forums
I need to read an unformatted file created by a third party application. The file is written with big_endian byte ordering. Can I read this file with the Salford FTN95 compiler ? I can't seem to find an appropriate switch.
-SS
There is no switch to enable standard Fortran reads in big endian format however, it is possible to read any file in binary format using the Salford routine READF@. You can then perform operations as needed on the binary input, swapping to little endian if you need that.