Add OSU test benchmarks

This commit is contained in:
2020-08-18 18:28:30 +02:00
parent ecc01e4314
commit 1e07be863a
7 changed files with 134 additions and 10 deletions

View File

@@ -10,6 +10,7 @@
, argv ? ""
, binary ? "/bin/run"
, ntasks ? null
, ntasksPerNode ? null
, nodes ? null
, exclusive ? true # By default we run in exclusive mode
, qos ? null
@@ -51,6 +52,7 @@ stdenv.mkDerivation rec {
#SBATCH --job-name="${name}"
''
+ sbatchOpt "ntasks" ntasks
+ sbatchOpt "ntasks-per-node" ntasksPerNode
+ sbatchOpt "nodes" nodes
+ sbatchOpt "chdir" "${chdirPrefix}/$(basename $out)"
+ sbatchOpt "output" output