可以延迟或错开通过具有qsub的作业阵列启动的作业的开始,例如qsub -t1-4 launch.pbs
我可以通过在我的pbs脚本中随机休眠一小段时间来做到这一点,但是我想知道是否有一种直接的方法可以通过qsub将其指定给调度程序
发布于 2019-02-22 21:00:28
是的,这是可能的。
来自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该任务将在下个月的第一天早上运行。
https://stackoverflow.com/questions/44394539
复制相似问题