Skip to content

Commit 4715195

Browse files
committed
Update run.md
1 parent ae97ad7 commit 4715195

File tree

1 file changed

+3
-5
lines changed
  • docs/software/container-engine

1 file changed

+3
-5
lines changed

docs/software/container-engine/run.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,20 @@ There are three ways to do so:
66
1. **Through an absolute path**: an absolute path to EDF.
77

88
```console
9-
$ srun --environment=$SCRATCH/edf/debian.toml cat /etc/os-release
9+
$ srun --environment=${HOME}/.edf/ubuntu.toml echo "Hello"
1010
```
1111

1212
2. **Through a relative path**: a path relative from the current working directory (i.e., where the Slurm command is executed). Should be prepended by `./`.
1313

1414
```console
15-
$ srun --environment=./debian.toml cat /etc/os-release # (x)
15+
$ srun --environment=./.edf/ubuntu.toml echo "Hello" # currently at ${HOME}
1616
```
17-
x. Assuming `debian.toml` is in the current folder.
1817

1918
3. **From EDF search paths**: the name of EDF in [EDF search path][ref-ce-edf-search-path]. `--environment` also accepts the EDF filename without the `.toml` extension:
2019

2120
```console
22-
$ srun --environment=debian cat /etc/os-release # (1)
21+
$ srun --environment=ubuntu echo "Hello"
2322
```
24-
1. Assuming `debian.toml` is in the EDF search path.
2523

2624
### Use from batch scripts
2725

0 commit comments

Comments
 (0)