summaryrefslogtreecommitdiff
path: root/vest
diff options
context:
space:
mode:
authorJonathan Clark <jon.h.clark@gmail.com>2011-03-11 10:27:43 -0500
committerJonathan Clark <jon.h.clark@gmail.com>2011-03-11 10:27:43 -0500
commit6b25a85dd45af5982e07577b33c64e3b577579c3 (patch)
tree3fc9146fd77139606e6bd7b263dd85a67e6a7488 /vest
parent92ca6e23b39043ad026c07a5aab71ffc750c1db2 (diff)
dont fail on possibly temporary qstat errors
Diffstat (limited to 'vest')
-rwxr-xr-xvest/parallelize.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/vest/parallelize.pl b/vest/parallelize.pl
index 2798a303..c2526503 100755
--- a/vest/parallelize.pl
+++ b/vest/parallelize.pl
@@ -283,7 +283,8 @@ sub numof_live_jobs {
if ($use_fork) {
die "not implemented";
} else {
- my @livejobs = grep(/$joblist/, split(/\n/, check_output("qstat")));
+ # We can probably continue decoding if the qstat error is only temporary
+ my @livejobs = grep(/$joblist/, split(/\n/, unchecked_output("qstat")));
return ($#livejobs + 1);
}
}