Running the xlf_install utility for a new installation

The xlf_install utility is located in the root directory of the installation image.
Note: Because the xlf_install utility is written in Perl, you must ensure that Perl is installed on your system before you run the utility. See Verifying that the required GNU, Perl, and Java packages are installed.
When you run the xlf_install utility for a new installation, it does the following:
  • Checks for all prerequisite software packages
  • Uninstalls any previously installed XL Fortran components
  • Installs all compiler packages into the default location
  • Automatically invokes the new_install utility, which installs the license file and generates the default 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 install IBM XL Fortran Advanced Edition V10.1 for Linux:
  1. Assuming that the product CD is mounted at the /cdrom location in the system, issue the following commands:
      # cd /cdrom
      # ./xlf_install 
    For additional arguments that you can specify for xlf_install, see xlf_install options.

    If another instance of XL Fortran for Linux is detected on your system, you are prompted to uninstall it.

  2. Confirm that you want to proceed with the uninstallation. If you choose not to uninstall the existing instance of the compiler, the installation process will end.

    If other versions of the XL SMP and IBM MASS packages are detected on your system, either alone or as part of an XL C/C++ Advanced Edition V8.0 for Linux installation, you are prompted to uninstall them.

  3. Confirm that you want to proceed with uninstalling the existing XL SMP and IBM MASS packages. If you choose not to uninstall the previously installed components, the installation process will terminate.
    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.

  4. Read the licensing agreement and licensing information. If you agree to the licensing terms, accept the licensing agreement and licensing information to continue installation.

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

  5. 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
If all packages are successfully installed:
  • A message is displayed confirming the successful installation.
  • The configuration file is generated. Its location is /etc/opt/ibmcmp/xlf/10.1/xlf.cfg. Any previously generated configuration file is renamed and saved in the same directory.
  • The installation log is moved to its permanent location: /opt/ibmcmp/xlf/10.1/xlf_install.log.