Versions Compared

Key

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

...

In order to use labels you have to first define the label in the suite definition file, e.g.

Code Block
suite x

...


 family f

...


 task t

...


 label foo ""

foo is the "name" of the label and the empty string is the default value of the label (the value shown when the suite begins). After the command begins it looks like:
Image Removed 
In an ecFlow job file you can then modify your task to change the label while the job is running, e.g.

Code Block
ecflow_client --init $$

...


 ecflow_client –-label=foo "some text"

...


 ecflow_client --complete

After the job has modified the label it looks like:
Image Removed 
If you want to send more than one line, use spaces in the text, e.g.

Code Block
ecflow_client --init $$

...


ecflow_client –-label=foo multi line label

...


ecflow_client --complete


Image Removed
And to have the display lined up better, send the first line as empty:

Code Block
ecflow_client --init $$

...


ecflow_client –-label "" multi line label

...


ecflow_client --complete



Image Modified

Anchor
limit
limit