XL Fortran installation and customization


Version [ 4.1 | 6.1 | 7.1 | 10.1 | 11.1 | 13.1 ]

General remarks

In order to avoid trouble with the license manager, some versions (>= 4.x ?) allow to bypass license management, append -qnolm to the configuration file's common option definitions after the DEFLT: label, e.g.:
      options   = ...other options...,-qnolm
Of course you still need a valid license.

4.1

For the version found on the Software Solution CD: use smitty to install straightforward from CD.

6.1

This version found on separate CD is not quite straightforward installable.
  1. Mount the CD, for example:
    mount -r -v cdrfs /dev/cd0 /cdrom
    
  2. Use smitty to install the desired filesets from /cdrom/xlf/installp
  3. Copy documentation
    cp -p -r /cdrom/xlf/html /usr/lpp/xlf/
    cp -p -r /cdrom/xlf/ps   /usr/lpp/xlf/
    cp -p -r /cdrom/xlf/pdf  /usr/lpp/xlf/
    
  4. Modify configuration file /etc/xlf.cfg as appropriate.

7.1

(AIX 4.x/5.x only)
Use smitty to install straightforward from CD.

10.1

(AIX 5.x only)
Use smitty to install straightforward from CD. It seems, however, that not only the Fortran specific filesets are needed, but also the C++ run time.
Configuration file is /etc/xlf.cfg
Unlike earlier versions XL FORTRAN 10.1 does not seem to enforce license management.

11.1

(AIX >5.2)
Use smitty to install straightforward from CD. Install only filesets belonging to the version of AIX you are running on. It seems, however, that not only the Fortran specific filesets are needed, but also the C++ run time.
Unlike earlier versions XL FORTRAN 11.1 does not seem to enforce license management.

Plain XL FORTRAN 11.1 requires AIX 5.2 or 5.3. In order to run it on AIX 6.1 a PTF (apr2008) has to be applied. Browse

IBM Support - Download - Software
Category: Other Software
Subcategory: XL FORTRAN
and download. If the transmission is bad, command line download may be used:
wget -e robots=off ftp://ftp.software.ibm.com/aix/products/ccpp/ptfs/xlf.111.aix52-61.apr2008.ptf.tar.Z
Unpack and update via smitty

Configuration file (for AIX 6.1) and man path:

ln -s /etc/xlf.cfg.61 /etc/xlf.cfg   
export MANPATH=/usr/lpp/xlf/man/en_US:$MANPATH

XL FORTRAN 11.1 comes with a web information server, to be controlled via

/usr/xlhelp/bin/xlhelp      # start eclipse server, in /etc/rc.local  
/usr/xlhelp/bin/xlhelp_end  # stop  eclipse server
Clients may access it via
/usr/lpp/xlf/bin/xlfhelp                # client command, requires Mozilla
http://localhost:9011/help/index.jsp    # URL on local machine
http://server_name:9011/help/index.jsp  # URL on remote machine
PDF docs are found in /usr/lpp/xlf/doc/en_US/pdf/

13.1

Straightforward from CD. No adaption of config file necessary.
Note however, that by the time of this writing (July 2011) patches are necessary to run the compiler (date: 2010) on AIX 7.1.
Last update: 19-Jul-2011, M.Kraemer