lsst.ctrl.pool  13.0-6-gf96f8ec+35
Public Member Functions | Static Public Attributes | List of all members
lsst.ctrl.pool.parallel.BatchParallelTask Class Reference
Inheritance diagram for lsst.ctrl.pool.parallel.BatchParallelTask:
lsst.ctrl.pool.parallel.BatchCmdLineTask

Public Member Functions

def parseAndRun (cls, args, kwargs)
 
- Public Member Functions inherited from lsst.ctrl.pool.parallel.BatchCmdLineTask
def parseAndSubmit (cls, args=None, kwargs)
 
def batchWallTime (cls, time, parsedCmd, numCores)
 Return walltime request for batch job. More...
 
def batchCommand (cls, args)
 Return command to run CmdLineTask. More...
 
def logOperation (self, operation, catch=False, trace=True)
 Provide a context manager for logging an operation. More...
 

Static Public Attributes

 RunnerClass = BatchTaskRunner
 

Detailed Description

Runs the BatchCmdLineTask in parallel

Use this subclass of BatchCmdLineTask if you don't need to use the Pool
directly, but just want to iterate over many objects (like a multi-node
version of the '-j' command-line argument).

Definition at line 578 of file parallel.py.

Member Function Documentation

◆ parseAndRun()

def lsst.ctrl.pool.parallel.BatchParallelTask.parseAndRun (   cls,
  args,
  kwargs 
)
Parse an argument list and run the command

This is the entry point when we run in earnest, so start the process pool
so that the worker nodes don't go any further.

Definition at line 598 of file parallel.py.

Member Data Documentation

◆ RunnerClass

lsst.ctrl.pool.parallel.BatchParallelTask.RunnerClass = BatchTaskRunner
static

Definition at line 585 of file parallel.py.


The documentation for this class was generated from the following file: