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
e3857f36
Commit
e3857f36
authored
2 years ago
by
Martin Schroschk
Browse files
Options
Downloads
Patches
Plain Diff
Lint and fix typos
parent
36b08214
No related branches found
No related tags found
2 merge requests
!735
Preview
,
!722
WIP: Document ressource requirements for parallel make
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
+6
-6
6 additions, 6 deletions
...h.tu-dresden.de/docs/jobs_and_resources/slurm_examples.md
with
6 additions
and
6 deletions
doc.zih.tu-dresden.de/docs/jobs_and_resources/slurm_examples.md
+
6
−
6
View file @
e3857f36
...
@@ -92,19 +92,19 @@ below.
...
@@ -92,19 +92,19 @@ below.
echo "All parallel job steps completed!"
echo "All parallel job steps completed!"
```
```
### Request Res
s
ources for Parallel Make
### Request Resources for Parallel Make
From time to time, you want to build and compile software and applications on a compute node.
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 res
s
ources for the parallel
`make`
command?
But, do you need to request tasks or CPUs from Slurm in order to provide resources for the parallel
The answer is "CPUs".
`make`
command?
The answer is "CPUs".
!!! example "Interactive allocation for parallel
`make`
command"
!!! example "Interactive allocation for parallel
`make`
command"
```console
```console
marie@login
$ srun --ntasks=1 --cpus-per-task=16 --mem=16G --time=01:00:00 --pty bash
marie@login$ srun --ntasks=1 --cpus-per-task=16 --mem=16G --time=01:00:00 --pty bash
[...]
[...]
marie@compute
$ # prepare the source code for building using configure, cmake or so
marie@compute$ # prepare the source code for building using configure, cmake or so
marie@compute
$ make -j
marie@compute$ make -j
```
```
## Requesting GPUs
## Requesting GPUs
...
...
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