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
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
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
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