SLURM 中带有破折号的时间限制 -t 10-0 是什么意思?

3

我刚刚看到了

sbatch [many options] -t 10-0 [more options + bash script]

我在帮助文件中找到了

  -t, --time=minutes          time limit

所以 -t 明确是一个时间限制。但是 10-0 是指10分钟0秒吗?还是10小时0分钟?或者其他什么东西?

2个回答

3
这意味着10天。一般的格式是,但调度程序很可能不会遵守部分。请注意,Slurm可以配置为在请求的时间过去后提供一个宽限期。请参见scontrol show config中的OverTimeLimit参数。

1
我刚在“man”页面中找到了它:

-t, --time=<time>
      Set  a  limit on the total run time of the job allocation.  If the requested time limit exceeds the partition's time limit, the job
      will be left in a PENDING state (possibly indefinitely).  The default time limit is the partition's  time  limit.   When  the  time
      limit is reached, each task in each job step is sent SIGTERM followed by SIGKILL.  The interval between signals is specified by the
      SLURM configuration parameter KillWait.  A time limit of zero requests that no time limit  be  imposed.   Acceptable  time  formats
      include "minutes", "minutes:seconds", "hours:minutes:seconds", "days-hours", "days-hours:minutes" and "days-hours:minutes:seconds".

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接