Skip to content

restart pointer filenames now have the simulation time-stamp in them#57

Merged
ekluzek merged 10 commits intoESCOMP:masterfrom
ekluzek:rpointer_file_timestamps
Jan 4, 2025
Merged

restart pointer filenames now have the simulation time-stamp in them#57
ekluzek merged 10 commits intoESCOMP:masterfrom
ekluzek:rpointer_file_timestamps

Conversation

@ekluzek
Copy link
Contributor

@ekluzek ekluzek commented Jan 3, 2025

Have the restart pointer filenames for RTM with the simulation time-stamp in them. Make it backwards compatible to using filenames without the simulation time-stamp as well. This changes time-manager setup from reading in the restart time from the restart file -- to using the current time sent from the coupler. Previously you would EITHER call timemgr_init OR timemgr_restart. Now, you always call timemgr_init -- and only call timemgr_restart for a restart case, with most of what it does is to make sure the time on the restart file agrees with the time sent from the coupler.

Fixes #53
Fixes #46

…estamp in the filename and get it to compile and run on Derecho for the ERS_D_Ld5.f10_f10_mg37.I2000Clm50SpRtmFl.derecho_intel.rtm-default test
@ekluzek ekluzek requested a review from slevis-lmwg January 3, 2025 00:09
@ekluzek ekluzek self-assigned this Jan 3, 2025
Copy link
Contributor

@slevis-lmwg slevis-lmwg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @ekluzek, this looks good to me from a somewhat quick look. I would not mind meeting with you for a more detailed look if you think it's a good idea.

@ekluzek
Copy link
Contributor Author

ekluzek commented Jan 3, 2025

OK, I've git an ERS test working now. So sent off the rtm test suite (which is only Derecho). So we'll see how that does.

@ekluzek ekluzek merged commit c364f8b into ESCOMP:master Jan 4, 2025
@ekluzek ekluzek deleted the rpointer_file_timestamps branch January 4, 2025 05:19
@ekluzek ekluzek added this to the CESM3 Answer changing freeze milestone Jan 6, 2025
slevis-lmwg added a commit to samsrabin/RTM that referenced this pull request Jan 15, 2025
The RTM rpointer file now has the simulation timestamp in the filename

Have the restart pointer filenames for RTM with the simulation time-stamp in them. Make it backwards compatible to using filenames without the simulation time-stamp as well. This changes time-manager setup from reading in the restart time from the restart file -- to using the current time sent from the coupler. Previously you would EITHER call timemgr_init OR timemgr_restart. Now, you always call timemgr_init -- and only call timemgr_restart for a restart case, with most of what it does is to make sure the time on the restart file agrees with the time sent from the coupler.

Also remove use of shr_file_mod throughout the code.

Change the ChangeLog file into a markdown file and start using some markdown syntax.

Resolves: ESCOMP#53

Resolves: ESCOMP#46

PR
ESCOMP#57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Add timestamp to rpointer files, but make it backwards compatible with files without the timestamp Replace use of shr_file_mod with shr_log_mod

2 participants