Installing packages to multiple, non-default locations

For highly specialized situations only, you might need to install different packages to different locations.
Note: If you want to install packages in different subdirectories, do not install any packages in the /opt/ibmcmp/ directory.

Table 1 provides information about which packages must be installed together in the same directory and which can be installed in any directory.

Table 1. Rules for installing packages to multiple, non-default locations
Package Name Package Description Rules for installation to a non-default location
xlsmp.msg.rte XL SMP runtime messages All XL 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.rte XL SMP runtime dynamic libraries
xlsmp.lib XL SMP runtime static libraries
xlmass.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.msg.rte XL Fortran runtime environment messages Must be installed in the same location as the other runtime packages above.
xlf.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.rte.lnk XL Fortran runtime environment links
xlf.lic XL Fortran license Any location. For the remainder of this document, the name lic_path is used to refer to this location.
xlf.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.cmp XL Fortran compiler files
xlf.help XL Fortran documentation Any location (optional). For the remainder of this document, the name doc_path is used to refer to this location.
xlf.samples XL Fortran samples Any location (optional). For the remainder of this document, the name smpls_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 1.