-
Notifications
You must be signed in to change notification settings - Fork 7
Refactor Fluxes, change data layout. #572
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
base: main
Are you sure you want to change the base?
Conversation
Use (ncol, nlev) ordering instead of (nlev, ncol).
31850d6
to
8531023
Compare
Prior to this PR: https://buildkite.com/clima/rrtmgp-clima-a100-pipeline/builds/46#019581be-ba33-4bf2-a011 |
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.
Please make necessary changes in ClimaAtmos and ClimaCoupler to make sure this change works correctly in atmos runs and AMIP, thanks!
@szy21 : Would you prefer making changes when we make the next breaking release or would you like them changed after each PR? I believe there is a set of about 5 reverted PRs we need to merge back! |
Will all the 5 PRs have breaking changes? In any case, I would prefer a change after this PR as the data layout change seems like a pretty important change. More practically, merging breaking PRs will break this pipeline: https://buildkite.com/clima/climacoupler-coarse-nightly-amip, which many people use for debugging other things now, so it would be good for other people to know what changes in atmos and coupler are needed at least. |
I started a draft PR here: CliMA/ClimaAtmos.jl#3690 |
Can we not realize this performance gain by changing the threeading pattern? |
RRTMGP distributes work by assigning one thread per each column. Updating data layouts for some variables is the easiest way to realize performance gains. |
Purpose
Refactor Fluxes, change data layout.
Use (ncol, nlev) ordering instead of (nlev, ncol).