Skip to content
Snippets Groups Projects
Commit a7806562 authored by Wout De Nolf's avatar Wout De Nolf
Browse files

document parallel execution

parent e7d4d429
No related branches found
No related tags found
1 merge request!83document parallel execution
Pipeline #108841 passed
......@@ -35,5 +35,6 @@ Documentation
.. toctree::
:maxdepth: 2
parallel
actors
api
# Parallel execution
Options for parallel execution can be provided when executing a workflow
.. code:: python
from ewoksppf import execute_graph
result = execute_graph("/path/to/graph.json", pool_type=..., scaling_workers=..., max_workers=...)
The options are
* `pool_type`: _thread_, _process_ (default), _ndprocess_, _multiprocessing_,
_ndmultiprocessing_, _billiard_, _gevent_ (default)
* `scaling_workers`: _True_ (default) or _False_
* `max_workers`: only applies when _scaling_workers=False_
* `context`: _spawn_ or _fork_ (only applies when using processes)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment