Running the xlf_configure utility directly

You can use the xlf_configure utility to generate the configuration file as long as the compiler has been successfully installed.

The xlf_configure command has the following syntax:

Read syntax diagramSkip visual syntax diagram                  .-------------------.
                  V                   |
>>-xlf_configure----+- -gcc--path---+-+--+-----------+---------->
                    '- -gcc64--path-'    +- -o--name-+
                                         '- -install-'

>--+---------+--+------------------------------------------+---->
   '- -force-'  | .--------------------------------------. |
                | V                                      | |
                +---+- -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/------'   |
                '- -ibmcmp--installation_path--------------'

>--+--------------------------+--------------------------------><
   '-template_config_filename-'

where:

-gcc path
Specifies the path where the GCC bin/ directory is installed. In the configuration file, the gcc_path attribute is set equal to this path.

For example, if the GCC command is /usr/bin/gcc, you would specify

  -gcc /usr
-gcc64 path
Specifies the path where the 64-bit GCC bin/ directory is installed. In the configuration file, the gcc_path_64 attribute is set equal to this path. For example, if the 64-bit GCC command is /usr/bin/gcc -m64, you would specify
 -gcc64 /usr
-o name
Specifies the name of the configuration file to generate. By default, output is written to the display.
-install
Generates a default configuration file /etc/opt/ibmcmp/xlf/10.1/xlf.cfg.
-force
Forces the xlf_configure utility to overwrite any existing output file with the specified name and path. By default, if you do not use force, xlf_configure issues an error message and stops if the specified file already exists.
-mass xlmass_path/xlmass/4.3/
Specifies the path for the xlmass.lib file. By default the path is /opt/ibmcmp/xlmass/4.3/.
-smprt xlsmprt_path/xlsmp/1.6/
Specifies the path for the xlsmp.msg.rte, xlsmp.rte, and xlsmp.lib files. By default the path is /opt/ibmcmp/xlsmp/1.6/.
-xlflic lic_path/xlf/10.1
Specifies the path for the xlf.lic file. By default, this is /opt/ibmcmp/xlf/10.1/.
-xlfrt xlrte_path/xlf/10.1
Specifies the path for the xlf.rte and xlf.rte.lnk files. By default, this is /opt/ibmcmp/xlf/10.1/.
-xlf xlcmp_path/xlf/10.1
Specifies the path for the xlf.cmp and xlf.lib files. By default, this is /opt/ibmcmp/xlf/10.1/.
-ibmcmp installation_path
Alternatively specifies the path where all of the XL Fortran packages are to be installed. For a list of these packages, see Table 3.
Note:
If you want to install packages in different subdirectories, do not install any packages in the /opt/ibmcmp/ directory.
template_config_filename
The input file that is used to construct the configuration file. By default, this is /opt/ibmcmp/xlf/10.1/etc/xlf.base.cfg. If you relocated the xlf.cmp package to xlcmp_path but want to use the default template, specify:
 xlcmp_path/xlf/10.1/etc/xlf.base.cfg.