...
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 |
...