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" + ]; + }; +}