我刚看到
sbatch [many options] -t 10-0 [more options + bash script]
我在帮助中找到了
-t, --time=minutes time limit
所以-t
肯定是时间限制。但10-0
是10分0秒?还是10小时0分钟?甚至是别的什么?
答案 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
参数