On Sun, Sep 28, 2014 at 5:53 AM, Marcin Stolarek <[email protected]>
wrote:
>
>
> Does I understood you correctly, that it's able to start interactive shell
> with:
> srun --pty bash in yours configuration and because this is non-login shell
> the environment have to be set on submit host?
>
> We forced our users to always use bash in login  (-l) mode in this case
> environment is set on worker nodes, I believe it's comon
>

This affects even non-interactive jobs, submitted with sbatch.  Environment
modifications done on the submission host in the submitting shell are
re-created in the job's environment on the compute node.  It's arguably
better practice to capture that all in the job script, but many people
(where I work at least) do it before submitting the job.

I'm not aware of anything we're setting to force bash login mode one way or
the other.  I would guess that might affect how the base environment is
built, but I believe Slurm will still propagate the relevant submission
environment after that in either case.

Best,

John

>

Reply via email to