Installing all packages to a single, non-default location

Use this procedure if you want to install all compiler packages to a single non-default location. However, this location has to be under the root directory /bgsys/xlcompilers. For example, rather than installing all packages into the default directory /opt/ibmcmp/, you could install them to a directory such as /bgsys/xlcompilers/mydirectory/.

About this task

To install all compiler packages to a single non-default directory, you have the following options:
  • Use the xlc_install utility. This option is recommended if you want to install all compiler packages to a single, non-default directory.
    If the product CD is mounted at the /cdrom directory in the system, issue the following commands:
      cd /cdrom
      ./xlc_install -prefix installation_path
    For additional arguments that you can specify for xlc_install, see xlc_install options.
  • Use the rpm utility. Ensure that your current working directory contains all of the packages for IBM® XL C/C++ for Blue Gene®/Q, V12.1 and no other RPM packages. From your current working directory, use the following command:
      rpm -ivh *.rpm --prefix installation_path 
In the preceding commands, installation_path is a directory under the root directory /bgsys/xlcompilers.