Table of Contents

Software – GCC

You are here:
< All Topics

Supported Versions

VersionLocationOperating SysyemNotes
gcc-4.8.5/usr/bin/gccCentOS 7System Default
gcc-5.3.0/usr/local/bin/gccCentOS 7Default on IPPP WS Only
gcc-8.3.1/opt/rh/devtoolset-8/bin/gccCentOS 7Login, WS, GPU, GridUIs
gcc-9.3.1/opt/rh/devtoolset-9/bin/gccCentOS 7Login, WS, GPU, GridUIs
gcc-10.2.1/opt/rh/devtoolset-10/bin/gccCentOS 7Login, WS, GPU, GridUIs
gcc-10.2.1/usr/bin/gccFedora 32System Default
gcc-10.3.1/usr/bin/gccFefora 33System Default
gcc-11.1.1/usr/bin/gccFedora 34System Default

IPPP Defaults

The default GCC depends on the system you’re using. It could be any of the versions listed above; please check with gcc -v

Enabling GCC (Devtoolset) – Source

To enable any of the devtoolset versions of gcc run the following: 

source /opt/rh/devtoolset-<version>/enable

This will load any functions associated with that devtoolset version.

Enabling GCC (Devtoolset) – User Modules 

Run the following command to display a list of modules available to the user: 

module avail

Load GCC module with the following:

module load compilers/<gcc version show in the avail command>

Show Loaded modules:

module list

To unload a module:

module unload compilers/<gcc version shown in list command>

Previous Software – CRON
Next Software – gitlab