-
Notifications
You must be signed in to change notification settings - Fork 7
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
A cleaner version of my branch feature/atrayano/faster_routing #774
Conversation
GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/GEOS_SurfaceGridComp.F90
Outdated
Show resolved
Hide resolved
GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/GEOS_SurfaceGridComp.F90
Outdated
Show resolved
Hide resolved
GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/GEOS_SurfaceGridComp.F90
Show resolved
Hide resolved
pinging @zyj8881357 |
Pinging @yvikhlya as well. I think he hit slow river-routing with MOM6 runs at NAS. Hopefully he can test this change to see if speed returns! |
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.
Thanks, @atrayano, for making this more tractable! Happy to approve.
One last suggestion: Would it be correct to rephrase the comment line as follows:
ntotal = sum(blocksizes) ! should be same as # of paired sources and sinks (npairs)
It would be helpful to clarify the meaning of "npairs".
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.
re-approving
This PR only changes the communication pattern during fresh water river runoff. It is zero diff in coupled mode, and obviously zero diff in EMIP since routing is not used in that mode. This was tested with coupled GEOS-MITgcm and resulted in significant speedup. But the code mods are only in GEOS_SurfaceGridComp.F90 and there is no assumption about the specific ocean model. I am hoping runs with MOM6 will also benefit from this