Skip to content
Snippets Groups Projects
Commit 60113f63 authored by Lars Jitschin's avatar Lars Jitschin
Browse files

Merge branch 'mflehmig--tu-dresden.de-preview-patch-53980' into 'preview'

WIP: Document ressource requirements for parallel make

See merge request !722
parents 0868fd0e e766b773
No related branches found
No related tags found
2 merge requests!735Preview,!722WIP: Document ressource requirements for parallel make
......@@ -92,6 +92,21 @@ below.
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
Slurm will allocate one or many GPUs for your job if requested. Please note that GPUs are only
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment