<div dir="ltr"><div><div>Hi Slurm-developers/users, <br><br></div>If I install multiple versions of a software library, each optimized for a different partition based on CPU architecture, how would I automatically load the version of software based on the nodes allocated to the job ? <br><br></div><div>Ideally I'd want to store the modules for each cpu arch at a different location and set the `MODULEPATH` at job startup to the lowest CPU-arch. (since our cluster only runs Intel CPU's, the software for lower arch would run on a higher arch). <br><br></div><div>Could someone point out how Slurm initializes the job environment at startup ? Based on this 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. <br><br></div><div>Alternatively, if someone could point out how they do this at their sites it would be useful as well. <br></div><div><div><div><div><br></div><div>Thanks in advance for the advice! <br></div><div><br></div><div>--<br></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div style="font-size:12.8px">Sajid Ali | PhD Candidate<br></div><div style="font-size:12.8px">Applied Physics<br></div><div style="font-size:12.8px">Northwestern University</div><div style="font-size:12.8px"><a href="http://s-sajid-ali.github.io" target="_blank">s-sajid-ali.github.io</a></div></div></div></div></div></div></div></div></div></div></div></div>