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

DO NOT SQUASH Absorb FInAT and GEM #104

Merged
merged 923 commits into from
Dec 6, 2024
Merged

Conversation

connorjward
Copy link

@connorjward connorjward commented Dec 4, 2024

TODOs

  • Fix testing
  • Fix docs
  • Fix install

Goes with firedrakeproject/firedrake#3904

sv2518 and others added 30 commits April 30, 2020 16:19
These will be used for shape-based operations on tensors to allow
compilation of Slate via GEM. Additionally, expose FlexiblyIndexed in
the public API.
Will be used in new pointwise expressions compiler. This avoids a case
where an indexsum accumulates directly into an output variable. This
is only safe if the output tensor is zero on entry (which need not
be the case for pointwise expressions).
… decompose_variable_view, so that this can be reused for generating Slate blocks.
Allow for ComponentTensor(NotAFlexiblyIndexed())
Catches a case where someone built an enriched element with only a
single subelement, which subsequently dies in tree_map(max, ...)
because that implicitly relies on there being at least two
arguments (such that mapping max works).

Fixes firedrakeproject/firedrake#1762.
@connorjward connorjward marked this pull request as ready for review December 5, 2024 11:04
@connorjward connorjward force-pushed the connorjward/add-finat-gem branch from 67fa35e to 7c725d8 Compare December 5, 2024 13:25
.github/workflows/docs.yml Outdated Show resolved Hide resolved
pyproject.toml Show resolved Hide resolved
@pbrubeck
Copy link

pbrubeck commented Dec 5, 2024

This looks great! Only one request: Could CI test FIAT and FInAT separately?

@connorjward
Copy link
Author

This looks great! Only one request: Could CI test FIAT and FInAT separately?

It could, but why is that important to have? Then we need to duplicate various bits of installation logic. The CI isn't exactly slow.

@pbrubeck
Copy link

pbrubeck commented Dec 5, 2024

This looks great! Only one request: Could CI test FIAT and FInAT separately?

It could, but why is that important to have? Then we need to duplicate various bits of installation logic. The CI isn't exactly slow.

I am mostly concerned about the ordering of the tests. Right now, FInAT is tested before FIAT. Since FInAT depends on both GEM and FIAT, could we not have it at the end?

@connorjward
Copy link
Author

This looks great! Only one request: Could CI test FIAT and FInAT separately?

It could, but why is that important to have? Then we need to duplicate various bits of installation logic. The CI isn't exactly slow.

I am mostly concerned about the ordering of the tests. Right now, FInAT is tested before FIAT. Since FInAT depends on both GEM and FIAT, could we not have it at the end?

No problem. I will change it.

@connorjward connorjward force-pushed the connorjward/add-finat-gem branch from 18e30f3 to 39247cb Compare December 5, 2024 20:17
@JDBetteridge
Copy link
Member

You can always add an if: always to the GH action script to force the tests to run even if the step before fails

@connorjward connorjward merged commit acbd449 into master Dec 6, 2024
8 checks passed
@connorjward connorjward deleted the connorjward/add-finat-gem branch December 6, 2024 13:35
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.