Running the vac_configure utility directly (for advanced users)

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

To run the vac_configure utility:

  1. Change to the directory that contains the compiler executables:
       cd  installation_path/vacpp/bg/8.0/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:
      ./vac_configure options

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

vac_configure options

The vac_configure command has the following syntax:

Read syntax diagramSkip visual syntax diagram                                    .-------------------.
                                    V                   |
>>-vac_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/-+
       +- -vaclic--lic_path/vac/bg/8.0/------+
       +- -vacpprt--xlrte_path/vacpp/bg/8.0/-+
       +- -vac--xlcmp_path/vac/bg/8.0/-------+
       '- -vacpp--xlcmp_path/vacpp/bg/8.0/---'
 
>--+--------------------------+--------------------------------><
   '-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/vac/bg/8.0/vac.cfg. By default, output is written to the display only.
-force
Forces the vac_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, vac_configure issues an error message and stops if the specified file already exists.
-ibmcmp installation_path
Specifies the path where all of the XL C/C++ 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.
-vaclic lic_path/vac/bg/8.0/
Specifies the path where the vac.bg.lic package is installed. By default, the full path is /opt/ibmcmp/vac/bg/8.0/.
-vacpprt xlrte_path/vacpp/bg/8.0/
Specifies the path where the vacpp.bg.rte and vacpp.bg.rte.lnk packages are installed. By default, the full path is /opt/ibmcmp/vacpp/bg/8.0/.
-vac xlcmp_path/vac/bg/8.0/
Specifies the path where the vac.bg.cmp and vac.bg.lib packages are installed. By default, the full path is /opt/ibmcmp/vac/bg/8.0/.
-vacpp xlcmp_path/vacpp/bg/8.0/
Specifies the path where the vacpp.bg.cmp and vacpp.bg.lib packages are installed. By default, the full path is /opt/ibmcmp/vacpp/bg/8.0/.
template_config_file_name
The input file that is used to construct the configuration file. By default, this is /opt/ibmcmp/vac/bg/8.0/etc/vac.base.cfg. If you relocated the vac.bg.cmp package to xlcmp_path but want to use the default template, specify:
 xlcmp_path/vac/bg/8.0/etc/vac.base.cfg.