Versions Compared

Key

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

...

The same applies to the end of the task. You want to tell the ecFlow that the task is complete by using ecflow_client --complete(CLI) and un-trap the shell.

Code Block
titletail.h
wait                      # wait for background process to stop
ecflow_client --complete
 trap 0
 exit  # Notify ecFlow of a normal end
trap 0                    # Remove all traps
exit 0                    # End the shell 

Generally you would have more than just a single include file at the beginning of an ecFlow file, e.g. one to have common options for your queuing system, then a few lines for the queuing options unique to that job. There may be an include file to specify options for an experimental suite, and so on. There are around ten different include files used in the ECMWF operational suite.