summary refs log tree commit diff
path: root/nixos/modules/services/computing
diff options
context:
space:
mode:
authorMarkus Kowalewski <markus.kowalewski@fysik.su.se>2018-05-22 13:55:13 +0200
committerMarkus Kowalewski <markus.kowalewski@fysik.su.se>2018-05-24 11:11:37 +0200
commit2a14e898bcf5ed9e6647f3b60c0444adba18a9ce (patch)
tree30548dfab8b0ea56905545171e3448f405eeb0f6 /nixos/modules/services/computing
parentc29d2fde74d03178ed42655de6dee389f2b7d37f (diff)
downloadnixlib-2a14e898bcf5ed9e6647f3b60c0444adba18a9ce.tar
nixlib-2a14e898bcf5ed9e6647f3b60c0444adba18a9ce.tar.gz
nixlib-2a14e898bcf5ed9e6647f3b60c0444adba18a9ce.tar.bz2
nixlib-2a14e898bcf5ed9e6647f3b60c0444adba18a9ce.tar.lz
nixlib-2a14e898bcf5ed9e6647f3b60c0444adba18a9ce.tar.xz
nixlib-2a14e898bcf5ed9e6647f3b60c0444adba18a9ce.tar.zst
nixlib-2a14e898bcf5ed9e6647f3b60c0444adba18a9ce.zip
slurm/module: add ProcTrackType option to unbreak default setup
Diffstat (limited to 'nixos/modules/services/computing')
-rw-r--r--nixos/modules/services/computing/slurm/slurm.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/nixos/modules/services/computing/slurm/slurm.nix b/nixos/modules/services/computing/slurm/slurm.nix
index 45d34f5b76f5..314cc3f61ecc 100644
--- a/nixos/modules/services/computing/slurm/slurm.nix
+++ b/nixos/modules/services/computing/slurm/slurm.nix
@@ -13,6 +13,7 @@ let
       ${optionalString (cfg.nodeName != null) ''nodeName=${cfg.nodeName}''}
       ${optionalString (cfg.partitionName != null) ''partitionName=${cfg.partitionName}''}
       PlugStackConfig=${plugStackConfig}
+      ProctrackType=${cfg.procTrackType}
       ${cfg.extraConfig}
     '';
 
@@ -103,6 +104,16 @@ in
         '';
       };
 
+      procTrackType = mkOption {
+        type = types.string;
+        default = "proctrack/linuxproc";
+        description = ''
+          Plugin to be used for process tracking on a job step basis.
+          The slurmd daemon uses this mechanism to identify all processes
+          which are children of processes it spawns for a user job step.
+        '';
+      };
+
       extraConfig = mkOption {
         default = "";
         type = types.lines;