Skip to content

Commit c9d580e

Browse files
committed
triton/apps/vscode: note about proxycommand + SLURM_JOB_ID
1 parent 853dabd commit c9d580e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

triton/apps/vscode.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,14 @@ Possible issues which may affect usage:
128128
* If the job dies due to time or memory exceeded, the same as above
129129
will happen: your job will die and there is no time to save.
130130

131+
* If you ``srun`` from within the job, then it gets messed up because
132+
the environment variable ``SLURM_JOB_ID`` is set from the
133+
interactive job that got started. It's hard for us to unset this,
134+
so if you are using the terminal to ``srun`` or ``sbatch``, you
135+
should ``unset SLURM_JOB_ID`` first. (Note there are many other
136+
variables set by Slurm. Make sure that they don't interfere with
137+
jobs you may run from this vscode session).
138+
131139
* If you request a GPU node or other high resources, this is reserved
132140
the whole time even if you aren't using them. Consider this before
133141
reserving large resources (unless you close the jobs soon), or you

0 commit comments

Comments
 (0)