GNU Compiler Collection installations at NSC


Level of support

Tier 2 NSC has only limited experience with this software, but we will try to help as much as possible. We have ran some tests, for example, if the program comes with a test suite, but they may be far from exhaustive. We will try to install and test new versions, as soon as we can.

Please see the page describing our software support categories for more information.
You can also contact support@nsc.liu.se for further information.

The GNU Compiler Collection installations are generally maintained by Johan Raber (raber@nsc.liu.se).

How to use the GNU compilers

To use the GNU compilers you need to load the corresponding module, e.g.

module load gcc/4.7.2

The only included compilers of the suite are “gcc”, “g++” and “gfortran”. Using e.g. “gcc” can be done with

gcc -o example example.c

The GNU compilers are fully integrated with the NSC compiler wrappers with the exception of the module “gcc/4-centos6” which is the native, non-NSC-wrapped CentOS version. To use the native CentOS compiler with the NSC compiler wrapper, load the “gcc/system” module.