aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJustin Bedo <cu@cua0.org>2018-12-19 09:51:57 +1100
committerJustin Bedo <cu@cua0.org>2018-12-19 09:51:57 +1100
commit8501b505c9cec5768b2f1dfcb49f13e0f0611011 (patch)
treef3f65b63a73844a96eb7ab2b6da9c5c2029e09f3 /lib
parent74b84ea649f2b34e038d069d9e4f904230571ea4 (diff)
qsub: echo out PBS_NODE_ID to ease debugging
Diffstat (limited to 'lib')
-rw-r--r--lib/qsub.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/qsub.nix b/lib/qsub.nix
index 77e773f..1b1ab8d 100644
--- a/lib/qsub.nix
+++ b/lib/qsub.nix
@@ -16,6 +16,7 @@
TMP=$TMPDIR
NIX_BUILD_TOP=$TMPDIR
cd $TMPDIR
+ echo I am $PBS_JOBID
${builder} ${lib.escapeShellArgs args} > qsub-stdout 2> qsub-stderr
echo $? > qsub-exit
'';