Editing, compiling, linking, and running XL Fortran programs

Editing XL Fortran source files
Compiling XL Fortran programs
Compiling Fortran 90 or Fortran 95 programs
Compiling XL Fortran SMP programs
POSIX pthreads API support
Compilation order for Fortran programs
Canceling a compilation
XL Fortran input files
XL Fortran Output files
Scope and precedence of option settings
Specifying options on the command line
Specifying options in the source file
Passing command-line options to the "ld" or "as" commands
Displaying information inside binary files (strings)
Compiling for specific architectures
Passing Fortran files through the C preprocessor
cpp Directives for XL Fortran programs
Passing options to the C preprocessor
Avoiding preprocessing problems
Linking XL Fortran programs
Compiling and linking in separate Steps
Passing options to the ld command
Dynamic and Static Linking
Avoiding naming conflicts during linking
Running XL Fortran programs
Canceling execution
Compiling and executing on different systems
Run-time libraries for POSIX pthreads support
Selecting the language for run-time messages
Setting run-time options
The XLFRTEOPTS environment variable
Setting OMP and SMP run time options
BLAS/ESSL environment variable
XL_NOCLONEARCH
Other environment variables that affect run-time behavior
XL Fortran run-time exceptions

Most Fortran program development consists of a repeating cycle of editing, compiling and linking (which is by default a single step), and running. If you encounter problems at some part of this cycle, you may need to refer to the sections that follow this one for help with optimizing, debugging, and so on.

Prerequisite information:
  1. Before you can use the compiler, all the required Linux settings (for example, certain environment variables and storage limits) must be correct for your user ID; for details, see Correct settings for environment variables.
  2. To learn more about writing and optimizing XL Fortran programs, refer to the XL Fortran Language Reference and XL Fortran Optimization and Programming Guide.