Skip to content

Commit 4e17f44

Browse files
note on slurm variables
1 parent 5823e38 commit 4e17f44

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/5_working_with_job_scheduler.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,10 @@ As with most other scheduler systems, job submission scripts in Slurm consist of
178178
```bash
179179
sacct
180180
```
181+
??? hand-holding-dollar "`$SLURM_JOB_ID`"
182+
`$SLURM_JOB_ID` is a Slurm environment variable.
183+
- A full list of environment variables for SLURM can be found by visiting the [SLURM page on environment variables](https://slurm.schedmd.com/sbatch.html#SECTION_INPUT-ENVIRONMENT-VARIABLES)
184+
- These variables are great for recursive operations.
181185
- - -
182186

183187
!!! magnifying-glass "STDOUT/STDERR from jobs"

0 commit comments

Comments
 (0)