6.4.5 srun Control Options
srun control options determine how a SLURM job manages its nodes and other resources, what its working features (such as job name) are, and how it gives you help. Separate "constraint" options and I/O options are available and are described in other sections of this chapter. The following types of control options are available:
•Node management
•Working features
•Resource control
•Help options
6.4.5.1Node Management Options
-k (--no-kill)
The
-m dist (--distribution=dist)
The
block | Assigns tasks in order to each CPU on one node before assigning any to the |
| next node. This is the default if the number of tasks exceeds the number of |
| nodes requested. |
cyclic | Assigns tasks "round robin" across all allocated nodes (task 1 goes to the first |
| node, task 2 goes to the second node, and so on). This is the default if the number |
| of nodes requested equals or exceeds the number of tasks. |
-r n (--relative=n)
The
-s (--share)
The
6.4.5.2 Working Features Options
-D path (--chdir=path)
The
-d level (--slurmd-debug=level)
The
Using SLURM