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

Merge main into gtir branch #1587

Merged
merged 2 commits into from
Jul 23, 2024
Merged

Merge main into gtir branch #1587

merged 2 commits into from
Jul 23, 2024

Conversation

edopao
Copy link
Contributor

@edopao edopao commented Jul 23, 2024

No description provided.

edopao and others added 2 commits July 22, 2024 15:48
The Tödi vCluster is temporarily unavailable, so the CI jobs will
timeout. This PR will disables the CSCS CI jobs on Tödi, until it is
back in operational state.
This PR fixes a bug where the size of unstructured temporary fields was
wrong in certain cases. This bug surfaced while working on #1568. It
took me a while to figure out why this never surfaced in validation
tests anywhere:
Right now we compute temporaries for unstructured everywhere, e.g. on
all vertices, etc.. What _everywhere_ means is derived from the offset
provider in `_max_domain_sizes_by_location_type`. The information is
contained either
- explicitly if we have a connectivity with origin axis being the axis
whose size we want to know. E.g. if we have a V2E connectivity then we
have `table.shape[0]` many vertices.
- or implicitly if we have a connectivity with the neighbor axis whose
size we want to know. E.g. if we have a V2E connectivity then we have at
least `table.max()+1` many edges. This computation was wrong.

So as long as we have also the E2V connectivity for the examples above,
the implicit information is not needed / used and everything works fine.
For all our test cases this is indeed the case and since computing
temporaries everywhere is only a temporary solution anyway I am fine
with just fixing this without increasing test coverage.

---------

Co-authored-by: edopao <[email protected]>
@edopao edopao requested a review from tehrengruber July 23, 2024 08:07
@edopao edopao merged commit 2ad201b into gtir Jul 23, 2024
66 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