Skip to content

fix(examples): Update examples for latest PETSc changes#1956

Merged
jeremylt merged 1 commit intomainfrom
jrwrigh/update_petsc_deps
Apr 22, 2026
Merged

fix(examples): Update examples for latest PETSc changes#1956
jeremylt merged 1 commit intomainfrom
jrwrigh/update_petsc_deps

Conversation

@jrwrigh
Copy link
Copy Markdown
Collaborator

@jrwrigh jrwrigh commented Apr 21, 2026

Purpose:

Update the examples to be compatible with the latest PETSc versions.

Note this will require updating the PETSc build on Noether.

LLM/GenAI Disclosure:

None

@jrwrigh jrwrigh force-pushed the jrwrigh/update_petsc_deps branch from 9b91d0b to bd50d32 Compare April 21, 2026 15:29
Comment thread examples/solids/elasticity.c
Copy link
Copy Markdown
Member

@jeremylt jeremylt left a comment

Choose a reason for hiding this comment

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

Working on the CI build update currently, will reply when ready

@jeremylt
Copy link
Copy Markdown
Member

We also need to swap the test cases over to using ts_time_step instead of ts_dt

@jrwrigh jrwrigh force-pushed the jrwrigh/update_petsc_deps branch from bd50d32 to c821637 Compare April 21, 2026 18:57
@jeremylt
Copy link
Copy Markdown
Member

@jrwrigh
Copy link
Copy Markdown
Collaborator Author

jrwrigh commented Apr 22, 2026

Looks like they're all CUDA backends. Did you revert the CUDA change in PETSc that we've been having to recycle?

commit 8176a7140471166274ad21eefd68452483cbaa22 (HEAD -> main)
Author: Jeremy <jeremy@jeremylt.org>
Date:   Mon Jun 16 17:14:11 2025 -0600

    Revert "CUVEC: fix copy from device to default to copy to device"

    This reverts commit 7ada2a5134eeb4113b6693316dd2660902f08a96.

We really should figure out what's going on there...

@jeremylt
Copy link
Copy Markdown
Member

ah crap - I ran the rebuild script without reverting that one commit

@jeremylt jeremylt merged commit 64cbdba into main Apr 22, 2026
31 checks passed
@jeremylt jeremylt deleted the jrwrigh/update_petsc_deps branch April 22, 2026 16:40
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