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

Public Member Functions

def __init__ (self, args, kwargs)
 
def preamble (self, walltime=None)
 
def submitCommand (self, scriptName)
 
- Public Member Functions inherited from lsst.ctrl.pool.parallel.Batch
def __init__ (self, outputDir=None, numNodes=0, numProcsPerNode=0, numCores=0, queue=None, jobName=None, walltime=0.0, dryrun=False, doExec=False, mpiexec="", submit=None, options=None, verbose=False)
 Constructor. More...
 
def shebang (self)
 
def preamble (self, command, walltime=None)
 
def execution (self, command)
 
def createScript (self, command, walltime=None)
 Create script to be submitted. More...
 
def submitCommand (self, scriptName)
 Return command to submit script. More...
 
def run (self, command, walltime=None)
 Run the batch system. More...
 

Public Attributes

 numCores
 
 numNodes
 
 numProcsPerNode
 
 mpiexec
 
- Public Attributes inherited from lsst.ctrl.pool.parallel.Batch
 outputDir
 
 numNodes
 
 numProcsPerNode
 
 numCores
 
 queue
 
 jobName
 
 walltime
 
 dryrun
 
 doExec
 
 mpiexec
 
 submit
 
 options
 
 verbose
 

Detailed Description

Not-really-Batch submission with multiple cores on the current node

The job is run immediately.

Definition at line 249 of file parallel.py.

Constructor & Destructor Documentation

◆ __init__()

def lsst.ctrl.pool.parallel.SmpBatch.__init__ (   self,
  args,
  kwargs 
)

Definition at line 255 of file parallel.py.

Member Function Documentation

◆ preamble()

def lsst.ctrl.pool.parallel.SmpBatch.preamble (   self,
  walltime = None 
)

Definition at line 270 of file parallel.py.

◆ submitCommand()

def lsst.ctrl.pool.parallel.SmpBatch.submitCommand (   self,
  scriptName 
)

Definition at line 273 of file parallel.py.

Member Data Documentation

◆ mpiexec

lsst.ctrl.pool.parallel.SmpBatch.mpiexec

Definition at line 266 of file parallel.py.

◆ numCores

lsst.ctrl.pool.parallel.SmpBatch.numCores

Definition at line 257 of file parallel.py.

◆ numNodes

lsst.ctrl.pool.parallel.SmpBatch.numNodes

Definition at line 259 of file parallel.py.

◆ numProcsPerNode

lsst.ctrl.pool.parallel.SmpBatch.numProcsPerNode

Definition at line 261 of file parallel.py.


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