About this task
When
you run the
xlf_install utility
for a new installation, it performs the following tasks:
- Checks for all prerequisite software packages
- Uninstalls any previously installed XL Fortran runtime
package and SMP runtime package
- Installs all compiler packages into the default location, /opt/ibm/,
except for the Fortran runtime package and SMP runtime package,
which are installed into the /opt/ibmcmp/ directory
- 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 for Linux, V15.1:
- If the product CD is mounted at the /cdrom directory
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 IBM XL Fortran for Linux is
detected on your system in the same installation directory,
you are prompted to uninstall the Fortran runtime package and
SMP runtime package. Confirm that you want to proceed with the
uninstallation. If you choose not to uninstall the existing Fortran runtime package and SMP runtime package,
the installation process will end.
- If other versions of the IBM SMP
and MASS packages are detected on your system either alone
or as part of an installation of IBM XL C/C++ for Linux, V13.1, you
are prompted to uninstall them. Confirm that you want to proceed with
uninstalling the existing IBM SMP
and MASS packages. If you choose not to uninstall the previously
installed components, the installation process will end.
Note: xlf_install uninstalls
these packages from their existing location and reinstalls them to
the default location, /opt/ibmcmp/. Therefore, if they were previously installed in a nondefault
location as part of an IBM XL C/C++ installation,
you must run xlc_configure to reconfigure the IBM XL C/C++ compiler
to point to the default location for these packages. For procedures,
see "Running the xlc_configure utility directly" in
the IBM XL C/C++ for Linux, V13.1 Installation
Guide.
- You are presented with the license agreement and licensing information.
Read the license agreement and licensing information. If you agree
to the licensing terms, accept the license agreement to
continue installation.
You are prompted to create symbolic links
for the compiler invocations in the /usr/bin/ directory.
- Optionally, create the symbolic links.
If you chose
to create symbolic links, the following links are created in the /usr/bin/ subdirectory:
- xlf
- xlf90
- xlf95
- xlf2003
- xlf2008
- xlf_r
- xlf90_r
- xlf95_r
- xlf2003_r
- xlf2008_r
If all packages are successfully installed:
- The xlf_install Perl script
returns 0 and the following messages are displayed confirming
the successful installation:
"IBM XL Fortran for Linux, V15.1" Version 15.1.0.0 has been
successfully installed and configured under prefix "/opt/ibm".
"IBM XL Fortran for Linux, V15.1" Version 15.1.0.0 has been
successfully installed.
Note: NLS is not supported for
messages that are issued by the xlf_install utility.
- The
configuration file is generated. Its location is /opt/ibm/xlf/15.1.0/etc/xlf.cfg.$OSRelease.gcc$gccVersion.
For example, /opt/ibm/xlf/15.1.0/etc/xlf.cfg.sles11.gcc432 or /opt/ibm/xlf/15.1.0/etc/xlf.cfg.rhel6.2.gcc446.
- The installation log is moved to its permanent location: xlf/15.1.0/xlf_install.log.