wq_python_task
Directory actions
More options
Directory actions
More options
wq_python_task
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
The ensemble.py program shows how to run native python functions as Work Queue tasks. To run: 1. Install CCTools, and the dill python module. For example, using conda: conda create --yes --name work_queue_env python=3.8 dill conda install --yes --name work_queue_env install --channel=conda-forge ndcctools conda activate work_queue_env 2. Execute: python ensemble.py 3. Start workers, such as: work_queue_worker localhost 9123 This example assumes that the worker is executed inside a valid python environment. (For example, that the conda environment work_queue_env or similar is available at the worker's execution site.)