用qsub/tork提交作业时排除某些节点? [英] Exclude certain nodes when submitting jobs with qsub / torque?
问题描述
使用qsub提交批处理作业时,是否可以通过主机名排除某个节点?
When submitting batch jobs with qsub, is there a way to exclude a certain node (by hostname)?
类似
# 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.
来源:
http://www.clusterresources.com/torquedocs21/2.1jobsubmission.shtml# nodeExamples http://www.clusterresources.com/torquedocs21/2.1jobsubmission.shtml#resources
这篇关于用qsub/tork提交作业时排除某些节点?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!