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

Fix a few typos courtesy of Jeff Squyres.

parent 65146fdc
No related branches found
No related tags found
No related merge requests found
\." $Id$ \." $Id$
.\" .\"
.TH SRUN "1" "October 2003" "srun 0.2" "slurm components" .TH SRUN "1" "December 2003" "srun 0.3" "slurm components"
.SH "NAME" .SH "NAME"
srun \- run parallel jobs srun \- run parallel jobs
.SH SYNOPSIS .SH SYNOPSIS
...@@ -38,7 +38,7 @@ Request that \fInnodes\fR nodes be allocated to this job. \fInnodes\fR ...@@ -38,7 +38,7 @@ Request that \fInnodes\fR nodes be allocated to this job. \fInnodes\fR
may be either a specific number or a minimum and maximum node count may be either a specific number or a minimum and maximum node count
separated by a hyphen (e.g. "\-\-nodes=2\-4"). The partition's node separated by a hyphen (e.g. "\-\-nodes=2\-4"). The partition's node
limits supersede those of the job. If a job's node limits are completely limits supersede those of the job. If a job's node limits are completely
outside of the range permitted for it's associated partition, the job outside of the range permitted for its associated partition, the job
will be left in a PENDING state. Note that the environment will be left in a PENDING state. Note that the environment
variable \fBSLURM_NNODES\fR will be set to the count of nodes actually variable \fBSLURM_NNODES\fR will be set to the count of nodes actually
allocated to the job. See the \fBENVIRONMENT VARIABLES \fR section allocated to the job. See the \fBENVIRONMENT VARIABLES \fR section
...@@ -220,26 +220,22 @@ is run as root, submit the job with \fIuser\fR's access permissions. ...@@ -220,26 +220,22 @@ is run as root, submit the job with \fIuser\fR's access permissions.
\fIuser\fR may be the user name or the numerical user ID. \fIuser\fR may be the user name or the numerical user ID.
.TP .TP
\fB\-\-gid\fR=\fIgroup\fR \fB\-\-gid\fR=\fIgroup\fR
If If \fBsrun\fR is run as root, and the \fB\-\-gid\fR option is used,
.B srun submit the job with \fIgroup\fR's group access permissions. \fIgroup\fR
is run as root, and the \fB\-\-uid\fR option is used, submit the job may be the group name or the numerical group ID.
with \fIgroup\fR's group access permissions. \fIgroup\fR may be the
group name or the numerical group ID.
.PP .PP
Allocate options: Allocate options:
.TP .TP
\fB\-A\fR, \fB\-\-allocate\fR \fB\-A\fR, \fB\-\-allocate\fR
allocate resources and spawn a shell. When \fB\-\-allocate\fR is specified to allocate resources and spawn a shell. When \fB\-\-allocate\fR is specified to
.B srun \fBsrun\fR, no remote tasks are started. Instead a subshell is started that
, no remote tasks are started. Instead a subshell is started that has access has access to the allocated resources. Multiple jobs can then be run on the
to the allocated resources. Multiple jobs can then be run on the same cpus same cpus from within this subshell. See \fBAllocate Mode\fR below.
from within this subshell. See \fBAllocate Mode\fR below.
.PP .PP
Attach to running job: Attach to running job:
.TP .TP
\fB\-a\fR, \fB\-\-attach\fR=\fIid\fR \fB\-a\fR, \fB\-\-attach\fR=\fIid\fR
This option will attach This option will attach \fBsrun\fR
.B srun
to a running job with job id = \fIid\fR. Provided that the calling user to a running job with job id = \fIid\fR. Provided that the calling user
has access to that running job, stdout and stderr will be redirected to the has access to that running job, stdout and stderr will be redirected to the
current session and signals received by current session and signals received by
...@@ -729,7 +725,7 @@ srun -l /bin/hostname | sort -n | awk '{print $2}' > $MACHINEFILE ...@@ -729,7 +725,7 @@ srun -l /bin/hostname | sort -n | awk '{print $2}' > $MACHINEFILE
# Run using generated Machine file: # Run using generated Machine file:
mpirun -np $SLURM_NPROCS -machinefile $MACHINEFILE mpi-app mpirun -np $SLURM_NPROCS -machinefile $MACHINEFILE mpi-app
rm $PROCFILE rm $MACHINEFILE
> srun -AN2 -n4 test.sh > srun -AN2 -n4 test.sh
......
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