Skip to content

Conversation

@ia267
Copy link
Collaborator

@ia267 ia267 commented Nov 25, 2025

Summary

  • Extend ADIOS2 checkpoint to support Adams-Bashforth time integrators:

    • detect AB time steppers, preserve istep/nstep and write every olds(i,j) buffer per rank in its native SIMD layout
    • keep those buffers alive until writer_session%close() (ADIOS2 deferred writes) and restore them without reordering
    • zero velocity and history fields before restore so padding is deterministic
  • Add a lightweight test case for checkpoint testing with AB3 time-integrator (runs a tiny 1x1 toy mesh, with deterministic derivatives, writes a checkpoint at iteration 5, restarts immediately and checks every old(i,j) buffer matches bit-for-bit)

Testing

  • continuous vs. restart runs for the TGV case works as expected for AB1-4.
  • Ran an AB3 case from 0 to 100 with a checkpoint at 50, restarted from 50 to get bit identical results to the continuous run at time-step 100 (compared enstrophy at this time-step)

closes #174

@ia267 ia267 self-assigned this Nov 25, 2025
@ia267 ia267 added enhancement New feature or request core Issue affecting core mechanisms of the software labels Nov 25, 2025
@ia267 ia267 requested a review from kaanolgu November 25, 2025 18:11
@ia267 ia267 removed the core Issue affecting core mechanisms of the software label Nov 25, 2025
@ia267 ia267 force-pushed the fix/174_adams_bashforth_checkpoints branch from f580d3b to 79a0476 Compare December 11, 2025 14:13
@ia267 ia267 force-pushed the fix/174_adams_bashforth_checkpoints branch from 79a0476 to fa4ec46 Compare December 11, 2025 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support Adams-Bashforth time integration in checkpoint

1 participant