From 95bbeeb646408677685718e6a183df494760c038 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Date: Wed, 26 Apr 2023 13:35:06 +0200 Subject: [PATCH] Enable slurm in xeon01 --- xeon01/configuration.nix | 1 + xeon01/slurm.nix | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 xeon01/slurm.nix diff --git a/xeon01/configuration.nix b/xeon01/configuration.nix index 3bf8bba..9f651d8 100644 --- a/xeon01/configuration.nix +++ b/xeon01/configuration.nix @@ -3,6 +3,7 @@ { imports = [ ../common/main.nix + ./slurm.nix ]; # Select the this using the ID to avoid mismatches diff --git a/xeon01/slurm.nix b/xeon01/slurm.nix new file mode 100644 index 0000000..815c94a --- /dev/null +++ b/xeon01/slurm.nix @@ -0,0 +1,12 @@ +{ ... }: + +{ + services.slurm = { + client.enable = true; + controlMachine = "xeon07"; + clusterName = "owl"; + nodeName = [ + "xeon[01-02,07] Sockets=2 CoresPerSocket=14 ThreadsPerCore=2 Feature=xeon" + ]; + }; +}