HTCondorWorkflow

class lsst.ctrl.bps.htcondor.HTCondorWorkflow(name, config=None)

Bases: lsst.ctrl.bps.BaseWmsWorkflow

Single HTCondor workflow.

Parameters:
name : str

Unique name for Workflow used when naming files.

config : lsst.ctrl.bps.BpsConfig

BPS configuration that includes necessary submit/runtime information.

Methods Summary

from_generic_workflow(config, …) Create a WMS-specific workflow from a GenericWorkflow
write(out_prefix) Output HTCondor DAGMan files needed for workflow submission.

Methods Documentation

classmethod from_generic_workflow(config, generic_workflow, out_prefix, service_class)

Create a WMS-specific workflow from a GenericWorkflow

Parameters:
config : lsst.ctrl.bps.BpsConfig

Configuration values needed for generating a WMS specific workflow.

generic_workflow : lsst.ctrl.bps.GenericWorkflow

Generic workflow from which to create the WMS-specific one.

out_prefix : str

Root directory to be used for WMS workflow inputs and outputs as well as internal WMS files.

service_class : str

Full module name of WMS service class that created this workflow.

Returns:
wms_workflow : lsst.ctrl.bps.BaseWmsWorkflow

A WMS specific workflow.

write(out_prefix)

Output HTCondor DAGMan files needed for workflow submission.

Parameters:
out_prefix : str

Directory prefix for HTCondor files.