Contents
GNU Compiler Collection (GCC)
Currently, there are 4 different versions of the GNU Compiler Collection (GCC) installed on the PMACS HPC system. The system default version is GCC v4.4.7 The other versions of GCC installed are: v4.8.0, v5.3.1 & v6.2.1, all available as modules.
Usage
GCC v4.8.0
[asrini@node063 ~]$ gcc --version gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-3) Copyright (C) 2010 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. [asrini@node063 ~]$ which gcc /usr/bin/gcc [asrini@node063 ~]$ module load devtoolset-2 [asrini@node063 ~]$ gcc --version gcc (GCC) 4.8.0 20130510 (Red Hat 4.8.0-5) Copyright (C) 2013 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. [asrini@node063 ~]$ which gcc /opt/rh/devtoolset-2/root/usr/bin/gcc
GCC v5.3.1
[asrini@node063 ~]$ module load gcc/5.3.1 [asrini@node063 ~]$ gcc --version gcc (GCC) 5.3.1 20160406 (Red Hat 5.3.1-6) Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. [asrini@node063 ~]$ which gcc /opt/rh/devtoolset-4/root/usr/bin/gcc
GCC v6.3.1
[asrini@node061 ~]$ module load gcc/6.3.1 [asrini@node061 ~]$ gcc --version gcc (GCC) 6.3.1 20170216 (Red Hat 6.3.1-3) Copyright (C) 2016 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. [asrini@node061 ~]$ which gcc /opt/rh/devtoolset-6/root/usr/bin/gcc
GCC v7.3.1
[asrini@node061 ~]$ module load gcc/7.3.1 [asrini@node061 ~]$ gcc --version gcc (GCC) 7.3.1 20180303 (Red Hat 7.3.1-5) Copyright (C) 2017 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. [asrini@node061 ~]$ which gcc /opt/rh/devtoolset-7/root/usr/bin/gcc
GCC v8.3.1
[asrini@node061 ~]$ module load gcc/8.3.1 [asrini@node061 ~]$ gcc --version gcc (GCC) 8.3.1 20190311 (Red Hat 8.3.1-3) Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. [asrini@node061 ~]$ which gcc /opt/rh/devtoolset-8/root/usr/bin/gcc