From 4b6b67b587801ee0e320c7543c3ad9d0d98342a3 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Fri, 29 Aug 2025 14:40:43 +0200 Subject: [PATCH] Add fox machine to SLURM Reviewed-by: Aleix Roca Nonell --- m/fox/configuration.nix | 1 + m/module/slurm-common.nix | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/m/fox/configuration.nix b/m/fox/configuration.nix index ab829496..aac13bb1 100644 --- a/m/fox/configuration.nix +++ b/m/fox/configuration.nix @@ -6,6 +6,7 @@ ../common/xeon/console.nix ../module/emulation.nix ../module/nvidia.nix + ../module/slurm-client.nix ./wireguard.nix ]; diff --git a/m/module/slurm-common.nix b/m/module/slurm-common.nix index 23038309..180e2a54 100644 --- a/m/module/slurm-common.nix +++ b/m/module/slurm-common.nix @@ -31,10 +31,12 @@ in { clusterName = "jungle"; nodeName = [ "owl[1,2] Sockets=2 CoresPerSocket=14 ThreadsPerCore=2 Feature=owl" + "fox Sockets=8 CoresPerSocket=24 ThreadsPerCore=1" ]; partitionName = [ "owl Nodes=owl[1-2] Default=YES DefaultTime=01:00:00 MaxTime=INFINITE State=UP" + "fox Nodes=fox Default=NO DefaultTime=01:00:00 MaxTime=INFINITE State=UP" ]; # See slurm.conf(5) for more details about these options. @@ -62,7 +64,7 @@ in { SuspendTimeout=60 ResumeProgram=${resumeProgram} ResumeTimeout=300 - #SuspendExcNodes= + SuspendExcNodes=fox # Turn the nodes off after 1 hour of inactivity SuspendTime=3600