Exclude certain nodes when submitting jobs with qsub / torque?

∥☆過路亽.° 提交于 2019-12-07 01:02:35

问题


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

回答1:


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:

http://www.clusterresources.com/torquedocs21/2.1jobsubmission.shtml#nodeExamples http://www.clusterresources.com/torquedocs21/2.1jobsubmission.shtml#resources



来源:https://stackoverflow.com/questions/9263327/exclude-certain-nodes-when-submitting-jobs-with-qsub-torque

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!