Research Computing - Available compilers by platform

IBM

Platform/Operating System:

IBM AIX 5.3

Machine Name:

P575 (on Emerald)

Table 2. Available compilers and commands

Compiler

Commands

FORTRAN 77

xlf, f77, fort77, xlf_r, xlf_r7, mpxlf, mpxlf_r

FORTRAN 90/95

xlf90, xlf95, xlf90_r, xlf90_r7, xlf95_r, xlf95_r7, mpxlf90, mpxlf90_r, mpxlf95, mpxlf95_r

C

xlc, cc, c89, xlc128, cc128, xlc_r, cc_r, xlc_r4, cc_r4, xlc_r7, cc_r7, mpcc, mpcc_r

C++

xlC, xlC128, xlC_r, xlC_r4, xlC_r7, mpCC, mpCC_r

While there may seem to be a bewildering array of compilers to choose from on an IBM system, they can be simply categorized as follows. For example, there is really but a single fortran compiler on the system, and all the variants above reference this compiler albeit with different default options, libraries, etc. The differenct "compilers" are really just scripts that are intended as a convenience to logically group certain options together. The "77", "90" and "95" suffixes are used for programs conforming to the Fortrans 77, 90 and 95 standards, respectively. The "mp" prefix is for message passing code and will link to the MPI libraries. The "_r" suffix indicates reentrant code and is for IBM SMP programming (for example, OpenMP code). Similar observations apply to the C and C++ compilers as well. See the man pages, e.g. “man xlf”, or “cc –help” for further information.

SGI

Platform/Operating System:

SGI Altix 3700, Linux64

Machine Name:

Cedar/Cypress

The vendor supplied compilers are recommended. The GNU compilers (g77, gcc, g++) are provided for convenience and compatibility with certain packages.

Linux cluster

Platform/Operating System:

Red Hat Enterprise Linux 3.0

Machine Name:

Emerald

Additional help

Research Computing home page


Top
University of North Carolina - Chapel Hill