本文介绍了修改PBS作业的属性(包括队列)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想更改群集上计划的几个(空闲)作业的属性(挂墙时间和队列).

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

当我这样做时(其中1234是工作ID):

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

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

我收到以下错误:

qalter: illegally formed job identifier: newQueue

我该怎么办?

推荐答案

您需要分两个步骤进行操作:

You need to do this in two steps:

  1. qalter更改挂钟时间

qalter -l walltime=24:00:00 1234

  • qmove将作业移到newQueue

  • qmove to move the job to newQueue

    qmove newQueue 1234
    

  • 如果将newQueue的最长挂墙时间限制为24小时(并且之前安排的作业的最长挂墙时间较长),则此顺序可能很重要.

    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).

    这篇关于修改PBS作业的属性(包括队列)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

    06-29 15:19