Software – GCC
Supported Versions
Version | Location | Operating Sysyem | Notes |
gcc-11.4.1 | /usr/bin/gcc | Rocky 9 | System Default |
gcc-12.2.1 | /opt/rh/gcc-toolset-13/root/bin/gcc | Rocky 9 | WS Systems (GCC-Toolset-12) |
gcc-13.1.1 | /usr/bin/gcc | Fedora 38 | System Default |
gcc-13.2.1 | /opt/rh/gcc-toolset-13/root/bin/gcc | Rocky 9 | WS Systems (GCC-Toolset-13) |
gcc-14.0.1 | /usr/bin/gcc | Fedora 40 | System 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>