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