forked from rarias/bscpkgs
Simplify flake and expose host pkgs
The configuration of the machines is now moved to m/
This commit is contained in:
17
m/common/slurm.nix
Normal file
17
m/common/slurm.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
services.slurm = {
|
||||
client.enable = true;
|
||||
controlMachine = "hut";
|
||||
clusterName = "owl";
|
||||
nodeName = [
|
||||
"owl[1,2] Sockets=2 CoresPerSocket=14 ThreadsPerCore=2 Feature=owl"
|
||||
"hut Sockets=2 CoresPerSocket=14 ThreadsPerCore=2"
|
||||
];
|
||||
extraConfig = ''
|
||||
MpiDefault=pmix
|
||||
ReturnToService=2
|
||||
'';
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user