Configuring XL C/C++ (for advanced
users)
Before you can run the XL C/C++ for Blue Gene, you must configure
(or re-configure) the compiler if any of the following conditions apply:
- You did not use xlc_install to install the
compiler.
- The compiler is installed a non-default location, or compiler components
were relocated after installation.
Two configuration tools are provided with the compiler: new_install and vac_configure, both located in
the installation_path/vacpp/bg/8.0/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 C/C++ for Blue Gene 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/vac/bg/8.0/.
- The Blue Gene tool chain is installed in the default
location, /bgl/BlueLight/ppcfloor.
For instructions, see Running the new_install utility (for advanced users).
You should invoke the vac_configure utility directly only when any of the following is true:
- You have multiple versions of XL C/C++ for Blue Gene installed on
your system.
- You receive an error from the new_install command.
- 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.
- The Blue Gene tool chain is installed in a non-default
location.
Note:
If you configure the compiler
using vac_configure, your output configuration file, vac.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 vac_configure utility directly (for advanced
users).