| Home | Trees | Indices | Help |
|
|---|
|
|
Support for job pools.
Using the above, you can set up a workflow which halts when any job on the workflow improves past a certain point:
from park.core.pool import terminate, any_improved M = mymodel servers = ['compufans','teragrid','teragrid',local_service] pool = [fit(M, server=s) for s in servers] terminate(pool, when=any_improved(pool, 'chisq<20'), server=local_server)
TODO: How do we make the output of terminate be the result of the first job to
| Functions | |||
| Composite conditions | |||
|---|---|---|---|
|
|||
|
|||
|
|||
|
|||
| Services | |||
|
|||
| Function Details |
Terminate a pool of jobs when condition is satisfied.
Standard job submission keywords are accepted, including::
when=condition
service=service
See `park.core.service.Proxy.submit`
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Mon Mar 16 15:03:12 2009 | http://epydoc.sourceforge.net |