Versionen im Vergleich

Schlüssel

  • Diese Zeile wurde hinzugefügt.
  • Diese Zeile wurde entfernt.
  • Formatierung wurde geändert.

...

Codeblock
titleMPI, OpenMP scattered
collapsetrue
#SBATCH --nodes=2
#SBATCH --partition=standard96:test
module load impi/2019.5
export SLURM_CPU_BIND=none
export OMP_PROC_BIND=spread
export OMP_NUM_THREADS=2
mpirun -ppn 12 ./hello.bin

The example covers the setup

  • 2 nodes,
  • 96 processes per node using hyperthreading,
  • 2 threads per process.
Codeblock
titleMPI, OpenMP hyperthreading
collapsetrue
#SBATCH --nodes=2
#SBATCH --partition=standard96:test
module load impi/2019.5
export SLURM_CPU_BIND=none
export OMP_NUM_THREADS=2
mpirun -ppn 96 ./hello.bin