Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Conversation

jiandewang
Copy link
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
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
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
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
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
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
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
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
7 of 10 checks passed
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