This section provides brief overview information about setting up and customizing XL Fortran, together with pointers to other documentation that describes specific set-up and customization topics in greater detail.
XL Fortran uses a number of environment variables to control various aspects of compiler operation. Environment variables fall into two basic categories:
These environment variables define the basic working environment for the compiler, including specifying your choice of national language or defining the location of libraries or temporary files. For complete information, refer to Correct settings for environment variables.
These environment variables define runtime compiler option defaults to be used by the compiler, unless explicitly overridden by compiler option settings specified on the command line or in directives located in your program source.
These environment variables, are part of the OpenMP standard. They let you specify how the application will execute sections of parallel code. See Setting OMP and SMP runtime options
The configuration file is a plain text file that specifies default settings for compiler options and invocations. XL Fortran provides a default configuration at file /etc/opt/ibmcmp/xlf/10.1/xlf.cfg during compiler installation.
If you are running on a single-user system, or if you already have a compilation environment with compilation scripts or makefiles, you may want to leave the default configuration file as it is.
As an alternative, you can create additional custom configuration files to meet special compilation requirements demanded by specific applications or groups of applications.
See Customizing the configuration file for more information on creating and using custom configuration files.
You may not be sure which level of XL Fortran is installed on a particular machine. You will need to know this information if contacting software support.
To display the version and PTF release level of the compiler you have installed on your system, invoke the compiler with the -qversion compiler option. For example:
xlf -qversion