Example: Updating the XL SMP and XL Fortran V9.1 runtime packages and installing XL Fortran V10.1

This example is based on the following assumptions:

For this scenario, you use the following steps:

  1. To avoid future dependency errors, remove the existing runtime packages by issuing the following commands:
    rpm -e xlf.msg.rte-9.1.0-0  --nodeps
    rpm -e xlf.rte-9.1.0-0  --nodeps
    rpm -e xlsmp.lib-1.5.0-0  --nodeps
    rpm -e xlsmp.rte-1.5.0-0  --nodeps
    rpm -e xlsmp.msg.rte-1.5.0-0  --nodeps
  2. To replace the deleted runtime packages and to install XL Fortran V10.1, issue the following command:
    rpm -ivh *.rpm
  3. Modify any existing XL Fortran V9.1 configuration file to use the new configuration path:
      # sed -e "s/xlsmp\/1\.5/xlsmp\/1\.6/g" < /etc/opt/ibmcmp/xlf/9.1/xlf.cfg >
        /etc/opt/ibmcmp/xlf/9.1/xlf.cfg.new 
      # mv /etc/opt/ibmcmp/xlf/9.1/xlf.cfg.new 
        /etc/opt/ibmcmp/xlf/9.1/xlf.cfg
    Note:
    The XL Fortran V9.1 path does not change.
  4. Generate the default XL Fortran V10.1 configuration file:
    # /opt/ibmcmp/xlf/10.1/bin/xlf_configure -gcc /usr -gcc64 /usr
      -ibmcmp /opt/ibmcmp/ /opt/ibmcmp/xlf/10.1/etc/xlf.base.cfg 
      -o  /etc/opt/ibmcmp/xlf/10.1/xlf.cfg