Hi All,
We are switching our clusters from IBM Platform LSF over to OpenPBS.
One of our clusters has 2 types of nodes attached to it. One type is more powerful than the other. I’d like jobs to fill those nodes before the slower nodes.
In LSF it was possible to assign weights to nodes so they would get preference. I have taken a look through the PBSPro docs (is this the correct place to look for OpenPBS info) and I struggled to find anything.
Does anyone know if this is possible?
Cheers,
Neil.
There’s a setting in the sched_config file called ‘node_sort_key’ which should work for your use case. For example, if you define ‘powerful’ in terms of the number of cpus on the machines, then you could set node_sort_key as:
node_sort_key: “ncpus HIGH total” all
It’s very customizable, please see the section titled “Sorting Vnodes on a Key” in the admin guide
Awesome, that is exactly what I was looking for. Not sure how I missed that one.
Looks like I can configure higher priority for the newer nodes. And also set a secondary sort based on number of free cores, which is ideal
Cheers
1 Like