Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
minLevel1
maxLevel2
include
outlinefalse
indent
exclude
typelist
class
printablefalse

...

Expand
title [Feb 2024] Current CPE toolchains

CPE toolchain

Note

cpeGNU/23.03

GCC 11.2.0

cpeCray/23.03

CCE 15.0.1

cpeIntel/23.03

Deprecated and hidden. It will be removed in the future.

cpeIntel/23.09

Intel Compiler 2023.1.0

...

Command

Total MPI processes

CPU per MPI process

MPI processes per node

GPU card

srun

-n, --ntasks

-c, --cpus-per-task

--ntasks-per-node

-G, --gpus

mpirun/mpiexec

-n, -np

--map-by socket:PE=N

--map-by ppr:N:node

-

aprun

-n, --pes

-d, --cpus-per-pe

-N, --pes-per-node

-

Nevertheless, there There is usually no needs need to explicitly add these options to srun, since most srun options are automatically derived from sbatch, except for --cpus-per-task and a few others since, by default, Slurm will automatically derive them from sbatch. However, we recommend explicitly adding GPU binding options such as --gpus-per-task or --ntasks-per-gpu according to each software specification to srun. Please visit Slurm srun for more details.

Note

For multi-threaded applications, it is essential to specify -c or --cpus-per-tasks after options for srun to prevent a potential decrease in performance (~50%) due to improper CPU binding.

...