sbatch: Add reservation flag
This commit is contained in:
parent
1473874563
commit
76b0a239e3
@ -14,6 +14,7 @@
|
|||||||
, nodes ? null
|
, nodes ? null
|
||||||
, exclusive ? true # By default we run in exclusive mode
|
, exclusive ? true # By default we run in exclusive mode
|
||||||
, qos ? null
|
, qos ? null
|
||||||
|
, reservation ? null
|
||||||
, time ? null
|
, time ? null
|
||||||
, output ? "job_%j.out"
|
, output ? "job_%j.out"
|
||||||
, error ? "job_%j.err"
|
, error ? "job_%j.err"
|
||||||
@ -60,6 +61,7 @@ stdenv.mkDerivation rec {
|
|||||||
+ sbatchEnable "exclusive" exclusive
|
+ sbatchEnable "exclusive" exclusive
|
||||||
+ sbatchOpt "time" time
|
+ sbatchOpt "time" time
|
||||||
+ sbatchOpt "qos" qos
|
+ sbatchOpt "qos" qos
|
||||||
|
+ sbatchOpt "reservation" reservation
|
||||||
+ optionalString (extra!=null) extra
|
+ optionalString (extra!=null) extra
|
||||||
+
|
+
|
||||||
''
|
''
|
||||||
|
Loading…
Reference in New Issue
Block a user