lsst.ctrl.pool g6ea9deef35+b996f320cf
|
Public Member Functions | |
def | __init__ (self, *args, **kwargs) |
Constructor. More... | |
def | preamble (self, walltime=None) |
def | submitCommand (self, scriptName) |
Return command to submit script. More... | |
Public Attributes | |
numCores | |
numNodes | |
numProcsPerNode | |
mpiexec | |
Not-really-Batch submission with multiple cores on the current node The job is run immediately.
Definition at line 262 of file parallel.py.
def lsst.ctrl.pool.parallel.SmpBatch.__init__ | ( | self, | |
* | outputDir, | ||
** | numNodes | ||
) |
Constructor.
@param outputDir: output directory, or None @param numNodes: number of nodes @param numProcsPerNode: number of processors per node @param numCores: number of cores (Slurm, SMP only) @param queue: name of queue, or None @param jobName: name of job, or None @param walltime: maximum wall clock time for job @param dryrun: Dry run (only print actions that would be taken)? @param doExec: exec the script instead of submitting to batch system? @param mpiexec: options for mpiexec @param submit: command-line options for batch submission (e.g., for qsub, sbatch) @param options: options to append to script header (e.g., #PBS or #SBATCH) @param verbose: produce verbose output?
Reimplemented from lsst.ctrl.pool.parallel.Batch.
Definition at line 268 of file parallel.py.
def lsst.ctrl.pool.parallel.SmpBatch.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 283 of file parallel.py.
def lsst.ctrl.pool.parallel.SmpBatch.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 286 of file parallel.py.
lsst.ctrl.pool.parallel.SmpBatch.mpiexec |
Definition at line 279 of file parallel.py.
lsst.ctrl.pool.parallel.SmpBatch.numCores |
Definition at line 270 of file parallel.py.
lsst.ctrl.pool.parallel.SmpBatch.numNodes |
Definition at line 272 of file parallel.py.
lsst.ctrl.pool.parallel.SmpBatch.numProcsPerNode |
Definition at line 274 of file parallel.py.