...
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.
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.
Codeblock |
---|
mpirun --bind-to core ./yourprogram |
...