BaseDaskBackend
- class openff.evaluator.backends.dask.BaseDaskBackend(number_of_workers=1, resources_per_worker=ComputeResources())[source]
A base dask backend class, which implements functionality which is common to all other dask based backends.
- __init__(number_of_workers=1, resources_per_worker=ComputeResources())[source]
Constructs a new BaseDaskBackend object.
Methods
__init__
([number_of_workers, ...])Constructs a new BaseDaskBackend object.
start
()Start the calculation backend.
stop
()Stop the calculation backend.
submit_task
(function, *args, **kwargs)Submit a task to the compute resources managed by this backend.
Attributes
Returns whether this backend has been started yet.
- start()[source]
Start the calculation backend.
- stop()[source]
Stop the calculation backend.