slurm/module: add ProcTrackType option to unbreak default setup

This commit is contained in:
Markus Kowalewski 2018-05-22 13:55:13 +02:00
parent c29d2fde74
commit 2a14e898bc
No known key found for this signature in database
GPG Key ID: 502A248E3FB4FF48

View File

@ -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;