Table of Contents

Software – GCC

Supported Versions

VersionLocationOperating SysyemNotes
gcc-11.4.1/usr/bin/gccRocky 9System Default
gcc-12.2.1/opt/rh/gcc-toolset-13/root/bin/gccRocky 9WS Systems (GCC-Toolset-12)
gcc-13.1.1/usr/bin/gccFedora 38System Default
gcc-13.2.1/opt/rh/gcc-toolset-13/root/bin/gccRocky 9WS Systems (GCC-Toolset-13)
gcc-14.0.1/usr/bin/gccFedora 40System 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 using Source

To enable any of the gcctoolset or versions of gcc run the following: 

source /opt/rh/gcc-toolset-<version>/enable

This will load any functions associated with that gcctoolset version.

Enabling using Env 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 gcc/gcc-<gcc version show in the avail command>

Show Loaded modules:

module list

To unload a module:

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