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

Save the alignment hints and reuse them in each ncmpi__enddef #126

Merged
merged 3 commits into from
Feb 24, 2024

Conversation

wkliao
Copy link
Member

@wkliao wkliao commented Feb 24, 2024

ncmpi_endf and ncmpi__enddef may be called multiple times.
We need to save the alignment hints, h_align, v_align, and r_align
as they maybe changed in each call to ncmpi__enddef.
Reset them to the original hints allows users to use different
alignments in each call to ncmpi__enddef.

ncmpi_endf and ncmpi__enddef may be called multiple times.
We need to save the alignment hints, h_align, v_align, and r_align
as they maybe changed in each call to ncmpi__enddef.
Reset them to the original hints allows users to use different
alignments in each call to ncmpi__enddef.
@wkliao wkliao merged commit 127648a into master Feb 24, 2024
3 of 4 checks passed
@wkliao wkliao deleted the align_reset branch March 15, 2024 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant