ecflow.State

class ecflow.State

Bases: pybind11_object

Each node can have a status, which reflects the life cycle of a node.

It varies as follows:

  • When the definition file is loaded into the ecflow_server the task status is unknown

  • After begin command the task s are either queued, complete, aborted or suspended , a suspended task means that the task is really queued but it must be resumed by the user first before it can be submitted. See ecflow.DState

  • Once the dependencies are resolved a task is submitted and placed into the submitted state, however if the submission fails, the task is placed in a aborted state.

  • On a successful submission the task is placed into the active state

  • Before a job ends, it may send other message to the server such as: Set an event, Change a meter, Change a label, send a message to log file

Jobs end by becoming either complete or aborted

Members:

unknown

complete

queued

aborted

submitted

active

State.aborted = <State.aborted: 3>
State.active = <State.active: 5>
State.complete = <State.complete: 1>
property State.name
State.queued = <State.queued: 2>
State.submitted = <State.submitted: 4>
State.unknown = <State.unknown: 0>
property State.value