Refacto slurm configuration into compute/control
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
./fs.nix
|
||||
./hw.nix
|
||||
./net.nix
|
||||
./slurm.nix
|
||||
./ssh.nix
|
||||
./users.nix
|
||||
];
|
||||
|
||||
12
common/slurm.nix
Normal file
12
common/slurm.nix
Normal file
@@ -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"
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user