IBM Support

LI81607: UNABLE TO MAP DERIVED TYPES TO GPU DEVICE IN OPENMP DECLARE TARGET

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • When using derived types required by device functions it ends
    with a warning messages.
    
    
    
    ===== COMPILE COMMAND:
    mpixlf -qsmp=omp -qoffload -c getminmax.f90
    
    
    
    ===== TESTCASE:
    $ cat getminmax.f90
    MODULE FOO
    !====================================
    USE iso_c_binding
    
    !$omp declare target
    
    TYPE maxloc_type
    REAL(c_double) :: maxval = -1.0D100
    INTEGER(c_int), DIMENSION(3) :: maxindex = (/0,0,0/)
    END type maxloc_type
    
    TYPE minloc_type
    REAL(c_double) :: minval = 1.0D100
    INTEGER(c_int), DIMENSION(3) :: minindex = (/0,0,0/)
    END type minloc_type
    
    
    ===== ACTUAL OUTPUT:
    "" 1586-367 (I) "minloc_type__xlf_minindex0" referenced global
    symbol not marked declare target.
    "" 1586-367 (I) "maxloc_type__xlf_maxindex0" referenced global
    symbol not marked declare target.
    
    
    ===== EXPECTED OUTPUT:
    Should compile cleanly
    

Local fix

  • N/A
    

Problem summary

  • USERS AFFECTED:
    Users who use derived types required by device functions in
    their testcases are affected by this issue.
    
    PROBLEM DESCRIPTION:
    The comiler is saying that the optimizer found that this temp
    is needed on the device and so it made it available on the
    device; and hence issues the informational message.
    

Problem conclusion

  • The compiler optimizer has been corrected to fix this scenario.
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI81607

  • Reported component name

    XL FORTRAN LINU

  • Reported component ID

    5725C7510

  • Reported release

    G11

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-07-14

  • Closed date

    2020-11-04

  • Last modified date

    2020-11-04

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

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

Fix information

  • Fixed component name

    XL FORTRAN LINU

  • Fixed component ID

    5725C7510

Applicable component levels

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

Document Information

Modified date:
05 November 2020