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
c3cda22c
Commit
c3cda22c
authored
18 years ago
by
Moe Jette
Browse files
Options
Downloads
Patches
Plain Diff
Put multi-core options together and add an example.
parent
86727515
No related branches found
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
+32
-22
32 additions, 22 deletions
doc/man/man1/srun.1
with
32 additions
and
22 deletions
doc/man/man1/srun.1
+
32
−
22
View file @
c3cda22c
...
...
@@ -63,28 +63,6 @@ for more information. If \fB\-N\fR is not specified, the default
behaviour is to allocate enough nodes to satisfy the requirements of
the \fB\-n\fR and \fB\-c\fR options.
.TP
\fB\-B\fR \fB\-\-extra\-node\-info\fR=\fIsockets\fR[:\fIcores\fR[:\fIthreads\fR]]
Request a specific allocation of resources with details as to the
number and type of computational resources within a cluster:
number of sockets (or physical processors) per node,
cores per socket, and threads per core.
The total amount of resources being requested is the product of all of
the terms.
As with \-\-nodes, each value can be a single number or a range (e.g. min\-max).
An asterisk (*) can be used as a placeholder indicating that all available
resources of that type are to be utilized.
As with nodes, the individual levels can also be specified in separate
options if desired:
.nf
\fB\-\-sockets\-per\-node\fR=\fIsockets\fR
\fB\-\-cores\-per\-socket\fR=\fIcores\fR
\fB\-\-threads\-per\-core\fR=\fIthreads\fR
.fi
When the task/affinity plugin is enabled,
specifying an allocation in this manner also instructs SLURM to use
a CPU affinity mask to guarantee the request is filled as specified.
See the "Affinity/Multi\-core options" below for more details.
.TP
\fB\-r\fR, \fB\-\-relative\fR=\fIn\fR
Run a job step relative to node \fIn\fR of the current allocation.
This option may be used to spread several job steps out among the
...
...
@@ -556,6 +534,29 @@ In addition either select/linear or select/cons_res plugin must be
configured.
If select/cons_res is configured, it must have a parameter of CR_Core,
CR_Core_Memory, CR_Socket, or CR_Socket_Memory.
.TP
\fB\-B\fR \fB\-\-extra\-node\-info\fR=\fIsockets\fR[:\fIcores\fR[:\fIthreads\fR]]
Request a specific allocation of resources with details as to the
number and type of computational resources within a cluster:
number of sockets (or physical processors) per node,
cores per socket, and threads per core.
The total amount of resources being requested is the product of all of
the terms.
As with \-\-nodes, each value can be a single number or a range (e.g. min\-max).
An asterisk (*) can be used as a placeholder indicating that all available
resources of that type are to be utilized.
As with nodes, the individual levels can also be specified in separate
options if desired:
.nf
\fB\-\-sockets\-per\-node\fR=\fIsockets\fR
\fB\-\-cores\-per\-socket\fR=\fIcores\fR
\fB\-\-threads\-per\-core\fR=\fIthreads\fR
.fi
When the task/affinity plugin is enabled,
specifying an allocation in this manner also instructs SLURM to use
a CPU affinity mask to guarantee the request is filled as specified.
.TP
\fB\-\-ntasks\-per\-socket\fR=\fIntasks\fR
Request that no more than \fIntasks\fR be invoked on each socket.
...
...
@@ -1394,6 +1395,15 @@ dev1
.fi
.PP
This example demonstrates use of multi\-core options to control layout
of tasks.
We request that four sockets per node and two cores per socket be
dedicated to the job.
.nf
> srun \-N2 \-B 4\-4:2\-2 a.out
.fi
.SH "COPYING"
Copyright (C) 2006 The Regents of the University of California.
...
...
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