From 3d2ade7e4ae7509d022d49da71b9751a81a9cdd6 Mon Sep 17 00:00:00 2001 From: Morris Jette <jette@schedmd.com> Date: Fri, 5 Aug 2011 15:23:58 -0700 Subject: [PATCH] Clarify max node documentation Modify salloc, sbatch and srun man pages to clarify how max node count is used. --- doc/man/man1/salloc.1 | 8 +++----- doc/man/man1/sbatch.1 | 8 +++----- doc/man/man1/srun.1 | 8 +++----- 3 files changed, 9 insertions(+), 15 deletions(-) diff --git a/doc/man/man1/salloc.1 b/doc/man/man1/salloc.1 index bdf8ed40dc4..bb480d130e3 100644 --- a/doc/man/man1/salloc.1 +++ b/doc/man/man1/salloc.1 @@ -672,11 +672,9 @@ Specify a minimum number of logical cpus/processors per node. .TP \fB\-N\fR, \fB\-\-nodes\fR=<\fIminnodes\fR[\-\fImaxnodes\fR]> Request that a minimum of \fIminnodes\fR nodes be allocated to this job. -The scheduler may decide to launch the job on more than \fIminnodes\fR nodes. -A limit on the maximum node count may be specified with \fImaxnodes\fR -(e.g. "\-\-nodes=2\-4"). The minimum and maximum node count may be the -same to specify a specific number of nodes (e.g. "\-\-nodes=2\-2" will ask -for two and ONLY two nodes). +A maximum node count may also be specified with \fImaxnodes\fR. +If only one number is specified, this is used as both the minimum and +maximum node count. The partition's node limits supersede those of the job. If a job's node limits are outside of the range permitted for its associated partition, the job will be left in a PENDING state. diff --git a/doc/man/man1/sbatch.1 b/doc/man/man1/sbatch.1 index 55f88ea10e7..bbfb60500f7 100644 --- a/doc/man/man1/sbatch.1 +++ b/doc/man/man1/sbatch.1 @@ -725,11 +725,9 @@ Specify a minimum number of logical cpus/processors per node. .TP \fB\-N\fR, \fB\-\-nodes\fR=<\fIminnodes\fR[\-\fImaxnodes\fR]> Request that a minimum of \fIminnodes\fR nodes be allocated to this job. -The scheduler may decide to launch the job on more than \fIminnodes\fR nodes. -A limit on the maximum node count may be specified with \fImaxnodes\fR -(e.g. "\-\-nodes=2\-4"). The minimum and maximum node count may be the -same to specify a specific number of nodes (e.g. "\-\-nodes=2\-2" will ask -for two and ONLY two nodes). +A maximum node count may also be specified with \fImaxnodes\fR. +If only one number is specified, this is used as both the minimum and +maximum node count. The partition's node limits supersede those of the job. If a job's node limits are outside of the range permitted for its associated partition, the job will be left in a PENDING state. diff --git a/doc/man/man1/srun.1 b/doc/man/man1/srun.1 index 00ba95c1b3b..0448d3be437 100644 --- a/doc/man/man1/srun.1 +++ b/doc/man/man1/srun.1 @@ -774,11 +774,9 @@ below for details on the configuration file contents. .TP \fB\-N\fR, \fB\-\-nodes\fR=<\fIminnodes\fR[\-\fImaxnodes\fR]> Request that a minimum of \fIminnodes\fR nodes be allocated to this job. -The scheduler may decide to launch the job on more than \fIminnodes\fR nodes. -A limit on the maximum node count may be specified with \fImaxnodes\fR -(e.g. "\-\-nodes=2\-4"). The minimum and maximum node count may be the -same to specify a specific number of nodes (e.g. "\-\-nodes=2\-2" will ask -for two and ONLY two nodes). +A maximum node count may also be specified with \fImaxnodes\fR. +If only one number is specified, this is used as both the minimum and +maximum node count. The partition's node limits supersede those of the job. If a job's node limits are outside of the range permitted for its associated partition, the job will be left in a PENDING state. -- GitLab