Example: Updating the XL SMP and XL C/C++ V7.0 runtime packages
and installing XL C/C++ V8.0
This example is based on the following assumptions:
- XL C/C++ V7.0 is already installed in /opt/ibmcmp/.
- You need to install XL C/C++ V8.0 in /opt/ibmcmp/.
- Your current working directory contains all XL C/C++ V8.0 packages, and no
other RPM packages.
- You have completed the preinstallation checklist in Table 4.
- The existing runtime component versions listed in Table 9 are
installed in /opt/ibmcmp/.
Table 9. Runtime packages that must be compatible with XL C/C++
Existing XL C/C++ V7.0 runtime packages |
New XL C/C++ V8.0 runtime packages |
xlsmp.msg.rte-1.5.0-0 |
xlsmp.msg.rte-1.6.0-0 |
xlsmp.rte-1.5.0-0 |
xlsmp.rte-1.6.0-0 |
xlsmp.lib-1.5.0-0 |
xlsmp.lib-1.6.0-0 |
vacpp.rte-7.0.0-0 |
vacpp.rte-8.0.0-0 |
For this scenario, you use the following steps:
- To avoid future dependency errors, remove the existing runtime packages
by issuing the following commands:
rpm -e vacpp.rte-7.0.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
- To replace the deleted runtime packages and to install XL C/C++ V8.0,
issue the following command:
rpm -ivh *.rpm
- Modify any existing XL C/C++ V7.0 configuration file to use the new
configuration path:
# sed -e "s/xlsmp\/1\.5/xlsmp\/1\.6/g" < /etc/opt/ibmcmp/vac/7.0/vac.cfg >
/etc/opt/ibmcmp/vac/7.0/vac.cfg.new
# mv /etc/opt/ibmcmp/vac/7.0/vac.cfg.new
/etc/opt/ibmcmp/vac/7.0/vac.cfg
Note:
The XL C/C++ V7.0 path
does not change.
- Generate the default XL C/C++ V8.0 configuration file:
# /opt/ibmcmp/vac/8.0/bin/vac_configure -gcc /usr -gcc64 /usr
-ibmcmp /opt/ibmcmp/ /opt/ibmcmp/vac/8.0/etc/vac.base.cfg
-o /etc/opt/ibmcmp/vac/8.0/vac.cfg