Running the xlf_install utility to update a basic installation

You can use the xlf_install utility to update XL Fortran V10.1 for Linux when all the following conditions have been met:
  • The base version of XL Fortran V10.1 for Linux is already successfully installed in the /opt/ibmcmp/ directory.
  • The update package (in tar.gz format) has been uncompressed and unpacked in the /home/root/ directory of the system.
When you run the xlf_install utility to apply an update, it does the following:
  • Checks for all prerequisite software packages
  • Uninstalls XL Fortran V10.1 for Linux packages
  • Installs updated compiler packages into the default location
  • Automatically invokes the new_install utility, which installs the license file, renames the old configuration file, and generates a new configuration file
  • Optionally creates symbolic links in /usr/bin/ to the compiler invocation commands
  • Generates an installation log in the /tmp/ directory
To run the xlf_install utility to apply an update for IBM XL Fortran Advanced Edition V10.1 for Linux:
  1. Change to the directory in which you have unpacked the update package:
     # cd /home/root/update/xlf/mmmYYYY
    where mmmYYYY is the month and year of the update shipment date. (For example, jun2006 indicates a shipment date in June of 2006.)
  2. Issue the following command:
     # ./xlf_install -U 
    For additional arguments that you can specify for xlf_install, see xlf_install options.

    You are prompted to uninstall any previously installed XL Fortran V10.1 for Linux packages.

  3. Confirm that you want to proceed with uninstalling the outdated packages.

    You are prompted to uninstall any XL SMP and IBM MASS packages that were previously installed with XL Fortran V10.1 for Linux.

  4. Confirm that you want to proceed with uninstalling the existing XL SMP and IBM MASS packages.
    Note: xlf_install will uninstall these packages from their existing location and reinstall them to the default location, /opt/ibmcmp/. Therefore, if they were previously installed in a non-default location as part of an XL C/C++ for Linux installation, you will need to run vac_configure to reconfigure the XL C/C++ compiler to point to the default location for these packages. For procedures, see "Running the vac_configure utility directly" in the XL C/C++ Advanced Edition V8.0 for Linux Installation Guide.

    You are presented with the licensing agreement and licensing information.

  5. Accept the licensing agreement and licensing information.

    You are prompted to create symbolic links for the compiler invocations in the /usr/bin/ directory.

  6. Optionally, create the symbolic links.
    Note: An alternative to this step is to add the path that contains the compiler invocations to the PATH environment variable. See Setting the PATH environment variable to include the path to the compiler invocations.
    If you chose to create symbolic links, the following links are created in the /usr/bin/ subdirectory:
    • xlf
    • xlf_r
    • xlf90
    • xlf90_r
    • xlf95
    • xlf95_r
    Note: Some command links are not created in /usr/bin/, either because they might delete user-defined or GCC-related invocations, or because they are not compiler invocation commands. These include:
    • f77, f90, f95, fort77
    • cleanpdf, mergepdf, new_install, resetpdf, showpdf, xlf_configure
  7. If you customized the previously generated configuration file, manually edit /etc/opt/ibmcmp/xlf/10.1/xlf.cfg to replicate those changes in the newly generated configuration file.