Running the xlf_configure utility directly (for advanced users)

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

To run the xlf_configure utility:

  1. Change to the directory that contains the compiler executables:
       cd  installation_path/xlf/bg/10.1/bin/
    where installation_path is the installation location of the compiler packages. If the compiler is installed in the default location, installation_path is /opt/ibmcmp/.
  2. Run the following command:
      ./xlf_configure options

See the following section for required arguments to the xlf_configure command.

xlf_configure options

The xlf_configure command has the following syntax:

Read syntax diagramSkip visual syntax diagram                                    .-------------------.
                                    V                   |
>>-xlf_configure---targetgcc--path----+- -gcc--path---+-+------->
                                      '- -gcc64--path-'
 
>--+-----------+--+---------+----------------------------------->
   +- -o--name-+  '- -force-'
   '- -install-'
 
>--+- -ibmcmp--installation_path-----------------+-------------->
   | .-----------------------------------------. |
   | V                                         | |
   '---+- -mass--xlmass_path/xlmass/bg/4.3/--+-+-'
       +- -smprt--xlsmprt_path/xlsmp/bg/1.6/-+
       +- -xlflic--lic_path/xlf/bg/10.1/-----+
       +- -xlfrt--xlrte_path/xlf/bg/10.1/----+
       '- -xlf--xlcmp_path/xlf/bg/10.1/------'
 
>--+--------------------------+--------------------------------><
   '-template_config_filename-'
 

where:

-targetgcc path
Specifies the path where the Blue Gene GCC bin/ directory is installed. For example, if the Blue Gene tool chain is installed in the default directory, you would specify:
  -targetgcc /bgl/BlueLight/ppcfloor/blrts-gnu/powerpc-bgl-blrts-gnu
-gcc path
Specifies the path where the native GCC bin/ directory is installed. For example, if the GCC command is /usr/bin/gcc, you would specify:
  -gcc /usr
-gcc64 path
Specifies the path where the native 64-bit GCC bin/ directory is installed. For example, if the 64-bit GCC command is /usr/bin/gcc -m64, you would specify:
 -gcc64 /usr
-o file_name
Specifies the name and path of the configuration file to generate. By default, output is written to the display only.
-install
Generates the configuration file as /etc/opt/ibmcmp/xlf/bg/10.1/xlf.cfg. By default, output is written to the display only.
-force
Forces the xlf_configure utility to overwrite any existing output file with the same name and path as that specified by the -o or -install options. By default, if you do not use force, xlf_configure issues an error message and stops if the specified file already exists.
-ibmcmp installation_path
Specifies the path where all of the XL Fortran packages are installed (if all packages are installed in the same path). By default, the path is /opt/ibmcmp/.
-mass xlmass_path/xlmass/bg/4.3/
Specifies the path where the xlmass.bg.lib package is installed. By default, the full path is /opt/ibmcmp/xlmass/bg/4.3.
-smprt xlsmprt_path/xlsmp/bg/1.6/
Specifies the path where the xlsmp.bg.msg.rte, xlsmp.bg.rte, and xlsmp.bg.lib packages are installed. By default, the full path is /opt/ibmcmp/xlsmp/bg/1.6.
-xlflic lic_path/xlf/bg/10.1/
Specifies the path where the xlf.bg.lic package is installed. By default, the full path is /opt/ibmcmp/xlf/bg/10.1/.
-xlfrt xlrte_path/xlf/bg/10.1/
Specifies the path where the xlf.bg.rte and xlf.bg.rte.lnk packages are installed. By default, the full path is /opt/ibmcmp/xlf/bg/10.1/.
-xlf xlcmp_path/xlf/bg/10.1/
Specifies the path where the xlf.bg.cmp and xlf.bg.lib packages are installed. By default, the full path is /opt/ibmcmp/xlf/bg/10.1/.
template_config_file_name
The input file that is used to construct the configuration file. By default, this is /opt/ibmcmp/xlf/bg/10.1/etc/xlf.base.cfg. If you relocated the xlf.bg.cmp package to xlcmp_path but want to use the default template, specify:
 xlcmp_path/xlf/bg/10.1/etc/xlf.base.cfg.