...
Codeblock | ||
---|---|---|
| ||
blogin> sbatch myjobscipt.slurm Submitted batch job 8028673 blogin> ls slurm-8028673.out slurm-8028673.out |
The examples for slurm job scripts, e.g. myjobscipt.slurm, that cover the setup
- n nodes,
- 1 OpenMP code running.
Codeblock | ||
---|---|---|
| ||
adsasdas asdsd#!/bin/bash #SBATCH --nodes=2 #SBATCH --partition=standard96:test module load impi/2019.5 export SLURM_CPU_BIND=none mpirun -ppn 96 ./hello.bin |
Binding with OpenMPI
When using OpenMPI, binding is controlled using the –-bind-to
parameter. To bind processes to cores, use --bind-to core
. Possible other values can be found in the man page.
...