我刚刚看到
sbatch [many options] -t 10-0 [more options + bash script]
我在帮助中找到
-t, --time=minutes time limit
所以-t
肯定是有时间限制的。但是是10-0
10分0秒吗?还是10小时0分钟?还是别的什么?
我刚刚看到
sbatch [many options] -t 10-0 [more options + bash script]
我在帮助中找到
-t, --time=minutes time limit
所以-t
肯定是有时间限制的。但是是10-0
10分0秒吗?还是10小时0分钟?还是别的什么?
这意味着10天。一般格式是d-hh:mm:ss
调度程序很可能不会尊重该ss
部分。
请注意,可以将 Slurm 配置为在请求的时间过去后提供宽限期。见OverTimeLimit
参数scontrol show config
我刚刚在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".