Skip to content

Petsc 64 bit int fixes - #5252

Merged
leo-collins merged 11 commits into
leo/64bit-intfrom
leo/petsc-int-fixes
Jul 22, 2026
Merged

Petsc 64 bit int fixes#5252
leo-collins merged 11 commits into
leo/64bit-intfrom
leo/petsc-int-fixes

Conversation

@leo-collins

Copy link
Copy Markdown
Contributor

Fixes #5250 and #3913.

Use PetscInt as much as we can essentially. Tested locally on a 64 bit Petsc build

@connorjward

Copy link
Copy Markdown
Contributor

Thanks for this hard work!

If you don't mind, would you be able to take this the last step of the way and enable int64 testing on CI? It'd be exactly the same as what we do for complex and single (in #5033). That would be really amazing.

@leo-collins
leo-collins force-pushed the leo/petsc-int-fixes branch from 90f881d to 14f85c5 Compare July 16, 2026 13:01
@leo-collins
leo-collins changed the base branch from release to leo/64bit-int July 16, 2026 13:01
@leo-collins leo-collins added the ci:int64 Do a 64 bit integer build label Jul 16, 2026
@leo-collins
leo-collins force-pushed the leo/petsc-int-fixes branch from bae6480 to 14f85c5 Compare July 16, 2026 13:27
@leo-collins leo-collins added the base:release Run this PR using a release build label Jul 16, 2026
Comment thread firedrake/evaluate.h Outdated
Comment thread firedrake/locate.c Outdated
Comment thread firedrake/locate.c Outdated
use size_t for ncells_ignore
use size_t for loops over ignored cells
locator now returns int since it is an error code
Comment thread firedrake/mesh.py
This was very flaky
Add additional assertions to test that the transformed reduced
functional converges faster
Co-authored-by: Josh Hope-Collins <joshua.hope-collins13@imperial.ac.uk>
@leo-collins
leo-collins merged commit 6635283 into leo/64bit-int Jul 22, 2026
3 of 7 checks passed
@leo-collins
leo-collins deleted the leo/petsc-int-fixes branch July 22, 2026 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

base:release Run this PR using a release build ci:int64 Do a 64 bit integer build

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants