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

MPI maintenance #4383

Merged
merged 8 commits into from
Oct 30, 2021
Merged

MPI maintenance #4383

merged 8 commits into from
Oct 30, 2021

Conversation

jngrad
Copy link
Member

@jngrad jngrad commented Oct 29, 2021

Description of changes:

  • remove 10 superfluous MPI callbacks (100 lines of code)
  • remove relics from the original MPI infrastructure where callbacks could only have two int as arguments
  • make MPI callback names more consistent and cleanup the MpiCallbacks doxygen documentation
  • separation of concerns: make bonded interactions almost completely independent of non-bonded interactions
    • only exception: the Thole interaction
  • bugfixes:
    • electrostatic/magnetostatic sanity checks error codes were not handled in on_integration_start()
    • the cellsystem used to ignore runtime error warnings when a dihedral bond was added in such a way that the maximal bonded interaction range would become larger than the box size

MPI callbacks can take any number of arguments.
Bond information was not propagated to the cellsystem, which relies
on bonded interaction cutoffs to determine the interaction range.
The min_num_cells sanity check was not handled for dihedrals. The
electrostatic/magnetostatic sanity checks error code was not handled.
For better separation of concerns, move the bonded interactions
utility functions out of the non-bonded interactions module.
@jngrad jngrad added this to the Espresso 4.2 milestone Oct 29, 2021
@jngrad jngrad marked this pull request as ready for review October 29, 2021 13:18
@jngrad jngrad requested a review from reinaual October 29, 2021 13:18
@jngrad jngrad added the automerge Merge with kodiak label Oct 30, 2021
@kodiakhq kodiakhq bot merged commit 5bab6bd into espressomd:python Oct 30, 2021
@jngrad jngrad deleted the mpi_maintenance branch March 16, 2022 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants