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. accounting_groupName of the accounting group to use. accounting_userName of the user to use for accounting purposes. argumentsCommand line arguments for job. 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). 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. executableExecutable for job. labelPrimary user-facing label for job. mail_toComma separated list of email addresses for emailing job status. memory_multiplierMemory growth rate between retries. 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. preemptibleThe flag indicating whether the job can be preempted. 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). quanta_countsCounts of quanta per task label in job. queueName of queue to use. 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_memory_maxMax memory (in MB) that the job should ever use. 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. when_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.
-
accounting_group¶ Name of the accounting group to use.
-
accounting_user¶ Name of the user to use for accounting purposes.
-
arguments¶ Command line arguments for job.
-
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).
-
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.
-
executable¶ Executable for 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.
-
memory_multiplier¶ Memory growth rate between retries.
-
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.
-
preemptible¶ The flag indicating whether the job can be preempted.
-
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).
-
quanta_counts¶ Counts of quanta per task label in job.
-
queue¶ Name of queue to use. Different WMS can translate this concept differently.
-
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_memory_max¶ Max memory (in MB) that the job should ever use.
-
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.
-
when_to_mail¶ WMS-specific terminology for when to email job status.
-