在SLURM中像-t 10-0这样的破折号的时间限制是什么意思?

时间:2014-08-14 12:42:35

标签: slurm

我刚看到

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

我在帮助中找到了

  -t, --time=minutes          time limit

所以-t肯定是时间限制。但10-0是10分0秒?还是10小时0分钟?甚至是别的什么?

2 个答案:

答案 0 :(得分:0)

我刚刚在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".

答案 1 :(得分:0)

这意味着10天。一般格式为d-hh:mm:ss,但调度程序很可能不会尊重ss部分。

请注意,Slurm可以配置为在请求的时间过后提供宽限期。请参阅OverTimeLimit

中的scontrol show config参数