Skip to content
Snippets Groups Projects

Memory-lean implementation of FOF

Merged Matthieu Schaller requested to merge leaner_fof into master

New strategy:

  • Run FOF only on the linkables.
  • Do all the union-finding business also over MPI.
  • Assign the group IDs to all the linkables.
  • (new) Run a new FOF loop over the particles this time on the attachable and find their nearest linkable. Record the distance for this and assign the linkable's groupID to the attachable.
  • At this stage each particle knows which group it is in.
  • Allocate arrays on each node to collect all the group info by looping over every particle.
  • All-reduce these arrays.
  • If needed, seed black holes.
  • As all nodes now have all the info about every group, simplify the i/o and have only rank 0 dump the file.
Edited by Matthieu Schaller

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading