【问题标题】:Qsub - delaying/staggering job start with a job arrayQsub - 延迟/错开作业从作业数组开始
【发布时间】:2017-06-06 15:47:54
【问题描述】:

可以延迟或错开通过带有 qsub 的作业数组启动的作业的启动,例如qsub -t1-4 launch.pbs?

我可以通过在我的 pbs 脚本中休眠一小段但随机的时间来做到这一点,但我想知道是否有直接的方法通过 qsub 将其指定给调度程序

【问题讨论】:

标签: cluster-computing qsub


【解决方案1】:

是的,有可能。

来自http://gridscheduler.sourceforge.net/htmlman/htmlman1/qsub.html:

-a date_time
      Available for qsub and qalter only.

      Defines or redefines the time and date at which  a  job
      is   eligible  for  execution.  Date_time  conforms  to
      [[CC]]YY]MMDDhhmm[.SS], for  the  details,  please  see
      Date_time in:  sge_types(1).

      If this option is used with qsub or if a  corresponding
      value is specified in qmon then a parameter named a and
      the value in the format CCYYMMDDhhmm.SS will be  passed
      to  the defined JSV instances (see -jsv option below or
      find more information concerning JSV in jsv(1))

您可以在 .pbs 中添加此选项。

例如,

#PBS -a 1550

让任务等到 15:50;如果今天15:50运行太晚,明天运行;与

#PBS -a 010900

任务将在下个月的第一天早上运行。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2012-08-16
    • 1970-01-01
    • 2016-03-29
    • 1970-01-01
    • 1970-01-01
    • 2012-03-29
    • 2012-10-28
    • 2012-04-20
    相关资源
    最近更新 更多