Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor checkpointing feature #4510

Merged
merged 4 commits into from
May 16, 2022
Merged

Conversation

jngrad
Copy link
Member

@jngrad jngrad commented May 11, 2022

Description of changes:

  • Intel 19.0.x compiler errors in the LB code were addressed (reported by @pm-blanco)
  • reaction methods now generate a clear error message when an attempt is made to checkpoint them (reported by @mebrito)
  • the cell system now properly serializes its state during checkpointing, including the HybridDecomposition cell system
  • restore checkpointing of constraints, LB boundaries and auto-update accumulators when using 2 or more MPI ranks

jngrad added 2 commits May 11, 2022 18:31
Reactions methods do not support checkpointing since the Mersenne
Twister cannot be serialized. The cell system was using incorrect
labels for the serialized cell parameters.
Several versions of the Intel compiler (e.g. 19.0.1 and 19.0.4)
don't support `constexpr void Utils::Vector<T, N>::copy_init()`
calls in a constexpr context involving an initializer list.
@jngrad jngrad added the BugFix label May 11, 2022
pkreissl
pkreissl previously approved these changes May 11, 2022
Copy link
Contributor

@pkreissl pkreissl left a comment

Choose a reason for hiding this comment

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

Good find, fix lgtm, thanks! And also the test is a lot nicer...

Affects constraints, LB boundaries and auto-update accumulators.
@jngrad jngrad changed the title Checkpointing fixes and Intel compiler support Refactor checkpointing feature May 12, 2022
@jngrad jngrad added this to the Espresso 4.2 milestone May 12, 2022
@jngrad
Copy link
Member Author

jngrad commented May 16, 2022

This PR is a requirement for an upcoming PR (mostly ready) that will refactor the cell system script interface.

@jngrad jngrad added the automerge Merge with kodiak label May 16, 2022
@kodiakhq kodiakhq bot merged commit 60e8fd3 into espressomd:python May 16, 2022
@jngrad jngrad deleted the checkpointing_fixes branch May 16, 2022 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants