IBM Support

IY49894: NDI script fails to add path to XLF RT for mpxlf* stanzas

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • I have found a problem with the 8.1.1.0 NDI script. The mpxlf*
    stanzas of the NDI-installed 8.1.1.0 are missing the path to the
    Fortran runtime libraries.
    
    Therefore, the  default-installed Fortran runtime libraries,
    found in  /usr/lib path, are being used.
    
    The 8.1.0.3 NDI script did not forget to add the path to the XLF
    RT libraries.
    
    
    $ cat x.f
            program module
            end program
    $
    
    WORKAROUND:  Modify the xlf.cfg file to add the path to the XLF
    runtime libraries
    
    
    ACTUAL OUTPUT:
    
    8.1.1.0 NDI config file:
    
    * Fortran 90 compiler
    xlf90:    use        = DEFLT
              libraries  =
    -L/home/811compiler/usr/lib,-lxlf90,-lxlopt,-lxlf,-lxlomp_ser,-l
    m,-lc
    
    * PE Fortran, with Fortran 95 behavior
    mpxlf95:  use        = DEFLT
              libraries  =
    -L/usr/lpp/ppe.poe/lib,-L/usr/lpp/ppe.poe/lib/ip,-lmpi,-lvtd,-lx
    lf90,-lxlopt,-lxlf,-lxlomp_ser,-lm,-lc
    
    * PE Fortran, with Fortran 90 behavior
    mpxlf90:  use        = DEFLT
              libraries  =
    -L/usr/lpp/ppe.poe/lib,-L/usr/lpp/ppe.poe/lib/ip,-lmpi,-lvtd,-lx
    lf90,-lxlopt,-lxlf,-lxlomp_ser,-lm,-lc
    
    * PE Fortran, with FORTRAN 77 behavior
    mpxlf:    use        = DEFLT
              libraries  =
    -L/usr/lpp/ppe.poe/lib,-L/usr/lpp/ppe.poe/lib/ip,-lmpi,-lvtd,-lx
    lf90,-lxlopt,-lxlf,-lxlomp_ser,-lm,-lc
    
    
    8.1.1.0 NDI compile check of Hello world:
    
    > xlf x.f
    No licenses available. Contact your program supplier to add
    additional users.  Compilation will proceed shortly.
    ** module   === End of Compilation 1 ===
    1501-510  Compilation successful for file x.f.
    
    > dump -H a.out
    a.out:
                            ***Loader Section***
                          Loader Header Information
    VERSION#         #SYMtableENT     #RELOCent        LENidSTR
    0x00000001       0x00000006       0x0000000e       0x00000038
    
    #IMPfilID        OFFidSTR         LENstrTBL        OFFstrTBL
    0x00000002       0x00000158       0x0000002a       0x00000190
    
                            ***Import File Strings***
    INDEX  PATH                          BASE                MEMBER
    0      /home/811compiler/usr/lib:/usr/lib:/lib
    
    1                                    libc.a              shr.o
    
    > mpxlf x.f
    No licenses available. Contact your program supplier to add
    additional users.  Compilation will proceed shortly.
    ** module   === End of Compilation 1 ===
    1501-510  Compilation successful for file x.f.
    
    > dump -H a.out
    a.out:
                            ***Loader Section***
                          Loader Header Information
    VERSION#         #SYMtableENT     #RELOCent        LENidSTR
    0x00000001       0x00000008       0x00000015       0x00000072
    
    #IMPfilID        OFFidSTR         LENstrTBL        OFFstrTBL
    0x00000004       0x000001dc       0x0000002a       0x0000024e
    
                            ***Import File Strings***
    INDEX  PATH                          BASE                MEMBER
    0
    /usr/lpp/ppe.poe/lib:/usr/lpp/ppe.poe/lib/ip:/usr/lib:/lib
    
    1                                    libc.a              shr.o
    2                                    libmpi.a
    dynamic.o
    3                                    libmpi.a
    mpipoe.o
    
    
    
    EXPECTED OUTPUT:
    
    * PE Fortran, with Fortran 95 behavior
    mpxlf95:  use        = DEFLT
              libraries  =
    -L/home/xlf810/usr/lib,-L/usr/lpp/ppe.poe/lib,-L/usr/lpp/ppe.poe
    /lib/ip,-lmpi,-lvtd,-lxlf90,-lxlopt,-lxlf,-lxlomp
    _ser,-lm,-lc
    
    * PE Fortran, with Fortran 90 behavior
    mpxlf90:  use        = DEFLT
              libraries  =
    -L/home/xlf810/usr/lib,-L/usr/lpp/ppe.poe/lib,-L/usr/lpp/ppe.poe
    /lib/ip,-lmpi,-lvtd,-lxlf90,-lxlopt,-lxlf,-lxlomp
    _ser,-lm,-lc
    
    
    8.1.0.3 NDI compile check:
    
    $ xlf x.f
    No licenses available. Contact your program supplier to add
    additional users.  Compilation will proceed shortly.
    ** module   === End of Compilation 1 ===
    1501-510  Compilation successful for file x.f.
    $ dump -H a.out
    a.out:
                            ***Loader Section***
                          Loader Header Information
    VERSION#         #SYMtableENT     #RELOCent        LENidSTR
    0x00000001       0x00000006       0x0000000e       0x00000033
    
    #IMPfilID        OFFidSTR         LENstrTBL        OFFstrTBL
    0x00000002       0x00000158       0x0000002a       0x0000018b
    
    
                            ***Import File Strings***
    INDEX  PATH                          BASE                MEMBER
    0      /home/xlf810/usr/lib:/usr/lib:/lib
    
    1                                    libc.a              shr.o
    $
    
    $ mpxlf x.f
    No licenses available. Contact your program supplier to add
    additional users.  Compilation will proceed shortly.
    ** module   === End of Compilation 1 ===
    1501-510  Compilation successful for file x.f.
    
    $ dump -H a.out
    a.out:
                            ***Loader Section***
                          Loader Header Information
    VERSION#         #SYMtableENT     #RELOCent        LENidSTR
    0x00000001       0x00000008       0x00000015       0x00000087
    
    #IMPfilID        OFFidSTR         LENstrTBL        OFFstrTBL
    0x00000004       0x000001dc       0x0000002a       0x00000263
    
    
                            ***Import File Strings***
    INDEX  PATH                          BASE                MEMBER
    0
    /home/xlf810/usr/lib:/usr/lpp/ppe.poe/lib:/usr/lpp/ppe.poe/lib/i
    p:/usr/li
    b:/lib
    1                                    libc.a              shr.o
    2                                    libmpi.a
    dynamic.o
    3                                    libmpi.a
    mpipoe.o
    

Local fix

  • add the path to the XLF runtime libraries to the mpxlf* stanzas
    in the xlf.cfg file.
    

Problem summary

  • Same as submitter's text.
    

Problem conclusion

  • It was determined that the NDI install script needs to add the
    path to the NDI-installed XLF runtime libraries to the beginning
    of the mpxlf* stanzas. This has been fixed and will be part of
    the XLF AIX 8.1.1.03 PTF scheduled for November 2003.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IY49894

  • Reported component name

    XL FORTRAN AIX

  • Reported component ID

    5765F7000

  • Reported release

    810

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2003-10-17

  • Closed date

    2003-11-07

  • Last modified date

    2003-11-07

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

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

Modules/Macros

  •    DEFSRXXX
    

Fix information

Applicable component levels

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSB24Z","label":"XL Fortran Enterprise Edition for AIX"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.1","Edition":"","Line of Business":{"code":"LOB73","label":"Power TPS"}}]

Document Information

Modified date:
20 August 2024