Inspecting the results

The state of a suite can be checked using the CLI ecflow_client or programmatically via the Python API.

There are several interesting information to be inspected regarding the execution of the suite, including:

  1. The suite definition structure loaded into the ecflow_server.

  2. The suite definition including the status of each node.

  3. The job file created by the server.

  4. The output of the executed task.

Retrieving the suite definition

To retrieve the suite definition in a form that is parse-able, use the --get command:

ecflow_client --get

Retrieving the suite state

To retrieve the suite definition including the state:

ecflow_client --get_state

Inspect the job file

The job file created by the server is located in the same directory as the ecf script, and is named after the task name and the extension .jobN (e.g. t1.job1) where N is based on ECF_TRIES.

Is is usefull to compare the files jobs files and include files, with the job file.

Inspect the job output

The output of the job is located in the same directory as the ecf script, and is named after the task and the extension .N (e.g. t1.1) where N is based on ECF_TRIES.

This output file contains the standard output and standard error of the executed job.

What to do

  1. Use the CLI ecflow_client to retrieve the suite definition

  2. Use the CLI ecflow_client to retrieve the suite definition including the state

  3. (Optional) Create the Python script to retrieve the suite definition, with and without the state

  4. Inspect the job file and the output file