Add acctg-freq to sbatch stage

This commit is contained in:
Rodrigo Arias 2020-09-03 16:19:19 +02:00
parent be95827927
commit c4dc42c2a4

View File

@ -20,6 +20,7 @@
, error ? "job_%j.err" , error ? "job_%j.err"
, contiguous ? null , contiguous ? null
, extra ? null , extra ? null
, acctgFreq ? null
}: }:
with stdenv.lib; with stdenv.lib;
@ -61,6 +62,7 @@ stdenv.mkDerivation rec {
+ sbatchOpt "time" time + sbatchOpt "time" time
+ sbatchOpt "qos" qos + sbatchOpt "qos" qos
+ sbatchOpt "reservation" reservation + sbatchOpt "reservation" reservation
+ sbatchOpt "acctg-freq" acctgFreq
+ optionalString (extra!=null) extra + optionalString (extra!=null) extra
+ +
'' ''