Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This section gives an overview of the steps involved in using ecFlow.

Step 1: Write a suite definition

The suite definition defines describes how your tasks run and interact. task s are placed can be grouped together in families, which themselves may be placed in other families and/or suite s. All the entities (tasks, families and suites) are called node s and form a hierarchical tree.

There are two main methods for describing a suite definition to the ecflow_server.

  • via a text suite definition

    The grammar of this text definition is described by Definition file Grammar. This grammar does not support conditional statements (such as if,while,for) nor the ability to define functions. However, the text definition file can be generated/created using any language which in itself supports conditional statements. The text definition is similar to that offered by SMS/CDP and as such may be an appropriate migration path for some.

  • via a python suite definition

    This allows more checking and functionality and as such is our preferred method. See ecFlow Python Api.

Step 2: Write your scripts

ecf script will correspond with s are text files that correspond to the task in the suite definition. The script defines the main work that is to be carried out. The script includes child command s and special comments and manual sections that provides information for operatorsusers.

The child command s are a restricted set of ecflow_client commands that communicate with the ecflow_server. They inform the server when the job has started, completed, aborted or set some event.

 

STep 3: Start

a

an ecflow server

After ecflow_server is started, the suite definition, can then be loaded into it.

The running jobs will communicate back to the server using child command s. These cause:

Use

Step 4: Interact with the GUI

ecFlow has a specialised GUI client, called ecflowview. This is used to visualise and monitor:

In addition ecflowview provides a rich set of ecflow_client commands that can interact with the server.

 

Note
The following tutorial will show examples in plain text and python. However it is recommended that you use python, since the later tutorial examples use conditionals like ‘if’ and looping constructs.

...