Work Queue Cleanup

Major cleanup of work_queue_pool and work_queue_worker.

work_queue_pool now queries the catalog for masters with a given project name (regex), computes the desired number of workers, and submits them with the same project name (regex).

work_queue_worker now clearly queries for the list of matching masters and tries them in a random order.  The worker no longer queries "wq_pool" records from the catalog for configuration.

There are still some problems here that need to be addressed:
- timeouts are used inconsistently, esp regarding when to disconnect after periods of idleness.
- accounting for resources locally doesn't look right, esp dividing by the number of workers.


trickle.sh goes with work_queue_test_watch.c, so perhaps the test directory
would be apropos.



On Fri, Jun 27, 2014 at 1:24 PM, Benjamin Tovar <notifications@github.com>
wrote:

> In work_queue/src/trickle.sh:
>
> > @@ -0,0 +1,11 @@
> > +#!/bin/sh
>
> I would like to move this file and other related to an example directory,
> as we have with makeflow.
>
> --
> Reply to this email directly or view it on GitHub
> <https://github.com/cooperative-computing-lab/cctools/pull/479/files#r14304192>
> .
>