LI77527: ENABLE -QNOSAVE AS THE DEFAULT FOR _R INVOCATION

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Currently, "All compiler command invocations except f77,
    fort77, xlf, xlf_r and xlf_r7 use -qnosave by default."
    
    With -qsmp=omp or the _r invocation, -qnosave is required. If a
    user forgot to specify -qnosave with -qsmp=omp or _r invocation
    compilations, the multithreaded program might malfunction at
    runtime. It's not obvious to debug such failures.
    

Local fix

  • Specify -qnosave as required.
    

Problem summary

  • PROBLEM DESCRIPTION: XL Fortran enables the -qsave and
    -qxlf77=persistent options by default in the xlf_r invocation.
    These
    options store some entities in static storage, which is not
    thread-safe.  The compiler reference
    recommends against using this invocation for threaded programs
    without explicitly specifying
    -qnosave / -qxlf77=nopersistent.  The compiler does not warn
    the user directly, however.
    USERS AFFECTED: Users of the xlf_r and related invocations
    

Problem conclusion

  • XL Fortran xlf_r and bgxlf_r invocations have been changed to
    enable -qnosave or -qxlf77=nopersistent by default. The change
    ensures thread safety for these commands.  If your threaded
    program requires -qsave or -qxlf77=persistent, specify these
    options explicitly.
    Refer to this Technote for more information on the change and
    possible side effect:
    http://www-01.ibm.com/support/docview.wss?uid=swg21656184
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI77527

  • Reported component name

    XL C/C++ FOR BG

  • Reported component ID

    5799AG100

  • Reported release

    E10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-07-30

  • Closed date

    2013-11-26

  • Last modified date

    2013-11-27

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

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

    IV52451 LI77701 LI77705

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

Add comments

Document information


More support for:

XL Fortran for Blue Gene/Q

Software version:

ALL VERSIONS

Reference #:

LI77527

Modified date:

2013-11-27

Translate my page

Machine Translation

Content navigation