使用 qsub/torque 提交作业时排除某些节点?
使用 qsub 提交批处理作业时,有没有办法排除某个节点(按主机名)?
像这样的东西
# this is just a pseudo command:
qsub myscript.sh --exclude computer01
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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
根据您想要可用的节点数量,有几个选项。
您可以按名称指定可接受的特定节点:
例如,要从一组中排除一个节点,我会要求管理员为除您想要排除的节点之外的所有节点分配一个虚拟属性。然后您就可以请求该属性。
来源:
http://www.clusterresources.com/torquedocs21/2.1jobsubmission.shtml#nodeExamples
http://www.clusterresources.com/torquedocs21/2.1jobsubmission.shtml#resources
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:
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