Public Member Functions | |
def | parseAndRun |
def | parseAndSubmit |
def | batchWallTime |
Return walltime request for batch job. More... | |
def | batchCommand |
Return command to run CmdLineTask. More... | |
def | logOperation |
Provide a context manager for logging an operation. More... | |
Starts a BatchCmdLineTask with an MPI process pool Use this subclass of BatchCmdLineTask if you want to use the Pool directly.
Definition at line 509 of file parallel.py.
|
inherited |
Return command to run CmdLineTask.
cls,: | Class |
args,: | Parsed batch job arguments (from BatchArgumentParser) |
Definition at line 458 of file parallel.py.
|
inherited |
Return walltime request for batch job.
Subclasses should override if the walltime should be calculated differently (e.g., addition of some serial time).
cls,: | Class |
time,: | Requested time per iteration |
parsedCmd,: | Results of argument parsing |
numCores,: | Number of cores |
Definition at line 443 of file parallel.py.
|
inherited |
Provide a context manager for logging an operation.
operation,: | description of operation (string) |
catch,: | Catch all exceptions? |
trace,: | Log a traceback of caught exception? |
Note that if 'catch' is True, all exceptions are swallowed, but there may be other side-effects such as undefined variables.
Definition at line 484 of file parallel.py.
def lsst.ctrl.pool.parallel.BatchPoolTask.parseAndRun | ( | cls, | |
args, | |||
kwargs | |||
) |
Run with a MPI process pool
Definition at line 516 of file parallel.py.
|
inherited |
Definition at line 420 of file parallel.py.