0

我刚刚看到

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

我在帮助中找到

  -t, --time=minutes          time limit

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

4

2 回答 2

1

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

请注意,可以将 Slurm 配置为在请求的时间过去后提供宽限期。见OverTimeLimit参数scontrol show config

于 2014-08-15T12:08:45.707 回答
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".
于 2014-08-14T12:45:32.990 回答