2
votes

I'm working on a cluster with 8 nodes; 4 nodes have python and 4 don't. How can I ensure that my python jobs only go to the nodes with python?

  • I do not have admin rights on the cluster
  • PBS Pro 13.1
  • RedHat 5.11

This question has been asked before, but those solutions are not working for me:

I am able to select a single node using qsub -l host=good_node1. However, I am not able to select a group of nodes or exclude a single node or group of nodes. A subset of the many attempts that have not worked for me:

  • qsub -l host=!bad_node1
  • qsub -l select=1:host=!bad_node1
  • qsub -l host=!bad_node1&!bad_node2
  • qsub -l nodes=good_node1+good_node2
2
Did you ever find out? - johnbaltis
A post to the PBS Pro forum said that it was not possible. forum.pbsworks.com/index.php?/topic/… - jerrytown
The forum link is now broken. Disappointed this is not possible! - NoahR
I have only used SGE (not PBS), but I use this to exclude nodes: -l h='!(bad_node1|bad_node2)'. Perhaps you could check if that works on your system too. - leekaiinthesky

2 Answers

1
votes

In our system, we have a specific property vnode with a unique host name. Let's say you want to exclude a node zubat2. You can exclude the node as follows: qsub -l select=1:vnode=^zubat2

0
votes

Know that it's a bit late. But the same issue happened and the following works for including a list of nodes (good_node1 and good_node2).

qsub -l select=1:host=good_node1+1:host=good_node2

This worked for pbs_version = 18.1.1.