Before you can run
XL Fortran for
Linux,
you must configure (or re-configure) the compiler if any of the following
conditions apply:
- You did not use xlf_install to
install the compiler.
- The compiler is installed to a non-default location,
or compiler components were relocated after installation.
Two
configuration tools are provided with the compiler: new_install and xlf_configure, both located in
the installation_path/xlf/10.1/bin/
directory after installation.
It is recommended that
you use the
new_install utility to configure the compiler,
provided that
all of the following conditions are met:
- Only one version of XL Fortran for Linux is
installed on your system.
- Only one version of GCC is installed in your system and it can be found
in the PATH environment variable.
- You have root or administrator privileges.
- You want to generate the configuration file in the default directory /etc/opt/ibmcmp/xlf/10.1/.
For instructions, see
Running the new_install utility (for advanced users).
You should invoke the xlf_configure utility
directly only when any of the following is true:
- You have multiple versions of XL Fortran for Linux installed
on your system.
- You receive an error from the new_install command. (See Troubleshooting the installation and configuration.)
- You want the generated configuration file to be placed in a non-default
location.
- 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,
can be written to any location where you have write permission. You would
not need root or administrative privileges.
For instructions, see Running the xlf_configure utility directly (for advanced users).