File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed
docs/software/container-engine Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change 22
33Specifying the ` --environment ` option to the Slurm command (e.g., ` srun ` or ` salloc ` ) will make it run inside the EDF environment:
44
5- !!! example "Specifying EDF with an absolute path"
6- ```bash
7- $ srun --environment=$SCRATCH/edf/debian.toml cat /etc/os-release
8- PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
9- NAME="Debian GNU/Linux"
10- VERSION_ID="12"
11- ...
12- ```
5+ ``` bash title="Specifying EDF with an absolute path"
6+ $ srun --environment=$SCRATCH /edf/debian.toml cat /etc/os-release
7+ PRETTY_NAME=" Debian GNU/Linux 12 (bookworm)"
8+ NAME=" Debian GNU/Linux"
9+ VERSION_ID=" 12"
10+ ...
11+ ```
1312
1413` --environment ` can be a relative path from the current working directory (i.e., where the Slurm command is executed).
1514A relative path should be prepended by ` ./ ` :
You can’t perform that action at this time.
0 commit comments