Skip to content

Fix checkpoint restarting with edited checkpoints#5681

Open
nicowrobel wants to merge 1 commit into
ComputationalRadiationPhysics:devfrom
nicowrobel:OldBunchInit
Open

Fix checkpoint restarting with edited checkpoints#5681
nicowrobel wants to merge 1 commit into
ComputationalRadiationPhysics:devfrom
nicowrobel:OldBunchInit

Conversation

@nicowrobel
Copy link
Copy Markdown
Contributor

This PR should resolve issue #5678.

The values of numParticles of the particle patch were accidentally also written into the numParticlesOffset dataset of the edited checkpoint. This was not caught by the checkpoint loading logic of PIConGPU before PR #5508. Afterward, it resulted in a crash on reload, which should be fixed now.

- numParticles were written into the numParticlesOffset dataset
Copy link
Copy Markdown
Contributor

@finnolec finnolec left a comment

Choose a reason for hiding this comment

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

This seems to work for me and should close #5678.

@PrometheusPi PrometheusPi added bug a bug in the project's code component: tools scripts, python libs and CMake CI:no-compile CI is skipping compile/runtime tests but runs PICMI tests labels Apr 30, 2026
@PrometheusPi PrometheusPi added this to the 0.9.0 / next stable milestone Apr 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug a bug in the project's code CI:no-compile CI is skipping compile/runtime tests but runs PICMI tests component: tools scripts, python libs and CMake

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants