Configuring IBM Open XL Fortran for Linux on Power 17.1.1

Configure the compiler based on your conditions.

Before you can run IBM® Open XL Fortran for Linux® on Power® 17.1.1, you must configure (or re-configure) the compiler if any of the following conditions apply to you:
  • You did not use install to install the compiler, or the configuration step failed with install.
  • Your system or its GCC configuration is changed after the compiler configuration was last run.
  • Compiler components were relocated after installation on SLES or RHEL.

The compiler provides a configuration tool, xlf_configure, located in the installation_path/openxlf/17.1.1/bin/ directory after installation.

Note: installation_path is the installation location of the compiler packages. If the compiler is installed in the default location, installation_path is /opt/ibm/.

You must invoke the xlf_configure utility directly if any of the following conditions is true:

  • You did not use install to install the compiler.
  • You have multiple versions of compilers installed on your system.
  • You want the generated configuration file to be placed in a location that is different from installation_path/openxlf/17.1.1/etc/.
  • You have multiple versions of GCC installed on your system and you need to specify which GCC version you would like to reference in the configuration file.
Note: If you configure the compiler using xlf_configure, your output configuration file, xlf.cfg.$OS.$OSVersion.gcc.$gccVersion, can be written to any location where you have write permission. You need root privileges to accept the license for the first time you run the configuration. Subsequent reconfiguration does not require root privileges if the license has been accepted.
To run the xlf_configure utility to configure an installation that is not done with the install utility, become a superuser with su, or sudo, and run the following command:
   installation_path/openxlf/17.1.1/bin/xlf_configure options
where installation_path is the installation location of the compiler packages. If the compiler is installed in the default location, installation_path is /opt/ibm/.

You are presented with the license agreement and licensing information. Read the license agreement and licensing information. If you agree to the licensing terms, accept the license agreement to continue configuration.