From 5e6cf2b5637c5612f75f783b10e8d42f5a0f1df8 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Thu, 18 Jul 2024 11:44:01 +0200 Subject: [PATCH] Set default SLURM job time limit to one hour Prevents enless jobs from being left forever, while allow users to request a larger time limit. --- m/module/slurm-client.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/m/module/slurm-client.nix b/m/module/slurm-client.nix index e81577e..4574d3c 100644 --- a/m/module/slurm-client.nix +++ b/m/module/slurm-client.nix @@ -47,8 +47,8 @@ in { ]; partitionName = [ - "owl Nodes=owl[1-2] Default=YES MaxTime=INFINITE State=UP" - "all Nodes=owl[1-2],hut Default=NO MaxTime=INFINITE State=UP" + "owl Nodes=owl[1-2] Default=YES DefaultTime=01:00:00 MaxTime=INFINITE State=UP" + "all Nodes=owl[1-2],hut Default=NO DefaultTime=01:00:00 MaxTime=INFINITE State=UP" ]; # See slurm.conf(5) for more details about these options.