Attention: Confluence is not suitable for the storage of highly confidential data. Please ensure that any data classified as Highly Protected is stored using a more secure platform.
If you have any questions, please refer to the University's data classification guide or contact ict.askcyber@sydney.edu.au

PGI

To use the PGI compiler, load the PGI modules with the following command:

module load pgi

or:

module load openmpi-pgi

for OpenMPI programs.

The following table shows the various commands to use when compiling code, depending on the language and style of execution being used. If you are compiling code to run on Artemis's GPUs, include the -ta=tesla compilation option as well as the options given in the table below:

Language

Single CPU

Using MPI

Using OpenMP

Using OpenACC

Fortran

pgf90

mpif90

pgf90 -mp

pgf90 -acc

C

pgcc

mpicc

pgcc -mp

pgcc -acc

C++

pgcc

mpicxx

pgCC -mp

pgCC -acc