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 C/C++.
To install all compiler packages to a single non-default directory, ensure that your current working directory contains all of the packages for XL C/C++ V8.0 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. |
vacpp.bg.rte | XL C/C++ runtime environment | All XL C/C++ 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. |
vacpp.bg.rte.lnk | XL C/C++ runtime environment links | |
vac.bg.lic | XL C/C++ license | Any location. For the remainder of this document, the name lic_path is used to refer to this location. |
vac.bg.lib | XL C compiler libraries | All XL C/C++ 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. |
vac.bg.cmp | XL C compiler files | |
vacpp.bg.lib | XL C++ compiler libraries | Must be installed in the same location as the other compiler and library packages above. |
vacpp.bg.cmp | XL C++ compiler files | |
vacpp.bg.samples | XL C/C++ samples | Any location (optional). For the remainder of this document, the name smpls_path is used to refer to this location. |
vacpp.bg.help | XL C/C++ 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 C/C++ V8.0 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 vac.bg.lic-8.0.0-0.ppc64.rpm --prefix lic_path rpm -ivh vac.bg.lib-8.0.0-0.ppc64.rpm --prefix xlcmp_path rpm -ivh vac.bg.cmp-8.0.0-0.ppc64.rpm --prefix xlcmp_path rpm -ivh vacpp.bg.rte-8.0.0-0.ppc64.rpm --prefix xlrte_path rpm -ivh vacpp.bg.rte.lnk-8.0.0-0.ppc64.rpm --prefix xlrte_path rpm -ivh vacpp.bg.lib-8.0.0-0.ppc64.rpm --prefix xlcmp_path rpm -ivh vacpp.bg.cmp-8.0.0-0.ppc64.rpm --prefix xlcmp_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 vacpp.bg.help-8.0.0-0.ppc64.rpm --prefix doc_path rpm -ivh vacpp.bg.samples-8.0.0-0.ppc64.rpm --prefix smpls_path