BoxResize MPI

30 views
Skip to first unread message

Xinyan Yang

unread,
Dec 5, 2023, 10:22:55 AM12/5/23
to hoomd-users
Hi, 

In the documentation of BoxResize, it is mentioned "Rescaling particles fails in HPMC simulations with more than one MPI rank." Does it mean MPI-version hoomd does not support BoxResize in HPMC? I tested BoxResize with 9 ranks in HPMC. It seems the box did get rescaled. So I'm a little bit confused.

Best,
Xinyan

Xinyan Yang

unread,
Dec 5, 2023, 1:30:34 PM12/5/23
to hoomd-users
It seems a lot of overlaps are introduced for multi-cores. Is that the problem with doing BoxResize with more than one MPI rank in HPMC? 

Joshua Anderson

unread,
Dec 5, 2023, 2:55:41 PM12/5/23
to hoomd...@googlegroups.com
Xinyan,

The message you quote from the documentation refers to this issue: https://github.com/glotzerlab/hoomd-blue/issues/568. The box is rescaled, but the particles are shifted as well as scaled. 

You should always expect BoxResize to introduce overlaps regardless of the number of MPI ranks. To reject box changes that would introduce overlaps, use QuickCompress or BoxMC.
------
Joshua A. Anderson, Ph.D.
Research Area Specialist, Chemical Engineering, University of Michigan

--
You received this message because you are subscribed to the Google Groups "hoomd-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hoomd-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hoomd-users/5602d45e-a5d0-417f-bbe1-8abaeec6fd74n%40googlegroups.com.

Joshua Anderson

unread,
Dec 5, 2023, 2:56:45 PM12/5/23
to hoomd...@googlegroups.com
Xinyan,

The box is rescaled, but the particles are shifted as well as scaled. See https://github.com/glotzerlab/hoomd-blue/issues/568 for a description of the issue.

------
Joshua A. Anderson, Ph.D.
Research Area Specialist, Chemical Engineering, University of Michigan
--
You received this message because you are subscribed to the Google Groups "hoomd-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hoomd-users...@googlegroups.com.

Xinyan Yang

unread,
Dec 5, 2023, 3:21:15 PM12/5/23
to hoomd...@googlegroups.com
I see. Thank you!

Reply all
Reply to author
Forward
0 new messages