lsst.ctrl.pool g6ea9deef35+d6356b6093
Public Member Functions | Static Public Member Functions | 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 (self, walltime=None)
 
def submitCommand (self, scriptName)
 Return command to submit script. More...
 

Static Public Member Functions

def formatWalltime (walltime)
 

Detailed Description

Batch submission with Slurm

Definition at line 213 of file parallel.py.

Member Function Documentation

◆ formatWalltime()

def lsst.ctrl.pool.parallel.SlurmBatch.formatWalltime (   walltime)
static
Format walltime (in seconds) as days-hours:minutes

Definition at line 217 of file parallel.py.

◆ preamble()

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

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

Reimplemented from lsst.ctrl.pool.parallel.Batch.

Definition at line 232 of file parallel.py.

◆ submitCommand()

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

Return command to submit script.

    @param scriptName: name of script on filesystem

Reimplemented from lsst.ctrl.pool.parallel.Batch.

Definition at line 258 of file parallel.py.


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