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
40076fea
Commit
40076fea
authored
11 months ago
by
Martin Schroschk
Browse files
Options
Downloads
Patches
Plain Diff
Layout: srun as command
parent
a50b4b89
No related branches found
No related tags found
2 merge requests
!1071
Automated merge from preview to main
,
!1061
Spring clean: Remove partition; use cluster
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc.zih.tu-dresden.de/docs/jobs_and_resources/slurm_examples.md
+3
-3
3 additions, 3 deletions
...h.tu-dresden.de/docs/jobs_and_resources/slurm_examples.md
with
3 additions
and
3 deletions
doc.zih.tu-dresden.de/docs/jobs_and_resources/slurm_examples.md
+
3
−
3
View file @
40076fea
...
@@ -204,10 +204,10 @@ three things:
...
@@ -204,10 +204,10 @@ three things:
1.
Allocate enough resources to accommodate multiple instances of our program. This can be achieved
1.
Allocate enough resources to accommodate multiple instances of our program. This can be achieved
with an appropriate batch script header (see below).
with an appropriate batch script header (see below).
1.
Start job steps with srun as background processes. This is achieved by adding an ampersand at
the
1.
Start job steps with
`
srun
`
as background processes. This is achieved by adding an ampersand at
end of the
`srun`
command
the
end of the
`srun`
command
.
1.
Make sure that each background process gets its private resources. We need to set the resource
1.
Make sure that each background process gets its private resources. We need to set the resource
fraction needed for a single run in the corresponding srun command. The total aggregated
fraction needed for a single run in the corresponding
`
srun
`
command. The total aggregated
resources of all job steps must fit in the allocation specified in the batch script header.
resources of all job steps must fit in the allocation specified in the batch script header.
Additionally, the option
`--exclusive`
is needed to make sure that each job step is provided with
Additionally, the option
`--exclusive`
is needed to make sure that each job step is provided with
its private set of CPU and GPU resources. The following example shows how four independent
its private set of CPU and GPU resources. The following example shows how four independent
...
...
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