About HPC Systems Software User Guides Education Partners

  / gears / hpc / software / comp / pgi


Bioinformatics

Compilers and Programming Tools

Computational Chemistry

File System

Finite Element Solvers

Graphics and Imaging

Mathematics

Numerical Libraries

Optimization

Parallel Programming Libraries and Tools

Queuing and Scheduling Systems

Solid Modeling

Statistics

Portland PGI Compilers

Overview

The Portland PGI Compilers and Tools set provides compilers for the C, C++, and Fortran languages.

Setup

There is no setup needed for this software package.

Usage

This suite contains:

    pgf77
    • The PGI Fortran 77 compiler.
    pgf90
    • The PGI Fortran 90 compiler.
    pghpf
    • The PGI High Performance Fortran compiler.
    pgcc
    • The PGI C compiler.
    pgCC
    • The PGI C++ compiler.
    pgdbg
    • The PGI symbolic debugger for F77, F90, C, C++, and assembly language programs.
    pgprof
    • The PGI performance analysis tool.
Examples

To compile a C source file called foo.c into an executable called foo, use the command:

pgcc foo.c -o foo

To compile a Fortran 90 source file called foo.f into an executable called foo, use the command:

pgf90 foo.f -o foo

Documentation

The User Guide for the PGI suite is available by issuing the command:

lynx /usr/local/pgi/doc/index.html

Man pages are also available for each command in the software suite.


Please send questions or suggestions about this web page to beatnic@aset.psu.edu

ASET | ITS | Penn State