diff options
author | Jonathan Clark <jon.h.clark@gmail.com> | 2011-03-11 10:27:43 -0500 |
---|---|---|
committer | Jonathan Clark <jon.h.clark@gmail.com> | 2011-03-11 10:27:43 -0500 |
commit | 6b25a85dd45af5982e07577b33c64e3b577579c3 (patch) | |
tree | 3fc9146fd77139606e6bd7b263dd85a67e6a7488 /vest/parallelize.pl | |
parent | 92ca6e23b39043ad026c07a5aab71ffc750c1db2 (diff) |
dont fail on possibly temporary qstat errors
Diffstat (limited to 'vest/parallelize.pl')
-rwxr-xr-x | vest/parallelize.pl | 3 |
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); } } |