hoomd.md.constrain.Rigid
does not conserve momentum with more than one MPI rank.
#1468
Labels
bug
Something isn't working
Description
When using
hoomd.md.constrain.Rigid
, the total system momentum is not conserved when using more than one MPI rank.This bug appears to be present starting with the initial implementation in HOOMD-blue v2.0.0. It is caused by a failure to synchronize constituent particle positions between the home rank and the ghost position on a neighbor rank. The specific case I found and will correct is when both the constituent and central particle are ghosts on the neighbor rank.
Script
Input files
restart.gsd.zip
Output
Expected output
net lj force
outputs to be 0 +/- round-off errors.Platform
CPU, GPU, Linux, macOS
Installation method
Compiled from source
HOOMD-blue version
3.8.0
Python version
3.10.6
The text was updated successfully, but these errors were encountered: