Skip to content

Portland Group Compilers

PGI Compilers for C, C++, and Fortran


Portland Group Compilers requires an environment module

In order to use Portland Group Compilers, you must first load the appropriate environment module:

module load pgi

The HPC provides the Portland Group (PGI) compilers.

Note

PGI is now part of NVIDIA, and the PGI Compilers & Tools have evolved into the NVIDIA SDK. The HPC still supports the latest version of the PGI compilers.

Supported languages#

Below are the compiler commands for C,C++, Fortran 77, and Fortran 90 and 95:

# C compiler
pgcc

# C++ compiler
pgCC

# Fortran 77 compiler
pgf77

# Fortran 90 and 95 compiler
pg95 #pg90 is an alias of pg95

More Information#

The PGI man pages contain very descriptive documentation for each compiler. For example:

man pgf90

Last update: August 7, 2023