The ECE Linux Lab machines run AlmaLinux 8, which provides gcc version 8.5 by default. However some software may require a more up-to-date compiler than that distro provides.

We have installed the application streams for gcc 11 (gcc-toolset-11) and gcc 13 (gcc-toolset-13).

To use either of these versions, you must run  your shell under the desired software stream as shown below (what you type is in bold):

$ which gcc
/usr/bin/gcc
$ gcc --version
gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-22)
...

$ scl enable gcc-toolset-11 "$SHELL"
$ which gcc
/opt/rh/gcc-toolset-11/root/usr/bin/gcc
$ gcc --version
gcc (GCC) 11.2.1 20220127 (Red Hat 11.2.1-9)
...

$

And then compile (and possibly use) the software under that shell.