Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
hpc-compendium
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
ZIH
hpcsupport
hpc-compendium
Commits
26851340
Commit
26851340
authored
1 year ago
by
Michael Müller
Browse files
Options
Downloads
Plain Diff
Merge branch 'issue-499' into 'preview'
Doc: Resolve
!499
by documenting Slurm option --switches See merge request
!891
parents
cdfa2709
950ed97e
No related branches found
Branches containing commit
No related tags found
2 merge requests
!905
Automated merge from preview to main
,
!891
Doc: Resolve !499 by documenting Slurm option --switches
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc.zih.tu-dresden.de/docs/jobs_and_resources/slurm.md
+11
-0
11 additions, 0 deletions
doc.zih.tu-dresden.de/docs/jobs_and_resources/slurm.md
with
11 additions
and
0 deletions
doc.zih.tu-dresden.de/docs/jobs_and_resources/slurm.md
+
11
−
0
View file @
26851340
...
...
@@ -132,6 +132,7 @@ resource requirements and control communication.
| `-a, --array=<arg>` | Submit an array job ([examples](slurm_examples.md#array-jobs)) |
| `-w <node1>,<node2>,...` | Restrict job to run on specific nodes only |
| `-x <node1>,<node2>,...` | Exclude specific nodes from job |
| `--switches=<count>[@max-time]` | Optimum switches and max time to wait for optimum |
| `--test-only` | Retrieve estimated start time of a job considering the job queue; does not actually submit the job nor run the application |
!!! note "Output and Error Files"
...
...
@@ -152,6 +153,16 @@ If you want to place your job onto specific nodes, there are two options for doi
`-p, --partition=<name>`
to specify a host group aka.
[
partition
](
partitions_and_limits.md
)
that fits
your needs. Or, use
`-w, --nodelist=<host1,host2,..>`
with a list of hosts that will work for you.
### Number of Switches
You can fine tune your job by specifying the number of switches desired for the job allocation and
optionally the maximum time to wait for that number of switches. The corresponding option to
`sbatch`
is
`--switches=<count>[@max-time]`
. The job remains pending until it either finds an
allocation with desired switch count or the time limit expires. Acceptable time formats include
"minutes", "minutes:seconds", "hours:minutes:seconds", "days-hours", "days-hours:minutes" and
"days-hours:minutes:seconds". For a detailed explanation, please refer to the
[
sbatch online documentation
](
https://slurm.schedmd.com/sbatch.html#OPT_switches
)
.
## Interactive Jobs
Interactive activities like editing, compiling, preparing experiments etc. are normally limited to
...
...
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