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
8f1cc61c
Commit
8f1cc61c
authored
22 years ago
by
Moe Jette
Browse files
Options
Downloads
Patches
Plain Diff
Add info to return node to service after draining.
parent
47c3deff
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/html/quickstart.html
+9
-0
9 additions, 0 deletions
doc/html/quickstart.html
with
9 additions
and
0 deletions
doc/html/quickstart.html
+
9
−
0
View file @
8f1cc61c
...
@@ -58,6 +58,7 @@ Figure 2: SLURM entities
...
@@ -58,6 +58,7 @@ Figure 2: SLURM entities
Man pages exist for all SLURM daemons, commands, and API functions.
Man pages exist for all SLURM daemons, commands, and API functions.
The command option "--help" also provides a brief summary of options.
The command option "--help" also provides a brief summary of options.
Note that the command options are all case insensitive.
<p>
<p>
<b>
srun
</b>
is used to submit a job for execution, allocate resources,
<b>
srun
</b>
is used to submit a job for execution, allocate resources,
attach to an existing allocation, or initiate job steps.
attach to an existing allocation, or initiate job steps.
...
@@ -268,6 +269,7 @@ PartitionName=pbatch Nodes=mcr[192-1151]
...
@@ -268,6 +269,7 @@ PartitionName=pbatch Nodes=mcr[192-1151]
scontrol can be used to print all system information and
scontrol can be used to print all system information and
modify most of it. Only a few examples are shown below.
modify most of it. Only a few examples are shown below.
Please see the scontrol man page for full details.
Please see the scontrol man page for full details.
The commands and options are all case insensitive.
<p>
<p>
Print detailed state of all jobs in the system.
Print detailed state of all jobs in the system.
<pre>
<pre>
...
@@ -305,12 +307,19 @@ scontrol: update JobId=477 Priority=0
...
@@ -305,12 +307,19 @@ scontrol: update JobId=477 Priority=0
</pre>
</pre>
<p>
<p>
Print the state of node
<i>
adev13
</i>
and drain it.
Print the state of node
<i>
adev13
</i>
and drain it.
Return it to service later.
<pre>
<pre>
adev0: scontrol
adev0: scontrol
scontrol: show node adev13
scontrol: show node adev13
NodeName=adev13 State=ALLOCATED CPUs=2 RealMemory=3448 TmpDisk=32000
NodeName=adev13 State=ALLOCATED CPUs=2 RealMemory=3448 TmpDisk=32000
Weight=16 Partition=debug Features=(null)
Weight=16 Partition=debug Features=(null)
scontrol: update NodeName=adev13 State=DRAINING
scontrol: update NodeName=adev13 State=DRAINING
scontrol: show node adev13
NodeName=adev13 State=DRAINING CPUs=2 RealMemory=3448 TmpDisk=32000
Weight=16 Partition=debug Features=(null)
scontrol: quit
<i>
Later
</i>
adev0: scontrol update NodeName=adev13 State=IDLE
</pre>
</pre>
<p>
<p>
Reconfigure all slurm daemons on all nodes.
Reconfigure all slurm daemons on all nodes.
...
...
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