GenericWorkflowJob¶
- class lsst.ctrl.bps.GenericWorkflowJob(name: str)¶
- Bases: - object- Information about a job that may be needed by various workflow management services. - Attributes Summary - Job exit value for signals to abort the entire workflow. - Exit value to use when aborting the entire workflow. - Name of the accounting group to use. - Name of the user to use for accounting purposes. - Command line arguments for job. - Key/value pairs of job attributes (for WMS that have attributes in addition to commands). - WMS-facing label of job within single workflow (e.g., can be used for throttling jobs within a single workflow). - Values for variables in cmdline when using lazy command line creation. - Key to look up cloud-specific information for running the job. - Key to look up site-specific information for running the job. - Names of concurrency limits that the WMS plugin can appropriately translate to limit the number of this job across all running workflows. - Environment variable names and values to be explicitly set inside job. - Executable for job. - Primary user-facing label for job. - Comma separated list of email addresses for emailing job status. - Memory growth rate between retries. - Name of job. - Number of times to automatically retry a failed job. - Command line to be executed after job executes. - Command line to be executed prior to executing job. - The flag indicating whether the job can be preempted. - Initial priority of job in WMS-format. - Nested dictionary of WMS-specific key/value pairs with primary key being WMS key (e.g., pegasus, condor, panda). - Counts of quanta per task label in job. - Name of queue to use. - Max number of cpus that the job is expected to need. - Max amount of job scratch disk (in MB) that the job is expected to need. - Max memory (in MB) that the job is expected to need. - Max memory (in MB) that the job should ever use. - Max amount of time (in seconds) that the job is expected to need. - Exit code for job that means to not automatically retry. - Other key/value pairs for job that user may want to use as a filter. - WMS-specific terminology for when to email job status. - Attributes Documentation - attrs: dict | None¶
- Key/value pairs of job attributes (for WMS that have attributes in addition to commands). 
 - category: str | None¶
- WMS-facing label of job within single workflow (e.g., can be used for throttling jobs within a single workflow). 
 - concurrency_limit: str | None¶
- Names of concurrency limits that the WMS plugin can appropriately translate to limit the number of this job across all running workflows. 
 - executable: GenericWorkflowExec | None¶
- Executable for job. 
 - label: str | None¶
- Primary user-facing label for job. Does not need to be unique and may be used for summary reports. 
 - post_cmdline: str | None¶
- Command line to be executed after job executes. - Should be executed regardless of exit status.