ECP-WarpX/WarpX

Restart Broken with BTD

ax3l opened this issue · 0 comments

ax3l commented

The following inputs cannot restart (comment in line 4 and 5 after first run) anymore:
2024-04-04_repro-restart-josh.txt
Reported by @joshualudwig8

Key features used:

  • RZ
  • BTD (gamma-boost 40)
  • ionization physics on
  • PSATD w/ direct current deposition and psatd.use_default_v_galilean = 1

Reproduce:

  • run on 1 MPI rank on CPU for 10 steps
  • run again with max_steps set to 20 and restart line commented in

This crashes:

 3: ./warpx.rz(+0x444063) [0x6297ddce1063]
    amrex::RealBox::setLo(int, double) at /home/axel/src/warpx/build/_deps/fetchedamrex-src/Src/Base/AMReX_RealBox.H:70
 (inlined by) Diagnostics::setSnapshotDomainLo(int, int, double) at /home/axel/src/warpx/Source/Diagnostics/Diagnostics.H:151
 (inlined by) WarpX::InitFromCheckpoint() at /home/axel/src/warpx/Source/Diagnostics/WarpXIO.cpp:244

 4: ./warpx.rz(+0x1b3986) [0x6297dda50986]
    WarpX::InitData() at /home/axel/src/warpx/Source/Initialization/WarpXInitData.cpp:461