Skip to content

Compile and link

Summary

On a login node, you can compile your program using the Intel compiler. The recommended version of the compiler is loaded by default.

Commands for compiling and linking

Language Serial (Non-MPI) MPI parallel
Fortran ifort mpiifort
C icc mpiicc
C++ icpc mpiicpc

Major options

  • -xCORE-AVX512: SIMD vectorization for Grand Chariot (Subsystem A)
  • -xMIC-AVX512: SIMD vectorization for Polaire (Subsystem B)
  • -parallel: automatic thread parallelization (default: off)
  • -qopenmp: OpenMP thread parallelization (default: off)