Modify attributes (including queue) of a pbs jobs

隐身守侯 提交于 2020-02-25 07:42:11

问题


I want to change the attributes (walltime and queue) of several (idle) jobs scheduled on a cluster.

When I do (where 1234 is the job id):

qalter -l walltime=24:00:00 -q newQueue 1234

I get the following error:

qalter: illegally formed job identifier: newQueue

What can I do?


回答1:


You need to do this in two steps:

  1. qalter to change the walltime

    qalter -l walltime=24:00:00 1234
    
  2. qmove to move the job to newQueue

    qmove newQueue 1234
    

This order might be important, if newQueue is restricted for a maximum walltime of 24 hours (and the jobs were scheduled for a longer maximum walltime before).



来源:https://stackoverflow.com/questions/28992677/modify-attributes-including-queue-of-a-pbs-jobs

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