Installing multiple versions of XL Fortran on the same system (for advanced users)

It is highly recommended that you uninstall any previous versions of XL Fortran before you install XL Fortran V10.1. If you use the xlf_install utility to install the new version to the default location (/opt/ibmcmp/), it will remove the old files for you.

The procedures in this chapter are intended for users who are both experienced with compiler installations and familiar with the file structures of all versions of all compiler products installed on the system.

Before you install multiple versions of XL Fortran on the same system, consider the following options:

If you are phasing a migration to the later version of XL Fortran, you must install each version in a different installation location. You will use the information in Installing XL Fortran V10.1 to a single non-default location.

If you are maintaining different versions of XL Fortran for the long term, you should install both versions in the same installation location. Multiple versions of XL Fortran can co-reside in the same location path as long as the later version does not attempt to use runtime packages that pre-date it. If your existing version is installed in the default location, do not try to use xlf_install to install the additional version; it will remove the old files for you. Instead, use the following procedure: Updating XL SMP and XL Fortran runtime files and installing XL Fortran V10.1