Re: [slurm-users] Nodelist dependent environment setup ?

2020-04-04 Thread Sajid Ali
MODULEPATH=/home/path2" fi ``` Note: This was tested on my laptop using a set of docker containers using this configuration : https://github.com/SciDAS/slurm-in-docker . -- Sajid Ali | PhD Candidate Applied Physics Northwestern University s-sajid-ali.github.io

[slurm-users] Questions about spank plugins

2020-03-22 Thread Sajid Ali
starts to run, (specifically `SLURM_JOB_NODELIST` and `MODULEPATH`), should I do so via getenv (in allocator context for `srun`/`sbatch`) or via the `spank_job_control_getenv/setenv` functions in the PrologSlurmctld stage ? Thank You, Sajid Ali | PhD Candidate Applied Physics Northwestern University

Re: [slurm-users] Nodelist dependent environment setup ?

2020-02-28 Thread Sajid Ali
nodelist to set the appropriate modulepath. PS: I'm trying to do the same thing with spack! -- Sajid Ali | PhD Candidate Applied Physics Northwestern University s-sajid-ali.github.io

[slurm-users] Nodelist dependent environment setup ?

2020-02-28 Thread Sajid Ali
I'm hoping that it will be a relatively simple task to add a small script to determine nodelist and prepend the moduepath env var. Alternatively, if someone could point out how they do this at their sites it would be useful as well. Thanks in advance for the advice! -- Sajid Ali | PhD Ca