-
Notifications
You must be signed in to change notification settings - Fork 132
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
CESM Updates #785
CESM Updates #785
Conversation
I don't see any immediate issues. I'll run some tests. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes in CMEPS driver layer only.
@dabail10 I'm getting failures in the CICE cap. I'll look at it more closely tomorrow 20221108 165748.983 INFO PET314 ice_export called |
@dabail10 I see two issues. First, the call to advertise_fields is never reached for UFS---the call has been moved inside of an CESMCOUPLED ifdef block. The second issue is that I'm not sure moving the advertise_fields prior to the call to cice_init2 works. It is in cice_init2 that the ncat is set, which is needed for the advertise of the export fields which contain categories, right? |
@@ -435,6 +436,7 @@ subroutine ice_import( importState, rc ) | |||
integer :: ilo, ihi, jlo, jhi !beginning and end of physical domain | |||
type(block) :: this_block ! block information for current block | |||
real (kind=dbl_kind),allocatable :: aflds(:,:,:,:) | |||
real (kind=dbl_kind), dimension(nx_block,ny_block,max_blocks) :: work |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This variable doesn't seem to be used. Can it be removed?
Thanks for testing this! We know this works in CESM, but that is why I asked you to look at it for the UFS system. Let me look at the changes and I will hopefully have something again soon. |
Just about to comment. It does look like cice_init1 will initialize the parameters I was concerned about (ncat, nfreq, nfsd) through the call to input_data. So I think the only change required will be to add the call to advertise_fields outside of the cesm ifdef block in InitializeAdvertise. I'm testing that now. |
@dabail10 I've tested these two changes and everything passes for UFS.
|
Great! I will add these changes. |
Ok. @DeniseWorthen can you retest this to make sure I did the right thing? |
Changes are good. Thanks. |
Is this PR ready to be merged? |
@dabail10, just want to confirm this is ready to merge from your perspective. |
I believe this is ready to go. |
For detailed information about submitting Pull Requests (PRs) to the CICE-Consortium,
please refer to: https://github.com/CICE-Consortium/About-Us/wiki/Resource-Index#information-for-developers
PR checklist
Add some CESM changes to the NUOPC/CMEPS cap for async i/o and mask checking.
dabail10 (D. Bailey)
CESM aux_cice suite is bfb.
Some of the initialization in the cap is rearranged for the purposes of asynchronous i/o. Also, we have added a check for the mask comparing the grid file to the "mesh" file.