Skip to content

dev-emc-candidate 20240521 (end of run restart file)#1630

Merged
jiandewang merged 3 commits into
mom-ocean:mainfrom
jiandewang:DEV-EMC-endofrun-restart-candidate-20240521
May 22, 2024
Merged

dev-emc-candidate 20240521 (end of run restart file)#1630
jiandewang merged 3 commits into
mom-ocean:mainfrom
jiandewang:DEV-EMC-endofrun-restart-candidate-20240521

Conversation

@jiandewang
Copy link
Copy Markdown
Collaborator

this PR (original author: Daniel Sarmiento @dpsarmie) will allow UFS to write out restart file for MOM6 (and all other UFS components) at the end of the run using the write_restart_at_endofrun configuration option at the top level in CMEPS. The only file being changed is nuopc_cap. Thanks @alperaltuntas for pre-test and code review.

jiandewang and others added 2 commits May 13, 2024 12:34
…n-20240508

update to main 20240508 commit
* Update mom_cap.F90 to add end of run restart file functionality controlled by write_restart_at_endofrun configuration option in CMEPS. Author: Daniel Sarmient
Copy link
Copy Markdown
Collaborator

@kshedstrom kshedstrom left a comment

Choose a reason for hiding this comment

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

As this only changes the nuopc cap, I am not in a position to test it.

Copy link
Copy Markdown
Collaborator

@sanAkel sanAkel left a comment

Choose a reason for hiding this comment

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

Same comment as @kshedstrom

Copy link
Copy Markdown
Collaborator

@marshallward marshallward left a comment

Choose a reason for hiding this comment

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

GFDL approves

@marshallward
Copy link
Copy Markdown
Collaborator

Actually, I may need to rescind that approval. You most likely need to address this issue:

Run grep "warning:" docs/_build/doxygen_warn_nortd_log.txt | grep -v "as part of a" | tee doxy_errors
config_src/drivers/nuopc_cap/mom_cap.F90, line 386: Line length exceeded "  call NUOPC_CompAttributeGet(gcomp, name="write_restart_at_endofrun", value=value, isPresent=isPresent, isSet=isSet, rc=rc)"

The line length needs to be fixed.

@jiandewang
Copy link
Copy Markdown
Collaborator Author

Actually, I may need to rescind that approval. You most likely need to address this issue:

Run grep "warning:" docs/_build/doxygen_warn_nortd_log.txt | grep -v "as part of a" | tee doxy_errors
config_src/drivers/nuopc_cap/mom_cap.F90, line 386: Line length exceeded "  call NUOPC_CompAttributeGet(gcomp, name="write_restart_at_endofrun", value=value, isPresent=isPresent, isSet=isSet, rc=rc)"

The line length needs to be fixed.

sorry this bypassed my radar. Just fixed that

@marshallward
Copy link
Copy Markdown
Collaborator

sorry this bypassed my radar. Just fixed that

I'd say it's perfectly understandable, given there are three other largely unfixable tests.

We could send those fixes as cherry-picked commits, but they are also in the upcoming GFDL PR, so they should be resolved soon enough. (Unfortunately our PR has become a bit delayed, but will hopefully be in very soon.)

Copy link
Copy Markdown
Collaborator

@abozec abozec left a comment

Choose a reason for hiding this comment

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

Does not affect us so I approve.

@jiandewang jiandewang merged commit 83fb3f0 into mom-ocean:main May 22, 2024
@jiandewang jiandewang deleted the DEV-EMC-endofrun-restart-candidate-20240521 branch April 2, 2025 02:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants