Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The name of the XL C/C++ and Fortran compilers are:

InvocationsUsage (supported standards)

xlc, xlc_r  

Compile C source files.

(ANSI C89, ISO C99, IBM language extensions)

xlc++, xlc++_r, xlC, xlC_rCompile C++ source files.

cc, cc_r

Compile legacy code that does not conform to Standard C. (pre-ANSI C)

c89, c89_r

Compile C source files with strict conformance to the C89 standard. (ANSI C89)

c99, c99_r

Compile C source files with strict conformance to the C99 standard. (ISO 99)



xlf, xlf_r, f77,fort77Compile FORTRAN 77 source files
xlf90, xlf90_r, f90Compile FORTRAN 90 source files
xlf95, xlf95_r, f95Compile FORTRAN 95 source files
xlf2003, xlf2003_r, f2003Compile FORTRAN 2003 source files
xlf2008, xlf2008_r, f2008Compile FORTRAN 2008 source files
xlcufCompile CUDA FORTRAN  source files


The main difference between these commands is that they use different default options (which are set in the configuration files /cineca/prod/opt/compilers/xl/16.1.1/binary/xlC/16.1.1/etc/xlc.cfg.rhel.7.6.gcc.8.4.0.cuda.10.1 and /cineca/prod/opt/compilers/xl/16.1.1/binary/xlf/16.1.1/etc/xlf.cfg.rhel.7.6.gcc.8.4.0.cuda.10.1 respectively for the C/C++ and Fortran compilers).

...

The OpenMP parallelization is enabled by the -qsmp compiler option. If -qsmp=omp is specified, strict OpenMP compliance is applied on the compiling programs. Please refer to the official OpenMP support in IBM XL compilers documentation.

...

Scientific libraries designed for Power architecture included in the XL compiler package, 

> module load xlessl/6.2.1

Documentation: https://www.ibm.com/support/knowledgecenter/SSFHY8/essl_content.html

...