GenericWorkflowJob¶
-
class
lsst.ctrl.bps.GenericWorkflowJob(name: str)¶ Bases:
objectInformation about a job that may be needed by various workflow management services.
Attributes Summary
abort_on_valueJob exit value for signals to abort the entire workflow. abort_return_valueExit value to use when aborting the entire workflow. attrsKey/value pairs of job attributes (for WMS that have attributes in addition to commands). categoryWMS-facing label of job within single workflow (e.g., can be used for throttling jobs within a single workflow). cmdlineCommand line for job. cmdvalsValues for variables in cmdline when using lazy command line creation. compute_siteKey to look up site-specific information for running the job. concurrency_limitNames of concurrency limits that the WMS plugin can appropriately translate to limit the number of this job across all running workflows. environmentEnvironment variable names and values to be explicitly set inside job. labelPrimary user-facing label for job. mail_toComma separated list of email addresses for emailing job status. nameName of job. number_of_retriesNumber of times to automatically retry a failed job. post_cmdlineCommand line to be executed after job executes. pre_cmdlineCommand line to be executed prior to executing job. priorityInitial priority of job in WMS-format. profileNested dictionary of WMS-specific key/value pairs with primary key being WMS key (e.g., pegasus, condor, panda). request_cpusMax number of cpus that the job is expected to need. request_diskMax amount of job scratch disk (in MB) that the job is expected to need. request_memoryMax memory (in MB) that the job is expected to need. request_walltimeMax amount of time (in seconds) that the job is expected to need. retry_unless_exitExit code for job that means to not automatically retry. tagsOther key/value pairs for job that user may want to use as a filter. transfer_executablewhen_to_mailWMS-specific terminology for when to email job status. Attributes Documentation
-
abort_on_value¶ Job exit value for signals to abort the entire workflow.
-
abort_return_value¶ Exit value to use when aborting the entire workflow.
-
attrs¶ Key/value pairs of job attributes (for WMS that have attributes in addition to commands).
-
category¶ WMS-facing label of job within single workflow (e.g., can be used for throttling jobs within a single workflow).
-
cmdline¶ Command line for job.
-
cmdvals¶ Values for variables in cmdline when using lazy command line creation.
-
compute_site¶ Key to look up site-specific information for running the job.
-
concurrency_limit¶ Names of concurrency limits that the WMS plugin can appropriately translate to limit the number of this job across all running workflows.
-
environment¶ Environment variable names and values to be explicitly set inside job.
-
label¶ Primary user-facing label for job. Does not need to be unique and may be used for summary reports.
-
mail_to¶ Comma separated list of email addresses for emailing job status.
-
name¶ Name of job. Must be unique within workflow.
-
number_of_retries¶ Number of times to automatically retry a failed job.
-
post_cmdline¶ Command line to be executed after job executes.
Should be executed regardless of exit status.
-
pre_cmdline¶ Command line to be executed prior to executing job.
-
priority¶ Initial priority of job in WMS-format.
-
profile¶ Nested dictionary of WMS-specific key/value pairs with primary key being WMS key (e.g., pegasus, condor, panda).
-
request_cpus¶ Max number of cpus that the job is expected to need.
-
request_disk¶ Max amount of job scratch disk (in MB) that the job is expected to need.
-
request_memory¶ Max memory (in MB) that the job is expected to need.
-
request_walltime¶ Max amount of time (in seconds) that the job is expected to need.
-
retry_unless_exit¶ 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.
-
transfer_executable¶
-
when_to_mail¶ WMS-specific terminology for when to email job status.
-