HPC:Developer Tool Set

From HPC wiki

Developer Tool Set

devtoolset-2 is a set of packages that includes newer versions of gcc, gdb, and other standard libraries.

List of devtoolset-2 packages available

devtoolset-2-gcc-4.8.0-5
devtoolset-2-libstdc++-devel-4.8.0-5
devtoolset-2-runtime-2.0-14
devtoolset-2-gdb-7.6-28
devtoolset-2-libquadmath-devel-4.8.0-5
devtoolset-2-gcc-gfortran-4.8.0-5
devtoolset-2-gcc-c++-4.8.0-5
devtoolset-2-binutils-2.23.52.0.1-5

Usage

devtoolset-2 can be loaded via a the devtoolset-2 module:

[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

Other Pages