From 8c73ad65ee375a5f19cbc1b858d3e643d986bcb7 Mon Sep 17 00:00:00 2001 From: Moe Jette <jette1@llnl.gov> Date: Mon, 11 Aug 2003 22:04:16 +0000 Subject: [PATCH] Add description of ORed constraints with the '|' separator. --- doc/man/man1/srun.1 | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/doc/man/man1/srun.1 b/doc/man/man1/srun.1 index 520eea3b02a..9c222346a42 100644 --- a/doc/man/man1/srun.1 +++ b/doc/man/man1/srun.1 @@ -1,6 +1,6 @@ \." $Id$ .\" -.TH SRUN "1" "June 2003" "srun 0.1" "slurm components" +.TH SRUN "1" "August 2003" "srun 0.2" "slurm components" .SH "NAME" srun \- run parallel jobs .SH SYNOPSIS @@ -230,10 +230,17 @@ Specify a minimum amount of virtual memory. Specify a minimum amount of temporary disk space. .TP \fB\-C\fR, \fB\-\-constraint\fR=\fIlist\fR -Specify a list of constraints. The \fIlist\fR of constraints is -a comma separated list of features that have been assigned to the -nodes by the slurm administrator. If no nodes have the requested -feature, then the job will be rejected by the slurm job manager. +Specify a list of constraints. +The constraints are features that have been assigned to the nodes by +the slurm administrator. +The \fIlist\fR of constraints may include multiple features separated +by commas, in which case all nodes must have all listed features +(i.e. the features are ANDed together). +Alternately the features may be separated by a vertical bar, '|', +in which case all nodes have must have at least one of the listed +features (i.e. the features are ORed together). +If no nodes have the requested features, then the job will be rejected +by the slurm job manager. .TP \fB\-\-contiguous\fR Demand a contiguous range of nodes. The default is "yes". Specify -- GitLab