A parallel particle cluster algorithm using nearest neighbour graphs and passive target communication

Matthias Frey, Steven Böing, Rui F. G. Apóstolo
{"title":"A parallel particle cluster algorithm using nearest neighbour graphs and passive target communication","authors":"Matthias Frey, Steven Böing, Rui F. G. Apóstolo","doi":"arxiv-2408.15348","DOIUrl":null,"url":null,"abstract":"We present a parallel cluster algorithm for $N$-body simulations which uses a\nnearest neighbour search algorithm and one-sided messaging passing interface\n(MPI) communication. The nearest neighbour is defined by the Euclidean distance\nin three-dimensional space. The resulting directed nearest neighbour graphs\nthat are used to define the clusters are split up in an iterative procedure\nwith MPI remote memory access (RMA) communication. The method has been\nimplemented as part of the elliptical parcel-in-cell (EPIC) method targeting\ngeophysical fluid flows. The parallel scalability of the algorithm is discussed\nby means of an artificial and a standard fluid dynamics test case. The cluster\nalgorithm shows good weak and strong scalability up to 16,384 cores with a\nparallel weak scaling efficiency of about 80% for balanced workloads. In poorly\nbalanced problems, MPI synchronisation dominates execution of the cluster\nalgorithm and thus drastically worsens its parallel scalability.","PeriodicalId":501422,"journal":{"name":"arXiv - CS - Distributed, Parallel, and Cluster Computing","volume":"45 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-08-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Distributed, Parallel, and Cluster Computing","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2408.15348","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

We present a parallel cluster algorithm for $N$-body simulations which uses a nearest neighbour search algorithm and one-sided messaging passing interface (MPI) communication. The nearest neighbour is defined by the Euclidean distance in three-dimensional space. The resulting directed nearest neighbour graphs that are used to define the clusters are split up in an iterative procedure with MPI remote memory access (RMA) communication. The method has been implemented as part of the elliptical parcel-in-cell (EPIC) method targeting geophysical fluid flows. The parallel scalability of the algorithm is discussed by means of an artificial and a standard fluid dynamics test case. The cluster algorithm shows good weak and strong scalability up to 16,384 cores with a parallel weak scaling efficiency of about 80% for balanced workloads. In poorly balanced problems, MPI synchronisation dominates execution of the cluster algorithm and thus drastically worsens its parallel scalability.
使用近邻图和被动目标通信的并行粒子群算法
我们提出了一种用于 $N$ 体模拟的并行集群算法,该算法使用最近邻搜索算法和单边消息传递接口(MPI)通信。最近邻定义为三维空间中的欧氏距离。通过 MPI 远程内存访问(RMA)通信,在迭代过程中分割出用于定义聚类的有向近邻图。该方法已作为针对地球物理流体流的椭圆包裹单元(EPIC)方法的一部分加以实施。通过人工和标准流体动力学测试案例讨论了该算法的并行可扩展性。聚类算法显示出良好的弱可扩展性和强可扩展性,最高可扩展至 16,384 个内核,对于平衡的工作负载,并行弱扩展效率约为 80%。在平衡性较差的问题中,MPI 同步主导了聚类算法的执行,从而大大降低了其并行可扩展性。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信