This section provides procedures for two possible installation scenarios:
Note that in both of these scenarios, it is highly recommended that you uninstall any previous versions of the compiler from your system before installing any new versions; for uninstallation procedures, see Uninstalling XL Fortran.
To install all compiler packages to a single non-default directory, ensure that your current working directory contains all of the packages for XL Fortran V10.1 for Blue Gene and no other RPM packages. From your current working directory, use the following command:
rpm -ivh *.rpm --prefix installation_path
where installation_path is a directory that is not /opt/ibmcmp/.
For highly specialized situations only, you might need to install different packages to different locations.
Table 9 provides information about which packages must be installed together in the same directory and which can be installed in any directory.
Package Name | Package Description | Rules for installation to a non-default location |
---|---|---|
xlsmp.bg.msg.rte | XL SMP runtime messages | All SMP packages must be installed in the same location. For the remainder of this document, the name xlsmprt_path is used to refer to this location. |
xlsmp.bg.rte | XL SMP runtime dynamic libraries | |
xlsmp.bg.lib | XL SMP runtime static libraries | |
xlmass.bg.lib | IBM Mathematical Acceleration Subsystem (MASS) libraries | Any location. For the remainder of this document, the name xlmass_path is used to refer to this location. |
xlf.bg.rte | XL Fortran runtime environment | All XL Fortran runtime packages must be installed in the same location. For the remainder of this document, the name xlrte_path is used to refer to this location. |
xlf.bg.rte.lnk | XL Fortran runtime environment links | |
xlf.bg.msg.rte | XL Fortran runtime environment messages | Must be installed in the same location as the other runtime packages above. |
xlf.bg.lic | XL Fortran license | Any location. For the remainder of this document, the name lic_path is used to refer to this location. |
xlf.bg.lib | XL Fortran compiler libraries | All XL Fortran compiler and library packages must be installed in the same location. For the remainder of this document, the name xlcmp_path is used to refer to this location. |
xlf.bg.cmp | XL Fortran compiler files | |
xlf.bg.samples | XL Fortran samples | Any location (optional). For the remainder of this document, the name smpls_path is used to refer to this location. |
xlf.bg.help | XL Fortran documentation | Any location (optional). For the remainder of this document, the name doc_path is used to refer to this location. |
To install a relocatable RPM package to any location other than the default location, issue the following command for each group of packages you want to install to a non-default directory:
rpm -ivh package --prefix package_installation_path
where package_installation_path is a directory other than /opt/ibmcmp/, and corresponds to one of the appropriate paths listed in Table 9.
In order to avoid dependency errors during installation of XL Fortran V10.1 for Blue Gene, issue the following commands in the order given:
rpm -ivh xlsmp.bg.msg.rte-1.6.0-0.ppc64.rpm --prefix xlsmprt_path rpm -ivh xlsmp.bg.rte-1.6.0-0.ppc64.rpm --prefix xlsmprt_path rpm -ivh xlsmp.bg.lib-1.6.0-0.ppc64.rpm --prefix xlsmprt_path rpm -ivh xlmass.bg.lib-4.3.0-0.ppc64.rpm --prefix xlmass_path rpm -ivh xlf.bg.msg.rte-10.1.0-0.ppc64.rpm --prefix xlrte_path rpm -ivh xlf.bg.lic-10.1.0-0.ppc64.rpm --prefix lic_path rpm -ivh xlf.bg.lib-10.1.0-0.ppc64.rpm --prefix xlcmp_path rpm -ivh xlf.bg.cmp-10.1.0-0.ppc64.rpm --prefix xlcmp_path rpm -ivh xlf.bg.rte-10.1.0-0.ppc64.rpm --prefix xlrte_path rpm -ivh xlf.bg.rte.lnk-10.1.0-0.ppc64.rpm --prefix xlrte_path
The sample programs and product documentation packages have no dependency on other RPM packages and can be installed in any order using the following commands:
rpm -ivh xlf.bg.help-10.1.0-0.ppc64.rpm --prefix doc_path rpm -ivh xlf.bg.samples-10.1.0-0.ppc64.rpm --prefix smpls_path