Skip to main content

LI77122: large record in program may cause wrong output


Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In 64-bit mode, if user attempts to write more than 2**31 bytes
    in a single unformatted record using the default value for the
    UWIDTH option (32), no error is emitted, and the record marker
    will overflow.
    

Local fix

  • The program should be run with UWIDTH=64.  If that's done, there
    is no error and no overflow.
    

Problem summary

  • In 64-bit mode, if you attempt to write more than 2**31 bytes
    in a single unformatted record using
    the default value for the UWIDTH option (32), no error is
    emitted, and the record marker will overflow.
    The cause of the problem is that with UWDITH=32, the record
    marker used by XLF is a 4 byte signed
    integer.  It therefore imposed a record limit of 2**31 - 1.
    Programs that require larger records must
    use the UWIDTH=64 option which uses 8-byte records.
    

Problem conclusion

  • The problem had been fixed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI77122

  • Reported component name

    XL FORTRAN FOR

  • Reported component ID

    5799AH100

  • Reported release

    E10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-11-29

  • Closed date

    2013-02-21

  • Last modified date

    2013-03-04

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

    IV37621 LI77372

Fix information

  • Fixed component name

    XL FORTRAN FOR

  • Fixed component ID

    5799AH100

Applicable component levels

  • RE10 PSY

       UP

Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

XL Fortran for Blue Gene/Q


Software version:
ALL VERSIONS


Reference #:
LI77122


Modified date:
2013-03-04

Translate my page

Content navigation