Developer Guide and Reference

ID 767251
Date 10/31/2024
Public
Document Table of Contents

Port Non-Native Data

When porting non-native data, consider the following:

  • Vendors might use different units for specifying the record length (RECL specifier) of unformatted files. While formatted files are specified in units of characters (bytes), unformatted files are specified in longword units for Intel® Fortran (default) and some other vendors.

    To allow you to specify RECL units (bytes or longwords) for unformatted files without source file modification, use the assume byterecl compiler option.

  • Certain vendors apply different OPEN statement defaults to determine the record type. The default record type (RECORDTYPE) with Intel® Fortran depends on the values for the ACCESS and FORM specifiers for the OPEN statement.

  • Certain vendors use a different identifier for the logical data types, such as hex FF and hex 00 instead of 01 to denote .TRUE. and .FALSE. See the fpscomp logicals compiler option.

  • Source code being ported may be coded specifically for big endian use.

See Also