glotzerlab / hoomd-blue

Molecular dynamics and Monte Carlo soft matter simulation on GPUs.
http://glotzerlab.engin.umich.edu/hoomd-blue
BSD 3-Clause "New" or "Revised" License
329 stars 127 forks source link

MPI overdecomposition #59

Closed joaander closed 9 years ago

joaander commented 9 years ago

Original report by Jens Glaser (Bitbucket: jens_glaser, GitHub: jglaser).


It would be a nice performance feature to have to be able to over-decompose a system into small domains. This can be important for very compute-intensive simulations (e.g. HPMC depletants), which are currently limited by the domain fine-graining size. The feature would require having more than one (n) halo-layers around each domain. I haven't investigated if LAMMPS can already do that.

Required changes

joaander commented 9 years ago

Interesting idea for MD. But I don't think it gains you much for HPMC. In HPMC the inactive region is 1 particle diameter wide in each domain. As the domain size approaches 1 particle diameter, very few trial moves will be performed. And none at all when the domain is exactly 1 wide.

joaander commented 9 years ago

Original comment by Jens Glaser (Bitbucket: jens_glaser, GitHub: jglaser).


You're right, with HPMC the active layer gets thinner and thinner, so the number of valid trial moves will go down the way you described, and yes, this holds for hard particles only. This suddenly makes the proposal less attractive, as MD is typically less compute intense.

joaander commented 9 years ago

Probably doesn't make sense to implement.