-
Notifications
You must be signed in to change notification settings - Fork 64
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
Bug fix for chunked array support in ccpp_prebuild #538
Bug fix for chunked array support in ccpp_prebuild #538
Conversation
… host model variable to trigger chunked array logic
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.
Does this work if you have 'chunked' data but only one chunk? I don't see why it shouldn't but wondered if this is something you test.
Yes, it works in that case, too. Thanks for the quick review! |
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.
Looks good to me.
@grantfirl UFS testing for this PR is complete. Can you add your final review please and merge if ok? Thanks! |
Good morning, @grantfirl . Testing is complete on UFS-WM PR #2164. Can you please merge this PR for us? |
Small bug fix required to use chunked arrays and retain backward compatibility with blocked data structures in
ccpp_prebuild.py
This PR is a small bug fix in order to provide backward compatibility with blocked data structures. Specifically, we need to check if the host model variable is a contiguous array (it's horizontal dimension is
CCPP_HORIZONTAL_DIMENSION
) or part of a blocked data structure (it's horizontal dimension isCCPP_HORIZONTAL_LOOP_EXTENT
).User interface changes?: No
Resolves #539
Testing:
- test removed: none
- unit tests: capgen tests in
test
all pass; prebuild tests intest_prebuild
all pass- system tests: doctests in
test
al pass- manual testing: tested extensively in my (yet to be created) PRs that convert all UFS DDTs from blocked data structures to chunked arrays
Dependencies/associated PRs:
This is part of a set of (independent) PRs: