You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
petsc_save_checkpoint() does not include the recent XDMF changes. #80
petsc_save_checkpoint() does not include the recent XDMF updates for creating vertex and cell datasets; it only saves datasets based on the MeshVariable degree.
Do we need two separate functions for checkpointing (write_timestep() and petsc_save_checkpoint())?
If both are required, the recent XDMF updates should also be added to petsc_save_checkpoint().
For easier maintenance, it may be better to keep a single checkpointing function.
petsc_save_checkpoint() now delegates to write_timestep(), so it gets all the recent XDMF improvements: vertex/cell compatibility groups, field projection (P2→P1), and tensor repacking for ParaView.
This is a single checkpointing function internally now — petsc_save_checkpoint() is a convenience wrapper around write_timestep().
Note: The output file layout changes from a single HDF5 file to per-variable files (same format as write_timestep()), so scripts that read back the old _step_NNNNN.h5 filenames will need updating.
@gthyagi — should we cherry-pick this to main for a v3.0.1 patch, or is it fine to wait on development for the next release?
Some of our benchmark examples use petsc_save_checkpoint() to write output. It would be useful to cherry-pick this into main so that users can generate consistent outputs for visualisation in ParaView.
@gthyagi — Cherry-picked to main (commit 4117a72). The fix is now on both branches.
Could you verify it works for your benchmark examples and close if all good? The build cache fix (--no-cache-dir) is also on main now, so ./uw build should pick up changes reliably without needing rm -rf build/.
Underworld development team with AI support from Claude Code
Activity
Fix petsc_save_checkpoint() to use XDMF compat groups (fixes #80)
lmoresi commentedon Mar 14, 2026
Fixed on
developmentbranch (commit 0f220a1).petsc_save_checkpoint()now delegates towrite_timestep(), so it gets all the recent XDMF improvements: vertex/cell compatibility groups, field projection (P2→P1), and tensor repacking for ParaView.This is a single checkpointing function internally now —
petsc_save_checkpoint()is a convenience wrapper aroundwrite_timestep().Note: The output file layout changes from a single HDF5 file to per-variable files (same format as
write_timestep()), so scripts that read back the old_step_NNNNN.h5filenames will need updating.@gthyagi — should we cherry-pick this to
mainfor a v3.0.1 patch, or is it fine to wait ondevelopmentfor the next release?gthyagi commentedon Mar 14, 2026
Some of our benchmark examples use
petsc_save_checkpoint()to write output. It would be useful to cherry-pick this into main so that users can generate consistent outputs for visualisation in ParaView.lmoresi commentedon Mar 15, 2026
@gthyagi — Cherry-picked to
main(commit 4117a72). The fix is now on both branches.Could you verify it works for your benchmark examples and close if all good? The build cache fix (
--no-cache-dir) is also on main now, so./uw buildshould pick up changes reliably without needingrm -rf build/.Underworld development team with AI support from Claude Code
Fix petsc_save_checkpoint() to use XDMF compat groups (fixes underwor…
Fix units setup in vector projection Poisson test (#227)