天天看點

qsub 指定節點,用qsub / torque送出作業時排除某些節點?

qsub 指定節點,用qsub / torque送出作業時排除某些節點?

When submitting batch jobs with qsub, is there a way to exclude a certain node (by hostname)?

Something like

# this is just a pseudo command:

qsub myscript.sh --exclude computer01

解決方案

Depending on how many nodes you would like available, there are a couple of options.

You could specify by name a specific node that is acceptable:

qsub -l nodes=n006+n007

To exclude, say, one node out of a group, I would ask the administrator to assign a dummy property to all nodes but the one you want excluded. Then you can request for that property.

Sources: