Massively parallel tandem traversal of bounding volume hierarchies for geometric queries on distributed meshes

IF 4.8 2区 工程技术 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS
A. Motte , C. Bovet , V. Chiaruttini , O. Jamond , B. Prabel
{"title":"Massively parallel tandem traversal of bounding volume hierarchies for geometric queries on distributed meshes","authors":"A. Motte ,&nbsp;C. Bovet ,&nbsp;V. Chiaruttini ,&nbsp;O. Jamond ,&nbsp;B. Prabel","doi":"10.1016/j.compstruc.2025.107843","DOIUrl":null,"url":null,"abstract":"<div><div>The efficient computation of geometric queries on large sets of elements, such as intersections or nearest neighbor searches, is crucial for many applications such as contact detection in mechanics simulations. While hierarchical data structures based on spatial or geometric partitioning have been extensively studied over the past 40 years, research detailing their adaptation to massively distributed environments using the message passing interface library—specifically how the communications are done and optimized for parallel efficiency—remains under-explored. We quantify the impact of various design choices to achieve rapid contact detection in massively distributed simulations using bounding volume hierarchies. The memory layout is optimized by reducing the hierarchy node size and ordering them with an innovative “L-filling curve” pattern. Next, the impact of a tandem traversal algorithm is analyzed, along with the optimal exploration order of both hierarchies’ nodes. The parallelization of this tandem traversal is presented, focusing on balancing message latency and volume to enhance parallel efficiency. These design choices extend to a wide range of applications and data structures. Finally, the algorithm’s strong performance is demonstrated up to 20,000 MPI tasks to handle tens of billions of intersections on very large meshes exceeding 100 billion elements.</div></div>","PeriodicalId":50626,"journal":{"name":"Computers & Structures","volume":"316 ","pages":"Article 107843"},"PeriodicalIF":4.8000,"publicationDate":"2025-06-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computers & Structures","FirstCategoryId":"5","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0045794925002019","RegionNum":2,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS","Score":null,"Total":0}
引用次数: 0

Abstract

The efficient computation of geometric queries on large sets of elements, such as intersections or nearest neighbor searches, is crucial for many applications such as contact detection in mechanics simulations. While hierarchical data structures based on spatial or geometric partitioning have been extensively studied over the past 40 years, research detailing their adaptation to massively distributed environments using the message passing interface library—specifically how the communications are done and optimized for parallel efficiency—remains under-explored. We quantify the impact of various design choices to achieve rapid contact detection in massively distributed simulations using bounding volume hierarchies. The memory layout is optimized by reducing the hierarchy node size and ordering them with an innovative “L-filling curve” pattern. Next, the impact of a tandem traversal algorithm is analyzed, along with the optimal exploration order of both hierarchies’ nodes. The parallelization of this tandem traversal is presented, focusing on balancing message latency and volume to enhance parallel efficiency. These design choices extend to a wide range of applications and data structures. Finally, the algorithm’s strong performance is demonstrated up to 20,000 MPI tasks to handle tens of billions of intersections on very large meshes exceeding 100 billion elements.
分布式网格上几何查询的边界体层次结构的大规模并行串联遍历
对大量元素的几何查询的高效计算,如交叉点或最近邻搜索,对于力学模拟中的接触检测等许多应用至关重要。虽然在过去的40年里,基于空间或几何划分的分层数据结构已经得到了广泛的研究,但详细研究它们如何使用消息传递接口库适应大规模分布式环境(特别是如何完成通信并优化并行效率)的研究仍然不足。我们量化各种设计选择的影响,以实现快速接触检测在大规模分布式模拟使用边界体积层次结构。通过减少层次节点大小,并采用创新的“l填充曲线”模式对其排序,优化了内存布局。其次,分析了串联遍历算法的影响,以及两个层次节点的最优探索顺序。提出了这种串联遍历的并行化,重点是平衡消息延迟和容量以提高并行效率。这些设计选择扩展到广泛的应用程序和数据结构。最后,在超过1000亿个元素的超大网格上,该算法可以处理多达20,000个MPI任务的数百亿个交叉点,证明了该算法的强大性能。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Computers & Structures
Computers & Structures 工程技术-工程:土木
CiteScore
8.80
自引率
6.40%
发文量
122
审稿时长
33 days
期刊介绍: Computers & Structures publishes advances in the development and use of computational methods for the solution of problems in engineering and the sciences. The range of appropriate contributions is wide, and includes papers on establishing appropriate mathematical models and their numerical solution in all areas of mechanics. The journal also includes articles that present a substantial review of a field in the topics of the journal.
×
引用
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学术文献互助群
群 号:604180095
Book学术官方微信