-
Notifications
You must be signed in to change notification settings - Fork 27
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
cism runoff will be now routed to ocn via mosart #94
Conversation
major mosart refactor
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.
I recommend removing all direct references to mpi and using ESMF_VM calls instead - this future proofs the code a little in case the mpi library is replaced with some other comm library on some future hardware - if all our calls are through the esmf layer then only esmf needs to be updated.
I have concerns about this (also listed below).
I have spoken with @jedwards4b - and created the issue #100. |
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.
@slevis-lmwg - I still need to run the mosart test suite and make sure that everything is bfb. So no hurry to approve just yet. |
@mvertens will you merge mosart1.1.01 to this PR or would you like me to do it and, if the latter, then before or after you run the test suite? |
@slevis-lmwg - I'll merge mosart1.1.0.1 to this PR before I run the test suite. |
@slevis-lmwg - I think this is ready for merging based on all the tests I've done. @jedwards4b - do you want to review again? |
@billsacks @Katetc - are you both okay with the current level of validation? |
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.
lgtm
Yes, I'm satisfied with the current level of validation. Thank you very much for your work on this @mvertens !!! |
I have checked out this branch and submitted the test-suites on izumi and derecho: |
Oh, right, and i have confirmed that we need to complete ESCOMP/CTSM#2590 for the tests to pass. |
I think that there is going to be a bit of a chicken and egg problem here - you will need to use some PR branches to test some other PR's. |
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.
@mvertens thanks for all your work here. I have some updates that @slevis-lmwg can do, if you aren't able to do them. Or if you prefer to do them go ahead. Just let us know how to handle it.
One thing @slevis-lmwg realized when he started testing is that the separate_glc2ocn_fluxes namelist item assumes that ctl%rof_from_glc is true, and hence the code won't work with an older CISM version. In order to test this seperately it would be good to add some error checking that they are both true, and if not to abort. This also allows us to test with that flag to false and make sure it doesn't change answers, which is a good verification that the other refactoring is b4b.
So let us know how you want to handle the changes and we can continue forward.
…send glc fluxes separately to the mediator
@ekluzek @billsacks @slevis-lmwg - I have addressed the issues in this PR except for addressing refactoring the use of 'subname' and reintroducing empty routines whose presence were confusing. |
It looks like @mvertens has addressed all of the critical points here; if so, it would be great if any non-critical pieces can be deferred to a follow-up PR. @ekluzek and @slevis-lmwg are there any other important needs that you see that need to be addressed before this can be brought in? |
Thanks for working on this @mvertens and @billsacks -- yes this covers what we thought was important. This will also make @slevis-lmwg process easier to bring this part in. |
One thing I will point out is that the changes as now implemented do require a CMEPS and CISM update. The logical ctl%rof_from_glc won't work correctly to use an older CISM version, because it's set too late. I'll make an issue regarding this and I'll assume that will be fixed in a later PR. It sounds like there is a plan for some follow on PR's as well. |
OK I made an issue in #103 about the point I made just above. |
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.
With one izumi aux_clm test still in progress, I'm approving this PR.
The mosart test results appear in the umbrella PR here and can be summarized as follows:
- derecho and izumi OK: NLCOMP and "field lists differ"
- new baseline mosart1.1.02_ctsm5.2.007
For the aux_clm results, see the "umbrella" PR.
Made a new tag:
|
This PR enables CISM runoff to be routed to the ocean via mosart.
call fldlist_add(fldsFrRof_num, fldsFrRof, 'Forr_rofl_glc')
call fldlist_add(fldsFrRof_num, fldsFrRof, 'Forr_rofi_glc')
Issues resolved:
TODOs:
Results are bfb (other than new fields on history files) and new baselines created mosart1.1.2
See Check runoff mapping for multi-ice sheet cases CISM-wrapper#64. Determine if more validation is needed.
@billsacks @KateC - are we okay with the current state of the validation?