• Scientific Computing | SciVision

  • Blog
  • Tags
  • Categories

Use modern compilers in RHEL

23 October, 2021

GCC Toolset enables modern compiler selection for Red Hat / CentOS users. Gfortran example:

yum install gcc-toolset-12-gcc-gfortran

Thereafter, users without sudo use the new Gfortran version by:

source scl_source enable gcc-toolset-12

Prior to CentOS / RHEL 8, this was known as Developer Toolset devtoolset.

  • linux
  • Red Hat Enterprise Linux
  • fortran