Qsub - 延迟/惊人的工作从一个工作阵列开始

问题描述 投票:0回答:1

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

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

cluster-computing qsub
1个回答
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

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

© www.soinside.com 2019 - 2024. All rights reserved.