SGE unknown resource “nodes”

我是研究僧i 提交于 2019-12-13 08:25:17

问题


I submit a job on SGE with parameter -l like:

qsub -pe orte 4 -l nodes=4 run.sh    

However, the system displays that:

Unable to run job: unknown resource "nodes".

Could you tell me why and how to solve it? Thank you very much!


回答1:


With Sun Grid Engine, the correct resource parameter is h, not nodes:

echo 'echo `hostname`' | qsub -l h=<some_hostname>

Using this example, you should see the hostname you specified in the standard output file.




回答2:


There isn't a nodes resource. Instead you request a parallel environment and a number of slots (map to cores usually). The number of nodes you get is determined by the alloaction_rule of the parallel environment. There is usually a simple pe called something like mpi that will pack as many slots(cores) onto each node as will fit. Some people have created configs for grid engine that let it have a more PBS like syntax.



来源:https://stackoverflow.com/questions/27754174/sge-unknown-resource-nodes

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