@@ -124,7 +124,7 @@ Notice that Slurm spread our job across 2 different nodes; by default, Slurm sel
...
@@ -124,7 +124,7 @@ Notice that Slurm spread our job across 2 different nodes; by default, Slurm sel
* Beginning with 22.05, `srun` will not inherit the `--cpus-per-task` value requested by `salloc` or `sbatch`. It must be requested again with the call to `srun` or set with the `SRUN_CPUS_PER_TASK` environment variable if desired for the task(s).
* Beginning with 22.05, `srun` will not inherit the `--cpus-per-task` value requested by `salloc` or `sbatch`. It must be requested again with the call to `srun` or set with the `SRUN_CPUS_PER_TASK` environment variable if desired for the task(s).
#### Job environment_variables
#### Job Environment Variables
Slurm exposes useful information about job to job main process (usually shell) via environment variables.
Slurm exposes useful information about job to job main process (usually shell) via environment variables.
To view all of the Slurm's environment variables, use the command:
To view all of the Slurm's environment variables, use the command: