Running the new_install utility
You can use the new_install utility to configure the compiler if all of the following conditions are met:
- Only one version of XL Fortran is installed in your system.
- Only one version of GCC is installed in your system and it can be found
in the PATH environment variable.
- You have write privilege in /etc/ directory.
- You want to generate the default configuration file, /etc/opt/ibmcmp/xlf/10.1/xlf.cfg.
.
The new_install utility
performs the following tasks:
- Backs up any existing configuration file.
- Queries the RPM database for the paths to the XL Fortran V10.1 packages and
the path to the 32-bit GCC (gcc32path) and the 64-bit
GCC (gcc64path) in the PATH environment variable,
and then uses the obtained values to execute the xlf_configure utility.
- Generates the configuration file in /etc/opt/ibmcmp/xlf/10.1/xlf.cfg.
You will be required to accept the license
agreement and install the license file before the configuration file is generated.
To run the new_install utility:
- Change to the directory that contains the XL Fortran V10.1 executables:
cd xlcmp_path/xlf/10.1/bin/
where xlcmp_path is the installation location of the XL Fortran compiler packages.
Note:
If XL Fortran V10.1 is installed in the default location, xlcmp_path is /opt/ibmcmp/.
- Run the following command:
./new_install
The new_install command executes the following command:
xlcmp_path/xlf/10.1/bin/xlf_configure
-gcc gcc32path
-gcc64 gcc64path
-install
-mass xlmass_path/xlmass/4.3/
-smprt xlsmprt_path/xlsmp/1.6/
-xlflic lic_path/xlf/10.1
-xlfrt xlrte_path/xlf/10.1
-xlf xlcmp_path/xlf/10.1
xlcmp_path/xlf/10.1/etc/xlf.base.cfg