lsst.ctrl.pool  13.0-5-g9cf35e0
 All Classes Namespaces Files Functions Variables Pages
Classes | Functions | Variables
lsst.ctrl.pool.parallel Namespace Reference

Classes

class  Batch
 
class  PbsBatch
 
class  SlurmBatch
 
class  SmpBatch
 
class  BatchArgumentParser
 
class  BatchCmdLineTask
 
class  BatchPoolTask
 
class  BatchTaskRunner
 
class  BatchParallelTask
 

Functions

def shQuote
 
def shCommandFromArgs
 
def processStats
 
def printProcessStats
 
def exportEnv
 

Variables

list __all__
 
int UMASK = 0
 
tuple _quote_pos = re.compile('(?=[^-0-9a-zA-Z_./\n])')
 
dictionary BATCH_TYPES
 

Function Documentation

def lsst.ctrl.pool.parallel.exportEnv ( )
Generate bash script to regenerate the current environment

Definition at line 394 of file parallel.py.

def lsst.ctrl.pool.parallel.printProcessStats ( )
Print the process statistics to the log

Definition at line 64 of file parallel.py.

def lsst.ctrl.pool.parallel.processStats ( )
Collect Linux-specific process statistics

Parses the /proc/self/status file (N.B. Linux-specific!) into a dict
which is returned.

Definition at line 50 of file parallel.py.

def lsst.ctrl.pool.parallel.shCommandFromArgs (   args)
Convert a list of shell arguments to a shell command-line

Definition at line 45 of file parallel.py.

def lsst.ctrl.pool.parallel.shQuote (   arg)

Definition at line 30 of file parallel.py.

Variable Documentation

list lsst.ctrl.pool.parallel.__all__
Initial value:
1 = ["Batch", "PbsBatch", "SlurmBatch", "SmpBatch", "BATCH_TYPES", "BatchArgumentParser",
2  "BatchCmdLineTask", "BatchPoolTask", ]

Definition at line 20 of file parallel.py.

tuple lsst.ctrl.pool.parallel._quote_pos = re.compile('(?=[^-0-9a-zA-Z_./\n])')

Definition at line 27 of file parallel.py.

dictionary lsst.ctrl.pool.parallel.BATCH_TYPES
Initial value:
1 = {'none' : None,
2  'None' : None,
3  'pbs': PbsBatch,
4  'slurm': SlurmBatch,
5  'smp': SmpBatch,
6  }

Definition at line 277 of file parallel.py.

int lsst.ctrl.pool.parallel.UMASK = 0

Definition at line 23 of file parallel.py.