The National Institute for Computational Sciences

Nautilus Software


Category: Program Dev-Compilers


The GNU compiler is available on the analysis machines. GNU compilers reside in /usr/bin. To see the available versions, do both the "gcc -v" and "module avail gcc" commands.

A GNU programming environment is the available but not the default when first logging in to the analysis machines. If you wish to switch to another compiler, you should first swap the "programming environment" like

  module swap PE-pgi PE-gnu

To see man pages on GNU compilers with a full list of compiler options, do a man on any of the following:

  • gcc
  • g++
  • gfortran

For more detailed information, see GNU documentation.


If you want to use gcc with MPI or want a newer gcc than the default (mentioned above), then load the GNU programming module, optionally followed by switching the gcc compiler to the version you want:

  module load PE-gnu           # you may want to unload any other PE- module first

It is best to review the gcc, g++, and gfortran man pages for a list of their options.


This package has the following support level : Supported

Available Versions

All versions of this software are provided by the system vendor.