Success sbatch launch in MN4 with nbody seq

This commit is contained in:
2020-08-10 14:13:28 +02:00
parent 9631f4c223
commit b9e9409a59
4 changed files with 26 additions and 8 deletions

View File

@@ -5,6 +5,7 @@
{
app
, prefix ? ""
, argv ? ""
, binary ? "/bin/run"
, ntasks ? null
@@ -55,11 +56,9 @@ stdenv.mkDerivation rec {
+ sbatchOpt "time" time
+ sbatchOpt "qos" qos
+ optionalString (extra!=null) extra
+''
${numactl}/bin/numactl -s
srun ${app}${binary} ${argv}
+
''
srun ${prefix}${app}${binary} ${argv}
EOF
'';
}