MPGraphExecutor#
- class lsst.ctrl.mpexec.MPGraphExecutor(*args, **kwargs)#
Bases:
MPGraphExecutorImplementation of QuantumGraphExecutor using same-host multiprocess execution of Quanta.
This is a deprecated backwards-compatibility shim for
lsst.pipe.base.mp_graph_executor.MPGraphExecutor, which has the same functionality with very minor interface changes.Parameters#
- numProc
int Number of processes to use for executing tasks.
- timeout
float Time in seconds to wait for tasks to finish.
- quantumExecutor
lsst.pipe.base.quantum_graph_executor.QuantumExecutor Executor for single quantum. For multiprocess-style execution when
num_procis greater than one this instance must support pickle.- startMethod
str, optional Start method from
multiprocessingmodule,Noneselects the best one for current platform.- failFast
bool, optional If set to
Truethen stop processing on first error from any task.- pdb
str, optional Debugger to import and use (via the
post_mortemfunction) in the event of an exception.- executionGraphFixup
lsst.pipe.base.execution_graph_fixup.ExecutionGraphFixup, optional Instance used for modification of execution graph.
Deprecated since version v30: The MPGraphExecutor class has moved to lsst.pipe.base.mp_graph_executor. This forwarding shim will be removed after v30.
Attributes Summary
Attributes Documentation
- executionGraphFixup#
- failFast#
- numProc#
- pdb#
- quantumExecutor#
- report#
- startMethod#
- timeout#
- numProc