cylc-flow icon indicating copy to clipboard operation
cylc-flow copied to clipboard

Other ways to terminate a (re)flow?

Open hjoliver opened this issue 4 years ago • 3 comments

If you trigger a reflow and then leave it alone, it could:

  • peter out naturally (e.g. you triggered a branch of the graph that terminates after a while)
  • or keep going indefinitely
  • or catch up and merge with another flow

Otherwise, cylc stop --flow=LABEL will stop the targeted flow from spawning on any further.

Do we need other ways of stopping a reflow? E.g. stop at a given,

  • cycle point?
  • list of task IDs?
  • wall clock time?

hjoliver avatar Aug 05 '20 03:08 hjoliver

Do we need other ways of stopping a reflow?

My guess would be that we probably don't "need" it, however, it would be very nice, and, hopefully not that difficult to add flow_label to the existing stop/hold interfaces.

In particular I think this one might get a bit of use:

cylc stop <flow> <point> --flow <label>

oliver-sanders avatar Aug 05 '20 08:08 oliver-sanders

See #3745 comments on hold as well.

hjoliver avatar Aug 04 '21 06:08 hjoliver

In particular I think this one might get a bit of use:

cylc stop --flow

Example use case:

https://cylc.discourse.group/t/starting-a-new-flow-to-re-run-earlier-clock-triggered-cycle/909

oliver-sanders avatar Feb 29 '24 13:02 oliver-sanders