Skip to content

Mesh gravity speed-ups

Matthieu Schaller requested to merge parallel_mesh into master

Implements two improvements:

  • Use the threadpool to apply the Green function in the PM part of the code
  • Use an asynchronous all-reduce to communicate the mesh across the MPI ranks.

To implement the second part, I have removed the call to space_split() that was in space_rebuild(). The space_split() is now called after the communication has been initiated.

Merge request reports