Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Slurm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tud-zih-energy
Slurm
Commits
24d82d4d
Commit
24d82d4d
authored
21 years ago
by
Moe Jette
Browse files
Options
Downloads
Patches
Plain Diff
Fix a few typos courtesy of Jeff Squyres.
parent
65146fdc
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/man/man1/srun.1
+10
-14
10 additions, 14 deletions
doc/man/man1/srun.1
with
10 additions
and
14 deletions
doc/man/man1/srun.1
+
10
−
14
View file @
24d82d4d
\." $Id$
\." $Id$
.\"
.\"
.TH SRUN "1" "
Octo
ber 2003" "srun 0.
2
" "slurm components"
.TH SRUN "1" "
Decem
ber 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 $
PROC
FILE
rm $
MACHINE
FILE
> srun -AN2 -n4 test.sh
> srun -AN2 -n4 test.sh
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment