sbatch: store queued status
This commit is contained in:
parent
2151e20bd6
commit
bde54c69c5
@ -97,6 +97,7 @@ stdenv.mkDerivation rec {
|
|||||||
cat > $out/run <<EOF
|
cat > $out/run <<EOF
|
||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
${slurm}/bin/sbatch ${nixPrefix}$out/job
|
${slurm}/bin/sbatch ${nixPrefix}$out/job
|
||||||
|
echo queued > status
|
||||||
EOF
|
EOF
|
||||||
chmod +x $out/run
|
chmod +x $out/run
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user