lsst.ctrl.pool  13.0-6-gf96f8ec+28
 All Classes Namespaces Files Functions Variables Pages
Public Member Functions | Public Attributes | List of all members
lsst.ctrl.pool.parallel.SlurmBatch Class Reference
Inheritance diagram for lsst.ctrl.pool.parallel.SlurmBatch:
lsst.ctrl.pool.parallel.Batch

Public Member Functions

def preamble
 
def submitCommand
 
def shebang
 
def preamble
 
def execution
 
def createScript
 Create script to be submitted. More...
 
def run
 Run the batch system. More...
 

Public Attributes

 outputDir
 
 numNodes
 
 numProcsPerNode
 
 numCores
 
 queue
 
 jobName
 
 walltime
 
 dryrun
 
 doExec
 
 mpiexec
 
 submit
 
 options
 
 verbose
 

Detailed Description

Batch submission with Slurm

Definition at line 216 of file parallel.py.

Member Function Documentation

def lsst.ctrl.pool.parallel.Batch.createScript (   self,
  command,
  walltime = None 
)
inherited

Create script to be submitted.

Parameters
command,:command to run
walltime,:maximum wall clock time, overrides value to constructor
Returns
name of script on filesystem

Definition at line 141 of file parallel.py.

def lsst.ctrl.pool.parallel.Batch.execution (   self,
  command 
)
inherited
Return execution string for script to be submitted

Definition at line 120 of file parallel.py.

def lsst.ctrl.pool.parallel.Batch.preamble (   self,
  command,
  walltime = None 
)
inherited
Return preamble string for script to be submitted

Most batch systems allow you to embed submission options as comments here.

Definition at line 113 of file parallel.py.

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

Definition at line 219 of file parallel.py.

def lsst.ctrl.pool.parallel.Batch.run (   self,
  command,
  walltime = None 
)
inherited

Run the batch system.

Creates and submits the script to execute the provided command

Parameters
command,:command to run
walltime,:maximum wall clock time, overrides value to constructor
Returns
name of script on filesystem

Definition at line 167 of file parallel.py.

def lsst.ctrl.pool.parallel.Batch.shebang (   self)
inherited

Definition at line 110 of file parallel.py.

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

Definition at line 245 of file parallel.py.

Member Data Documentation

lsst.ctrl.pool.parallel.Batch.doExec
inherited

Definition at line 104 of file parallel.py.

lsst.ctrl.pool.parallel.Batch.dryrun
inherited

Definition at line 103 of file parallel.py.

lsst.ctrl.pool.parallel.Batch.jobName
inherited

Definition at line 101 of file parallel.py.

lsst.ctrl.pool.parallel.Batch.mpiexec
inherited

Definition at line 105 of file parallel.py.

lsst.ctrl.pool.parallel.Batch.numCores
inherited

Definition at line 99 of file parallel.py.

lsst.ctrl.pool.parallel.Batch.numNodes
inherited

Definition at line 97 of file parallel.py.

lsst.ctrl.pool.parallel.Batch.numProcsPerNode
inherited

Definition at line 98 of file parallel.py.

lsst.ctrl.pool.parallel.Batch.options
inherited

Definition at line 107 of file parallel.py.

lsst.ctrl.pool.parallel.Batch.outputDir
inherited

Definition at line 96 of file parallel.py.

lsst.ctrl.pool.parallel.Batch.queue
inherited

Definition at line 100 of file parallel.py.

lsst.ctrl.pool.parallel.Batch.submit
inherited

Definition at line 106 of file parallel.py.

lsst.ctrl.pool.parallel.Batch.verbose
inherited

Definition at line 108 of file parallel.py.

lsst.ctrl.pool.parallel.Batch.walltime
inherited

Definition at line 102 of file parallel.py.


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