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] Resources are free but Job is not getting scheduled.

2020-04-04 Thread navin srivastava
i missed to add the scheduling parameter. SchedulerType=sched/builtin #SchedulerParameters=enable_user_top SelectType=select/cons_res #SelectTypeParameters=CR_Core_Memory SelectTypeParameters=CR_Core # JOB PRIORITY PriorityType=priority/multifactor PriorityDecayHalfLife=2

[slurm-users] Resources are free but Job is not getting scheduled.

2020-04-04 Thread navin srivastava
Hi Team, I am facing one issue in my environment. our slurm version is 17.11.x My question is i have 2 partition: Queue A with node1 and node2 with Priority=1000 shared=yes Queue B with node1 and node2 with priority=100. shared =yes Problem is when job from A partition is running then the