GenericWorkflowJob¶
- class lsst.ctrl.bps.GenericWorkflowJob(name: str, label: str = 'UNK', quanta_counts: ~collections.Counter = <factory>, tags: dict = <factory>, executable: ~lsst.ctrl.bps.generic_workflow.GenericWorkflowExec | None = None, arguments: str | None = None, cmdvals: dict = <factory>, memory_multiplier: float | None = None, request_memory: int | None = None, request_memory_max: int | None = None, request_cpus: int | None = None, request_disk: int | None = None, request_walltime: str | None = None, compute_site: str | None = None, accounting_group: str | None = None, accounting_user: str | None = None, mail_to: str | None = None, when_to_mail: str | None = None, number_of_retries: int | None = None, retry_unless_exit: int | None = None, abort_on_value: int | None = None, abort_return_value: int | None = None, priority: str | None = None, category: str | None = None, concurrency_limit: str | None = None, queue: str | None = None, pre_cmdline: str | None = None, post_cmdline: str | None = None, preemptible: bool | None = None, profile: dict = <factory>, attrs: dict = <factory>, environment: dict = <factory>, compute_cloud: str | None = None)¶
- 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¶
- 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¶
- 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.