Versions Compared

Key

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

...

Text

It is good practice to suspend your suite before you reload any part of it.
In ecflow_ui right click on the suite and select “Suspend”.
Once you made your change(specified below) you can right click on the suite and “Resume” it.


Code Block
# Definition of the suite test
suite test
   edit ECF_HOME "$HOME/course"  # replace '$HOME' with the path to your home directory
   task t1
   task t2
endsuite


Note

As before replace $HOME with the real path to your home directory.


Then you must load the file again:

 


Code Block
languagebash
ecflow_client --load=test.def

 


Warning
This will fail because the suite is already loaded


Because the suite is already defined, you need to delete and reload it first:

 


Code Block
languagebash
ecflow_client --delete=_all_
ecflow_client --load=test.def

 

Then restart the suite:

Code Block
languagebash
 ecflow_client --begin=test
 
Rather than deleting, loading and beginning the suite every time you can replace
all or part of the suite for example to replace whole suite.

 

Code Block
languagebash
 ecflow_client --replace=/test test.def

 

or to replace part of the suite:

Code Block
languagebash
 ecflow_client --replace=/test/t2 test.def

 

...