AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
#Operatingsystems
#Servers
 View Only
  • 1.  xlf: command not found!!!!

    Posted 12/28/05 01:51 PM

    Originally posted by: SystemAdmin


    dear all,
    I am trying to compile XL Fortran in AIX 5.3. Ibm has provided the Expansion pack CD which has xlfrte9.1 using which I am trying to do the compilation.
    When I install it from the CD then I get the following success mesgs (not the complete list):

    File:
    I:xlfrte 9.1.0.0
    xlfrte 9.1.0.0 (Selected)
    XL Fortran Runtime Environment

    xlfrte.msg.en_US 9.1.0.0 (Selected)
    XL Fortran Runtime Messages - U.S. English

    xlfrte.aix51 9.1.0.0 (Requisite)
    XL Fortran Runtime Environment AIX 5.1 Libraries

    Installing Software...
    -----------------------------------------------------------------------------

    installp: APPLYING software for:
    xlfrte 9.1.0.0

    New volume on /mnt/installp/ppc/xlfrte_9.1:
    Cluster size is 51200 bytes (100 blocks).
    The volume number is 1.
    The backup date is: Sat Aug 14 02:18:32 PAKDT 2004
    Files are backed up by name.
    The user is BUILD.
    The number of restored files is 10.
    x 0 ./usr/lpp/xlf
    x 0 ./usr/lpp/xlf/lib
    x 0 ./usr/lpp/xlf/lib/f90_t
    x 0 ./usr/lpp/xlfrtemsg
    x 15691020 ./usr/lib/derdxft1
    x 85353 ./usr/lib/libxlf.a
    x 8666 ./usr/lib/libxlfutil.a
    x 9260 ./usr/lib/libxlfpthrds_compat.a
    x 19907 ./usr/lpp/xlfrtemsg/xrfmsg.cat
    x 37646 ./usr/lpp/xlfrtemsg/xrfmsg90.cat
    The total size is 15851852 bytes.
    Filesets processed: 1 of 3 (Total time: 6 secs).

    installp: APPLYING software for:
    xlfrte.msg.en_US 9.1.0.0

    New volume on /mnt/installp/ppc/xlfrte.msg.en_US_9.1:
    Cluster size is 51200 bytes (100 blocks).
    The volume number is 1.
    The backup date is: Sat Aug 14 02:18:16 PAKDT 2004
    Files are backed up by name.
    The user is BUILD.
    The number of restored files is 2.
    x 19907 ./usr/lib/nls/msg/en_US/xrfmsg.cat
    x 37646 ./usr/lib/nls/msg/en_US/xrfmsg90.cat
    The total size is 57553 bytes.
    Filesets processed: 2 of 3 (Total time: 7 secs).

    installp: APPLYING software for:
    xlfrte.aix51 9.1.0.0
    . . . . . << Copyright notice for xlfrte.aix51 >> . . . . . . .
    Licensed Materials - Property of IBM

    Cluster size is 51200 bytes (100 blocks).
    The volume number is 1.
    The backup date is: Sat Aug 14 02:18:28 PAKDT 2004
    Files are backed up by name.
    The user is BUILD.
    The number of restored files is 13.
    x 0 ./usr/lpp/xlf
    x 0 ./usr/lpp/xlf/lib
    x 0 ./usr/lpp/xlf/lib/aix51
    x 0 ./usr/lpp/xlf/lib/aix52
    x 0 ./usr/lpp/xlf/lib/aix53
    x 12311066 ./usr/lpp/xlf/lib/aix51/libxlf90_r.a
    x 12020613 ./usr/lpp/xlf/lib/aix51/libxlf90_t.a
    x 9623 ./usr/lpp/xlf/lib/aix51/libxlfpmt4_r.a
    x 8991 ./usr/lpp/xlf/lib/aix51/libxlfpmt4_t.a
    x 18823 ./usr/lpp/xlf/lib/aix51/libxlfpmt8_r.a
    x 17471 ./usr/lpp/xlf/lib/aix51/libxlfpmt8_t.a
    x 36095 ./usr/lpp/xlf/lib/aix51/libxlfpad_r.a
    x 35463 ./usr/lpp/xlf/lib/aix51/libxlfpad_t.a

    Installation Summary

    Name Level Part Event Result

    xlfrte 9.1.0.0 USR APPLY SUCCESS
    xlfrte.msg.en_US 9.1.0.0 USR APPLY SUCCESS
    xlfrte.aix51 9.1.0.0 USR APPLY SUCCESS

    -------------end---------------

    As is clear from the above commands there is no binary generated in the /usr/bin. Also /usr/lpp/xlf has only lib directory having many files with .a extension. Also some library files are included in the /usr/lib which are as follows:

    bash-3.00# ls libxlf*
    libxlf.a libxlfpad_r.a libxlfpmt8.a
    libxlf90.a libxlfpad_t.a libxlfpmt8_r.a
    libxlf90_r.a libxlfpmt4.a libxlfpmt8_t.a
    libxlf90_t.a libxlfpmt4_r.a libxlfpthrds_compat.a
    libxlfpad.a libxlfpmt4_t.a libxlfutil.a

    also /usr/lib/objrepos contains the object files...
    With whatever information I could gather by now, I guess I am now supposed to link the library files using ld which will then generate the executable in the /usr/bin like xlf90, xlf95, f77 etc...

    Kindly help me and guide me as to what should I do in order to make this fortran compiler work as this is the first dependency for the software in which I am interested?
    Also the documentation states that bos.adt.libm is also required for the compilation of xlfrte 9.1 but the system doesnt have this rpm as well (i have checked it using lslpp -l bos.adt.libm) but since the compilation doesnt give the prereq error while installing xlf from the CD using smit and otherwise also so i really do not know if this is the real cause of the problem.

    Eagerly waiting for the AIXperts views,
    Regards,
    MzZt
    #AIX-Forum


  • 2.  Re: xlf: command not found!!!!

    Posted 12/28/05 02:59 PM

    Originally posted by: SystemAdmin


    Hello...

    If you are looking for a Fortran compiler, you haven't installed all the required filesets. From your listing, it appears that you've only installed the runtime portion; this will allow you to run programs built with xlf, but not actually compile them. This also explains the lack of binaries (such as xlf in /usr/bin).

    If you want to try out the IBM XLF compiler, you can get a trial version at the following URL:

    http://www14.software.ibm.com/webapp/download/product.jsp?s=p&id=TDUN-49EVM7

    I don't recall if a trial version of the compiler is provided on the Expansion Pack or not, but you want to find a fileset(s) named xlfcmp.*

    Lastly, you can find bos.adt.libm on your base AIX media. It's supplied in installp format and not rpm; realise that lslpp -l simply lists what's installed. It appears that you haven't installed it.

    Hope that helps!

    P.
    #AIX-Forum


  • 3.  Re: xlf: command not found!!!!

    Posted 12/29/05 06:18 AM

    Originally posted by: SystemAdmin


    Dear P. :)

    Thanks a lot for your reply. I have downloaded the XLF 10.1 from the link which you had posted but the problem is I am unable to locate the bos.adt.libm. Though many of the google pages says that it comes with the bos.adt fileset but then I have not been provided with any of the CD's except for the Expansion pack and the AIX tools for linux.

    Eagerly waiting for you response,
    MzZt
    #AIX-Forum


  • 4.  Re: xlf: command not found!!!!

    Posted 12/29/05 08:53 AM

    Originally posted by: SystemAdmin


    Dear MzZt...

    You now have a bigger problem; bos.adt is a base level AIX fileset and is not available anywhere other than on the base AIX CDs. If the system you are working on does not have the fileset installed, you will need the AIX CDs in order to get it.

    I suggest you contact the person who sold/gave you the system and ask them to provide you with AIX CDs. Otherwise, contact your local pSeries sales team and they may be able to help you.

    Regards,

    P.
    #AIX-Forum


  • 5.  Re: xlf: command not found!!!!

    Posted 12/30/05 10:43 AM

    Originally posted by: SystemAdmin


    Dear P. :)

    Hie,

    Almost whole day I spent to look for the AIX installation CDs and I found them (yipeeee).....got the bos.adt.libm installed and there it is, the binaries I had been looking for, since past few days, thanks a lot to you really! :)

    Another problem creeped up but!!! Now I want to use the parallel environment which is inbuilt and google pages as well as when I try to do some parallel compilation on the system, it reports that ppe.poe is missing. (/usr/lpp/ppe.poe/include).

    I tried looking for this fileset in the AIX CDs (a pack of 8) but didnt find it there. Am I not looking for it properly or is it that I have to look for some other CD now?

    Kindly suggest me something,
    Eagerly waiting,
    MzZt
    #AIX-Forum


  • 6.  IBM Parallel Environment (was Re: xlf: command not found!!!!)

    Posted 12/30/05 11:03 AM

    Originally posted by: SystemAdmin


    Hello MzZt...

    Glad to hear we've now moved on a different problem...:)

    The Parallel Environment for AIX 5L is a separate product from AIX (if you want a pretty good description of what it's used for, look here: http://www-03.ibm.com/systems/p/software/pe.html).

    As such, the product filesets aren't included on the AIX 5L media and are only available if you purchase the actual product (i.e. you'll get a CD). I spend quite a bit of time working with these products, and I've never seen a trial version of PE available for download.

    If you are in fact conducting a trial, you should contact whoever gave you the system and AIX and ask them to get you a trial copy of PE.

    P.
    #AIX-Forum


  • 7.  Re: IBM Parallel Environment (was Re: xlf: command not found!!!!)

    Posted 01/05/06 04:13 PM

    Originally posted by: SystemAdmin


    Dear P.
    Hie,
    Thanks again for your mail. :)

    You would be glad to hear that I have moved further. :) The software i.e. charmm (a molecular-simulation package) which I had been trying to compile on the system in the parallel environment is, probably, successful!
    ([b]probably[/b] because some ifs and buts are still left, but will be resolved soon).

    Actually, right now we cannot purchase AIX parallel environment, so I found out from many other places that people run MPICH also on AIX and with charmm too,and hence I have installed mpich-1.2.4 on the aix and ran the examples too to verify my installation of mpich.

    The examples are working fine, but I observe a strange behaviour, with increase in the number of cpu the process becomes slow, or to put it in other words the communication among the cpu appears to be a problem.

    This I observe for the test runs of mpich as well test runs of charmm.

    I do not know if mpich is causing this problem or some other reason is responsible for it!
    Kindly suggest me something regarding this too,
    Eagerly Waiting,

    MzZt.
    #AIX-Forum