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

2020-04-06 Thread Bas van der Vlies
we have solve this with a symbolic link to the optimized libraries on the node, eg: * /sw/arch ---> sara/eb/AVX2 * /sw/arch --> sara/eb/AVX512 and make use of '/sara/sw' in our module files. regards On 04/04/2020 19:36, Sajid Ali wrote: Answering my own question so that it may serve as a

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

2020-04-04 Thread Sajid Ali
Answering my own question so that it may serve as a reference: This can be done by setting up a task prolog as shown below : ``` #!/bin/sh # # Sample TaskProlog script that will print a batch job's # job ID and node list to the job's stdout. # Also sets the modulepath based on nodelist # if [

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

2020-02-28 Thread Sajid Ali
Hi Ole, Thanks a lot for sharing the resource! Our biggest concern is the case where a user asks for 2 nodes and one of those is a Cascade Lake node and the other one is a Haswell node. At this point, the environment have modules that work on both, hence my preference for reading the slurm

[slurm-users] Nodelist dependent environment setup ?

2020-02-28 Thread Sajid Ali
Hi Slurm-developers/users, 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 ? Ideally I'd want to store the modules for each cpu