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

Enable fields with a last lower bound different from 1 #35

Merged
merged 9 commits into from
Apr 12, 2024

Conversation

pmarguinaud
Copy link
Collaborator

@pmarguinaud pmarguinaud commented Apr 1, 2024

The purpose of this PR is to enable fields with a last dimension (usually the block dimension) different from 1; in particular, we test gather/scatter and reshuffle functionnalities on these fields.

Tested in ARPEGE t798, double precision : we run this test case on 12 NVIDIA V100. Using temporaries with block range allowed us to decrease the amount of required memory by a factor of 2. Each MPI task has 72058 = 2252 x 32 points, we process the 2252 blocks in 4 batches of 640 blocks.

@pmarguinaud pmarguinaud requested a review from awnawab April 7, 2024 15:39
Copy link
Collaborator

@awnawab awnawab left a comment

Choose a reason for hiding this comment

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

Thanks a lot for this @pmarguinaud! This makes the usage of owned fields more flexible and makes the behaviour of the persistent option more coherent 👍

@awnawab awnawab changed the title Enable fields with a last upper bound different from 1 Enable fields with a last lower bound different from 1 Apr 8, 2024
@awnawab awnawab merged commit affc125 into ecmwf-ifs:main Apr 12, 2024
4 checks passed
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.

2 participants