Installing packages to multiple, non-default locations

Use this procedure in highly specialized situations in which you want to install groups of compiler packages to multiple, different locations. For example, you could install all the compiler library packages to one directory, the runtime environment packages to another directory, and so on. However, all of these locations must be under the root directory /bgsys/xlcompilers, and certain packages must be installed together in the same directory.

About this task

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 different directories. Note that although packages might be installed in different directories, all of the these directories must be under the root directory /bgsys/xlcompilers.

Table 1. Rules for installing packages to multiple, non-default locations
Package Name Package Description Rules for installation to a non-default location
xlsmp.bg.msg.rte IBM® SMP messages package 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.bg.rte IBM SMP runtime package
xlsmp.bg.lib IBM SMP static library package
xlmass.bg.lib IBM Mathematical Acceleration Subsystem (MASS) package Any location under root directory /bgsys/xlcompilers. For the remainder of this document, the name xlmass_path is used to refer to this location.
vacpp.bg.rte IBM XL C/C++ runtime package 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 IBM XL C/C++ runtime links package
vac.bg.lic IBM XL C/C++ license package Any location under root directory /bgsys/xlcompilers. For the remainder of this document, the name lic_path is used to refer to this location.
vac.bg.lib IBM XL C/C++ compiler libraries package 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 IBM XL C/C++ compiler package
vacpp.bg.omp IBM XL C/C++ OpenMP package
vacpp.bg.lib IBM XL C/C++ compiler libraries package Must be installed in the same location as the other compiler and library packages above.
vacpp.bg.cmp IBM XL C/C++ compiler package
vacpp.bg.help.pdf IBM XL C/C++ Help pdf documentation package Any location under root directory /bgsys/xlcompilers (optional). For the remainder of this document, the name doc_path is used to refer to this location.
vacpp.bg.man IBM XL C/C++ compiler man pages Any location under root directory /bgsys/xlcompilers (optional). For the remainder of this document, the name manpag_path is used to refer to this location.
vacpp.bg.samples IBM XL C/C++ samples package Any location under root directory /bgsys/xlcompilers (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.