Skip to content
Snippets Groups Projects
Commit eabe2afc authored by Moe Jette's avatar Moe Jette
Browse files

take-two from Bull on task distribution description in srun, salloc, and

sbatch man pages
parent 6619faa1
No related branches found
No related tags found
No related merge requests found
...@@ -465,8 +465,7 @@ Multiple license names should be comma separated (e.g. ...@@ -465,8 +465,7 @@ Multiple license names should be comma separated (e.g.
Specify alternate distribution methods for remote processes. Specify alternate distribution methods for remote processes.
In salloc, this only sets environment variables that will be used by In salloc, this only sets environment variables that will be used by
subsequent srun requests. subsequent srun requests.
This option does not affect the allocation of resources to This option controls the assignment of tasks to the nodes on which
a job or step, but only the assignment of tasks to the nodes on which
resources have been allocated, and the distribution of those resources resources have been allocated, and the distribution of those resources
to tasks for binding (task affinity). The first distribution to tasks for binding (task affinity). The first distribution
method (before the ":") controls the distribution of resources across method (before the ":") controls the distribution of resources across
...@@ -497,11 +496,9 @@ nodes each with two cpus. A four\-task cyclic distribution request ...@@ -497,11 +496,9 @@ nodes each with two cpus. A four\-task cyclic distribution request
will distribute those tasks to the nodes with tasks one and four on will distribute those tasks to the nodes with tasks one and four on
the first node, task two on the second node, and task three on the the first node, task two on the second node, and task three on the
third node. third node.
Note that when SelectType is select/cons_res the same number of CPUs Note that when SelectType is select/cons_res, the same number of CPUs
may not be allocated on each node. may not be allocated on each node. Task distribution will be
Distribution will be round\-robin among all the nodes with CPUs yet to round\-robin among all the nodes with CPUs yet to be assigned to tasks.
be assigned tasks. If you want the same number of CPUs allocated on
all nodes, use the \-\-ntasks\-per\-node option.
Cyclic distribution is the default behavior if the number Cyclic distribution is the default behavior if the number
of tasks is no larger than the number of allocated nodes. of tasks is no larger than the number of allocated nodes.
.TP .TP
......
...@@ -519,8 +519,7 @@ between clusters. ...@@ -519,8 +519,7 @@ between clusters.
Specify alternate distribution methods for remote processes. Specify alternate distribution methods for remote processes.
In sbatch, this only sets environment variables that will be used by In sbatch, this only sets environment variables that will be used by
subsequent srun requests. subsequent srun requests.
This option does not affect the allocation of resources to This option controls the assignment of tasks to the nodes on which
a job or step, but only the assignment of tasks to the nodes on which
resources have been allocated, and the distribution of those resources resources have been allocated, and the distribution of those resources
to tasks for binding (task affinity). The first distribution to tasks for binding (task affinity). The first distribution
method (before the ":") controls the distribution of resources across method (before the ":") controls the distribution of resources across
...@@ -551,11 +550,9 @@ nodes each with two cpus. A four\-task cyclic distribution request ...@@ -551,11 +550,9 @@ nodes each with two cpus. A four\-task cyclic distribution request
will distribute those tasks to the nodes with tasks one and four on will distribute those tasks to the nodes with tasks one and four on
the first node, task two on the second node, and task three on the the first node, task two on the second node, and task three on the
third node. third node.
Note that when SelectType is select/cons_res the same number of CPUs Note that when SelectType is select/cons_res, the same number of CPUs
may not be allocated on each node. may not be allocated on each node. Task distribution will be
Distribution will be round\-robin among all the nodes with CPUs yet to round\-robin among all the nodes with CPUs yet to be assigned to tasks.
be assigned tasks. If you want the same number of CPUs allocated on
all nodes, use the \-\-ntasks\-per\-node option.
Cyclic distribution is the default behavior if the number Cyclic distribution is the default behavior if the number
of tasks is no larger than the number of allocated nodes. of tasks is no larger than the number of allocated nodes.
.TP .TP
......
...@@ -516,8 +516,7 @@ Multiple license names should be comma separated (e.g. ...@@ -516,8 +516,7 @@ Multiple license names should be comma separated (e.g.
<\fIblock\fR|\fIcyclic\fR|\fIarbitrary\fR|\fIplane=<options>\fR[:\fIblock\fR|\fIcyclic\fR]> <\fIblock\fR|\fIcyclic\fR|\fIarbitrary\fR|\fIplane=<options>\fR[:\fIblock\fR|\fIcyclic\fR]>
Specify alternate distribution methods for remote processes. Specify alternate distribution methods for remote processes.
This option does not affect the allocation of resources to This option controls the assignment of tasks to the nodes on which
a job or step, but only the assignment of tasks to the nodes on which
resources have been allocated, and the distribution of those resources resources have been allocated, and the distribution of those resources
to tasks for binding (task affinity). The first distribution to tasks for binding (task affinity). The first distribution
method (before the ":") controls the distribution of resources across method (before the ":") controls the distribution of resources across
...@@ -548,11 +547,9 @@ nodes each with two cpus. A four\-task cyclic distribution request ...@@ -548,11 +547,9 @@ nodes each with two cpus. A four\-task cyclic distribution request
will distribute those tasks to the nodes with tasks one and four on will distribute those tasks to the nodes with tasks one and four on
the first node, task two on the second node, and task three on the the first node, task two on the second node, and task three on the
third node. third node.
Note that when SelectType is select/cons_res the same number of CPUs Note that when SelectType is select/cons_res, the same number of CPUs
may not be allocated on each node. may not be allocated on each node. Task distribution will be
Distribution will be round\-robin among all the nodes with CPUs yet to round\-robin among all the nodes with CPUs yet to be assigned to tasks.
be assigned tasks. If you want the same number of CPUs allocated on
all nodes, use the \-\-ntasks\-per\-node option.
Cyclic distribution is the default behavior if the number Cyclic distribution is the default behavior if the number
of tasks is no larger than the number of allocated nodes. of tasks is no larger than the number of allocated nodes.
.TP .TP
......
...@@ -1486,6 +1486,8 @@ thread on nodes with more than one \fBThreadsPerCore\fR configured. ...@@ -1486,6 +1486,8 @@ thread on nodes with more than one \fBThreadsPerCore\fR configured.
.TP .TP
\fBCR_CORE_DEFAULT_DIST_BLOCK\fR \fBCR_CORE_DEFAULT_DIST_BLOCK\fR
Allocate cores using block distribution by default. Allocate cores using block distribution by default.
This default behavior can be overridden specifying a particular
"\-m" parameter with srun/salloc/sbatch.
Without this option, cores will be allocated cyclicly across the sockets. Without this option, cores will be allocated cyclicly across the sockets.
.TP .TP
\fBCR_Socket\fR \fBCR_Socket\fR
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment