From 5ad2c683ed2d3d697aeb42cae7d94d2257253cb8 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 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Prevents enless jobs from being left forever, while allow users to request a larger time limit. Reviewed-by: Aleix Boné --- 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 fbce762..7b2acb9 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.