The PGI module sets several environment variables, which point to the different executables for the available compilers.
- $CC → C compiler pgcc
- $CXX → C++ compiler pgcpp
- $FC, $F90 → Fortran compiler pgf90
- $F77 → Fortran 77 compiler pgf77
The path's to the executables will be set according to the PGI version that is loaded.