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
commitb21ffd82e89c12daa22457a81431bc99bd879fa0 (patch)
tree4446dd98216d9d6148f5854f7480eb693c24a505 /vest
parent6026994f4d3b9e3e6a04b1205415a4d03fb83b63 (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);
}
}