Archived
1
0
forked from rarias/bscpkgs

Refacto slurm configuration into compute/control

This commit is contained in:
2023-04-27 16:27:04 +02:00
parent 69bb2128db
commit 5dbbb27c43
6 changed files with 13 additions and 22 deletions

View File

@@ -1,10 +1,7 @@
{ config, pkgs, ... }:
{
imports = [
../common/main.nix
./slurm.nix
];
imports = [ ../common/main.nix ];
# Select the this using the ID to avoid mismatches
boot.loader.grub.device = "/dev/disk/by-id/wwn-0x55cd2e414d53566c";

View File

@@ -1,12 +0,0 @@
{ ... }:
{
services.slurm = {
client.enable = true;
controlMachine = "xeon07";
clusterName = "owl";
nodeName = [
"xeon[01-02,07] Sockets=2 CoresPerSocket=14 ThreadsPerCore=2 Feature=xeon"
];
};
}