Opened 2 years ago
Closed 2 years ago
#2309 closed help (answered)
housekeeping: running the same suite several times
Reported by: | s.varma13 | Owned by: | ros |
---|---|---|---|
Component: | UM Model | Keywords: | housekeeping |
Cc: | Platform: | Monsoon2 | |
UM Version: | 10.8 |
Description
Hi,
I am testing a suite making small changes, running it and then making further changes and running it. What should I do in between each run? Should I delete the previous output with rose suite-clean and then rose suite-run —new? And if I am running the suite but want to keep the previous output, will those files still be deleted when I rerun it with rose suite-run without using -clean and —new?
Many thanks
Sunil
Change History (3)
comment:1 Changed 2 years ago by ros
- Owner changed from um_support to ros
- Status changed from new to accepted
comment:2 Changed 2 years ago by s.varma13
Thanks Ros
I just saw your reponse.
It was more about when I have completed a suite and then make changes to run a new suite. From what I understand, in those cicumstances I do not need to use suite-run —new but if my suite fails and I then make a few changes and I want to run it from the start I should use —new?
Many thanks
Sunil
comment:3 Changed 2 years ago by willie
- Resolution set to answered
- Status changed from accepted to closed
Hi Sunil,
It depends on whether you need to recompile the model exec or not.
If you have built the exec and then just changing runtime options then you should just do rose suite-run otherwise you will delete the model exec and have to the compile again.
rose suite-clean -y followed by rose suite-run is the same as running rose suite-run --new. They both delete all the runtime locations (ie. ~/cylc-run/<suiteid> on both local and remote hosts)
In theory, if you are changing code then just doing rose suite-run should be enough as FCM will figure out what files have been changed, update them and do an incremental build.
Cheers,
Ros.