Ceci est une ancienne révision du document !


PGI Compiler

The PGI Compilers are a set of commercial (or community) Fortran,C and C++ compilers from the Portland Group. To make use of them, first start an interactive GPU session and run one of the following module commands, depending on which version of the compilers you wish to use.

The main feuture of PGI compiler is that implement OpenACC (Open Accelerator programming standard).
  • Version 16.10

Load the compiler settings

$ module load pgi/16.10

Compiler C program

$ pgcc program.c -o program

Compile C++ program

$ pgc++ program.cpp -o program

Compile Fortran program

$ pgf90 program.f90 -o program
  • compilation/pgi.1479297536.txt.gz
  • Dernière modification : 2016/11/16 11:58
  • de admin