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
Merge requests
!722
WIP: Document ressource requirements for parallel make
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
WIP: Document ressource requirements for parallel make
mflehmig--tu-dresden.de-preview-patch-53980
into
preview
Overview
0
Commits
3
Pipelines
0
Changes
1
Merged
Martin Schroschk
requested to merge
mflehmig--tu-dresden.de-preview-patch-53980
into
preview
2 years ago
Overview
0
Commits
3
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Compare
preview
version 2
e3857f36
2 years ago
version 1
36b08214
2 years ago
preview (base)
and
latest version
latest version
e766b773
3 commits,
2 years ago
version 2
e3857f36
2 commits,
2 years ago
version 1
36b08214
1 commit,
2 years ago
1 file
+
15
−
0
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
doc.zih.tu-dresden.de/docs/jobs_and_resources/slurm_examples.md
+
15
−
0
Options
@@ -92,6 +92,21 @@ below.
@@ -92,6 +92,21 @@ below.
echo "All parallel job steps completed!"
echo "All parallel job steps completed!"
```
```
### Request Resources for Parallel Make
From time to time, you want to build and compile software and applications on a compute node.
But, do you need to request tasks or CPUs from Slurm in order to provide resources for the parallel
`make`
command? The answer is "CPUs".
!!! example "Interactive allocation for parallel
`make`
command"
```console
marie@login$ srun --ntasks=1 --cpus-per-task=16 --mem=16G --time=01:00:00 --pty bash --login
[...]
marie@compute$ # prepare the source code for building using configure, cmake or so
marie@compute$ make -j
```
## Requesting GPUs
## Requesting GPUs
Slurm will allocate one or many GPUs for your job if requested. Please note that GPUs are only
Slurm will allocate one or many GPUs for your job if requested. Please note that GPUs are only
Loading