Skip to content
Snippets Groups Projects
Commit 2ce24bf2 authored by Matthias Schnepf's avatar Matthias Schnepf
Browse files

Replace Wall and start time by environment variables

parent 4b4a5f76
Branches
No related tags found
No related merge requests found
......@@ -18,8 +18,9 @@ TCP_KEEPALIVE_INTERVAL = 4 * $(MINUTE)
# Wall-time
WalltimeDefault = 54000
# Read/set MachineMaxWalltime & MachineStarttime (set by cloud-init)
include command into $(ETC)/walltime.cfg : python $(ETC)/meta_walltime.py
# Read/set MachineMaxWalltime & MachineStarttime
MachineStarttime = $ENV(SLURM_Starttime)
MachineWalltime = $ENV(SLURM_Walltime)
MachineWalltime = $(MachineMaxWalltime:$(WalltimeDefault))
MaxShutdownTime = $(MachineStarttime) + $(MachineWalltime)
STARTD.MaxJobRetirementTime = $(MaxShutdownTime) - $(JobStart:0) - 3 * $(MINUTE)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment