-
Notifications
You must be signed in to change notification settings - Fork 18
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
support for CICE6(or others) to rewind #2982
Conversation
…ort for CICE6 rewind
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 is ok by me, but I want @atrayano to review.
It is odd to use phase=MAPL_MAX_PHASES + 1, and am wondering if since this is not a run phase, it could use a different value.
@tclune, I don't like hardcoded 1 either. But it is the only one I can come up with which works. Maybe @atrayano can fix it. |
@zhaobin74 How crucial is this? If you'd like a release but can wait until next week, we can look at getting out a new MAPL release. But, if you need it urgently, I can make a hotfix and release a new MAPL 2.47 |
@mathomp4 , it is not urgent. @Dooruk is on PTO and he can already run his DA tests using my build (v1160) with the MAPL branch I made these changes on. I think it should be more vigorously vetted and hopefully @atrayano could further refine it. |
@zhaobin74 I have several concerns regarding this PR. The most trivial one is that instead of hardcoding MAPL_MAX_PHASES+1, we could introduce a local variable "phase", which we should get by calling ESMG_GridCompGet(gc, currentPhase=phase, _RC). A far more serious concern is the fact that we are using cold_start method which was supposed to be only as a fallback strategy during Initialize. Luckily for us, thus method is not used anywhere in GEOS (with a possible exception of the dycore), but if another component legitimately tries to use it, this PR has the potential to break that imaginary component. Let's touch base on Monday to brainstorm and find a better solution. For the time being, I will add "do not approve" label. |
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.
See inline comments.
Co-authored-by: Tom Clune <[email protected]>
This PR closes #2959
Types of change(s)
Checklist
make tests
)Description
Allows a GC's refresh method (if present)to be called. Necessary for some GC's to rewind states.
Related Issue