You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/software/container-engine/run.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@ Use `--environment` with the Slurm command (e.g., `srun` or `salloc`):
36
36
srun --environment=ubuntu cat /etc/os-release
37
37
```
38
38
39
-
Alternatively, the `--environment` option can also be specified with an `#SBATCH` option, but the support status is still **experimental** and may result in unexpected behaviors.
39
+
Specifying the `--environment` option with an `#SBATCH` optionis **experimental** and such usage is discouraged as it may result in unexpected behaviors.
40
40
41
41
!!! note
42
42
Specifying `--environment` with `#SBATCH` will put the entire batch script inside the containerized environment, requiring the Slurm hook to use any Slurm commands within the batch script (e.g., `srun` or `scontrol`).
0 commit comments