File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed
docs/software/container-engine Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -27,14 +27,16 @@ $ srun --environment=debian cat /etc/os-release # (1)
2727
2828The recommended approach is to use ` --environment ` as part of the Slurm command (e.g., ` srun ` or ` salloc ` ):
2929
30- ``` console
31- #!/bin/bash
32- #SBATCH --job-name=edf-example
33- ...
30+ !!! example "` srun ` inside a batch script with EDF"
31+ ```console
32+ #!/bin/bash
33+ #SBATCH --job-name=edf-example
34+ #SBATCH --time=00:01:00
35+ ...
3436
35- # Run job step
36- srun --environment=debian cat /etc/os-release
37- ```
37+ # Run job step
38+ srun --environment=debian cat /etc/os-release
39+ ```
3840
3941Alternatively, the ` --environment ` option can also be specified with an ` #SBATCH ` option.
4042However, the support status is still ** experimental** and may result in unexpected behaviors.
You can’t perform that action at this time.
0 commit comments