Compiling

General

The C/C++ and Fortran compilers used on Jaguar are Portland Group (PGI) compilers. Jaguar will most likely have several versions of the PGI compilers installed at any given time and available through modules.

Jaguar has two kinds of nodes:

  1. Compute nodes running the CNL OS.

    • To build code for the compute nodes, you should use the Cray wrappers cc, CC, and ftn.

    • The wrappers will call the appropriate PGI compiler which will use the appropriate header files and link against the appropriate libraries.

  2. Service and login nodes running Linux.

    • To build code for the Linux service nodes, you can call the PGI compilers directly.

    • We strongly suggest that you don’t call the PGI compilers directly if you are building code to run on the compute nodes.