Compilers
Hyak provides multiple compiler versions for C, C++, and Fortran on each system. Compilers are available through environment modules and should be loaded before building software.
Available compiler versions may change over time. Use module spider <compiler> or module avail to confirm which modules are currently available.
For MPI builds, load an MPI module and compile with MPI compiler wrappers. See MPI for details.
- Klone
- Tillicum
Klone uses a flat module structure, so compiler modules are visible without loading another module first.
The following base compiler families are supported on Klone:
| Vendor | Module | Compilers |
|---|---|---|
| GNU | gcc | C: gccC++: g++Fortran: gfortran |
| Intel | intel/oneAPI | C: icxC++: icpxFortran: ifx |
| NVIDIA | nvhpc | C: nvcC++: nvc++Fortran: nvfortran |
| AMD | aocc | C: clangC++: clang++Fortran: flang |
GNU Compiler Collection (GCC)
The latest GNU Compiler Collection (GCC) module on Klone is version 15.2.
module load gcc/15.2.0
Older GCC versions are also available, including some combinations with MPI support. Additional modules prefixed with contrib may also appear; these are community-provided and maintained by their owners.
gcc/9.3.0
gcc/10.2.0
gcc/11.2.0 (D)
gcc/12.3.0
gcc/13.2.0
gcc/15.2.0
Intel Compiler
The latest Intel compiler suite on Klone is version 2026.0.0. This module is provided as part of the Intel oneAPI suite.
module load intel/oneAPI/2026.0.0
For Intel oneAPI MPI workflows on Klone, use intel/oneAPI/2026.0.0. Older oneAPI modules have shown MPI-related segmentation fault errors with the current Klone kernel. The 2026 release also removes the legacy icc, icpc, and ifort compilers; use icx, icpx, and ifx instead. For more background, see the June 2026 update.
NVIDIA Compiler
The latest NVIDIA compiler suite on Klone is version 24.5. This module is provided as part of the NVIDIA HPC SDK.
module load nvhpc/24.5
CUDA Compiler Driver
The CUDA compiler driver, nvcc, is used to compile CUDA code. The latest CUDA module on Klone is version 12.9.1.
module load cuda/12.9.1
There are older CUDA versions available.
AOCC Compiler
The AOCC (AMD Optimizing C/C++ Compiler) suite is based on LLVM and includes optimizations for AMD processors. The latest AOCC compiler module on Klone is version 4.2.0.
module load aocc/4.2.0
Tillicum uses a hierarchical module structure. Load the required compiler first; dependent modules, such as CUDA, become visible afterward.
The following base compiler families are supported on Tillicum:
| Vendor | Module | Compilers |
|---|---|---|
| GNU | gcc | C: gccC++: g++Fortran: gfortran |
| NVIDIA | cuda | CUDA C/C++: nvcc |
GNU Compiler Collection (GCC)
The latest GNU Compiler Collection (GCC) module on Tillicum is version 13.4.0.
module load gcc/13.4.0
Older GCC versions are also available, including some combinations with MPI support.
gcc/11.5.0
gcc/13.4.0 (D)
CUDA Compiler Driver
The CUDA compiler driver, nvcc, is used to compile CUDA code. The latest CUDA module on Tillicum is version 13.0.0. Because Tillicum uses a hierarchical module structure, load GCC before loading CUDA.
module load gcc/13.4.0
module load cuda/13.0.0