IBM Support

LI77664: INCORRECT OMP REDUCTION CLAUSE ERROR

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The XL Fortran compiler is incorrectly flagging an OMP REDUCTION
    statement as an error:
    
     !$omp    reduction(+:x)
    
    
    "tmp.f90", line 12.6: 1515-095 (E) If a variable is specified in
     a REDUCTION clause with a reduction operator or function, any
    use of that variable must be in a reduction statement.
    

Local fix

Problem summary

  • PROBLEM DESCRIPTION:
    XL Fortran diagnoses reduction statements that do not follow
    the forms:
    
    x = x op expr
    x = expr op x   (except for subtraction)
    x = intr(x, expr_list)
    x = intr(expr_list, x)
    
    These forms, however, are not required by the OpenMP
    specification.
    
    USERS AFFECTED:
    Users of XL Fortran with programs containing OpenMP reduction
    clauses that don't follow the forms above.
    

Problem conclusion

  • XL Fortran no longer forces reduction statements to have one of
    the forms above.
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI77664

  • Reported component name

    XL FORTRAN LINU

  • Reported component ID

    5725C7500

  • Reported release

    E10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-10-28

  • Closed date

    2013-10-28

  • Last modified date

    2013-10-28

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

    LI77443

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

Fix information

  • Fixed component name

    XL FORTRAN LINU

  • Fixed component ID

    5725C7500

Applicable component levels

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSAT4T","label":"XL Fortran for Linux"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"14.1","Line of Business":{"code":"LOB57","label":"Power"}}]

Document Information

Modified date:
14 October 2021