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

A cleaner version of my branch feature/atrayano/faster_routing #774

Merged
merged 4 commits into from
Jul 3, 2023

Conversation

atrayano
Copy link
Contributor

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

@atrayano atrayano added the 0 diff The changes in this pull request have verified to be zero-diff with the target branch. label Jun 26, 2023
@atrayano atrayano self-assigned this Jun 26, 2023
@atrayano atrayano requested review from a team as code owners June 26, 2023 14:40
amolod
amolod previously approved these changes Jun 26, 2023
@gmao-rreichle
Copy link
Contributor

pinging @zyj8881357

zhaobin74
zhaobin74 previously approved these changes Jun 26, 2023
@mathomp4
Copy link
Member

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!

gmao-rreichle
gmao-rreichle previously approved these changes Jun 26, 2023
Copy link
Contributor

@gmao-rreichle gmao-rreichle left a 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".

@atrayano atrayano dismissed stale reviews from gmao-rreichle and zhaobin74 via 44b6c80 June 26, 2023 19:53
Copy link
Contributor

@gmao-rreichle gmao-rreichle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

re-approving

@sdrabenh sdrabenh merged commit 7dcc978 into develop Jul 3, 2023
@sdrabenh sdrabenh deleted the feature/atrayano/new_routing_communication branch July 3, 2023 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0 diff The changes in this pull request have verified to be zero-diff with the target branch.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants