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
- To properly run in slurm, one is supposed to use "srun" for each job
step (though this isn't required). dff4482 added the srun, but this
has some side-effects, mainly (for me at least) that environment is
*actually* handled the way it should be. But this broke some
functionality that depended on environment. Since this caused
problems, and may cause problems for others, "srun" should be made
optional. This does that.
- The root problem is that the batch script reads .bashrc /
.bash_profile, but when the notebook server is run using 'srun', it
clears these environment variables and uses only the keepvars
setting. (Of course, this itself is a security risk and the initial
purpose of limiting the environment).
- To disable srun, set SlurmSpawner.req_srun=''.
- If, upon upgrading, your environment goes crazy and you aren't
seeing environment variables you expected, try setting this to ''.
0 commit comments