Skip to content

Clang

A C/C++ compiler


Clang is available by default on all login nodes and compute nodes; there is no need to load an environment module.

Supported languages#

Clang provides a compiler for all the major C language family platforms:

  • C
  • C++
  • Objective C
  • Objective C++
  • OpenCL
  • OpenMP
  • RenderScript

Usage#

1
2
3
4
5
6
$ clang --version

clang version 10.0.1 (Red Hat 10.0.1-1.module_el8.3.0+467+cb298d5b)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/bin