Applying code changes during a restart run

Hi CMS,

I have a technical question about introducing code changes to a suite when doing a rose suite-run --restart run.

For example, say I have a suite that is crashing repeatedly about 10 years into the run and I want to work out why, so I have a branch with print statements added for querying particular fields in the output. If I decide I want to change that branch to add more print statements or take some away, it would be useful to be able to --restart the suite from it’s latest dump and not have to re-run it from scratch.

Is this possible and if so, how does it work?

Thanks,
Alfred

Alfred

One way would be to have a second suite that just did the build, then copy the .exe(s) into the suite being debugged, then retrigger a failed task.

Another would be to insert the build tasks into the failing suite.

Another would be to start a new suite from the year 9 dump.

Grenville

Hi Grenville,

That’s great thank you! Could you quickly explain how to add build tasks into the suite?

Thanks,
Alfred

see

cylc insert --no-check <suite-id> fcm_make.<cycle point>
cylc insert --no-check <suite-id> fcm_make2.<cycle point>

or use the cylc gui - click on Control → Insert Task(s)

Grenville

Thank you Grenville!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.