PBS submitting job to wrong node

It is a not a good configuration to hardcode node to the queue ( qmgr -c “set node queue=” ) , instead use Qlists.

  1. qmgr -c "create resource nodetype type=string_array,flag=h"

  2. add “nodetype” to the sched_config’s resources: “…,nodetype” line and kill -HUP

  3. qmgr -c “s q normal default_chunk.nodetype=normal”
    qmgr -c “s q large default_chunk.nodetype=large”
    qmgr -c “s q xlarge default_chunk.nodetype=xlarge”
    qmgr -c “s q xxlarge default_chunk.nodetype=xxlarge”

  4. for i in normal_node_types ; do qmgr -c “set node $i resources_available.nodetype=normal”
    for i in large_node_types ; do qmgr -c “set node $i resources_available.nodetype=large”
    for i in xlarge_node_types ; do qmgr -c “set node $i resources_available.nodetype=xlarge”
    for i in xxlarge_node_types ; do qmgr -c “set node $i resources_available.nodetype=xxlarge”

  5. Now submit jobs respective queues, they will land on to respective nodes

Please check this section 4.9.2.2.i Procedure to Associate Vnodes with Multiple Queues from

Thank you

2 Likes