diff --git a/doc.zih.tu-dresden.de/docs/jobs_and_resources/slurm.md b/doc.zih.tu-dresden.de/docs/jobs_and_resources/slurm.md index 822de76fa769166b743f0d214d3ba87e8285e629..5da3c69156a571057d9aa9dbf085b2d87e1c2063 100644 --- a/doc.zih.tu-dresden.de/docs/jobs_and_resources/slurm.md +++ b/doc.zih.tu-dresden.de/docs/jobs_and_resources/slurm.md @@ -143,7 +143,8 @@ the command `salloc`. It takes the same options as `sbatch` to specify the requi `salloc` returns a new shell on the node, where you submitted the job. You need to use the command `srun` in front of the following commands to have these commands executed on the allocated resources. If you allocate more than one task, please be aware that `srun` will run the command on -each allocated task by default! +each allocated task by default! To release the allocated resources, invoke the command `exit` or +`scancel <jobid`. ```console marie@login$ salloc --nodes=2 @@ -158,6 +159,7 @@ tauruslogin5.taurus.hrsk.tu-dresden.de marie@login$ srun hostname taurusi6604.taurus.hrsk.tu-dresden.de taurusi6603.taurus.hrsk.tu-dresden.de +marie@login$ exit # ending the resource allocation ``` The command `srun` also creates an allocation, if it is running outside any `sbatch` or `salloc`