Turing: Write or read a Fortran IEEE little-endian binary file

Turing uses the big endian convention to store binary data (unlike most other current architectures). If you want to read or write files with the little endian format, it is possible.

In order to write or read a Fortran IEEE little-endian binary file, it is necessary to use the environment variable  XLFRTEOPTS.

Example of writing a FORTRAN IEEE little-endian binary file on unit 12:

$ mpixlf90_r -o prog_little_endian prog_little_endian.f90
$ runjob --ranks-per-node 16 --np 1024 --envs ''XLFRTEOPTS=ufmt_littleendian=12'' : ./prog_little_endian

For more information, click , here