A. Motte , C. Bovet , V. Chiaruttini , O. Jamond , B. Prabel
{"title":"分布式网格上几何查询的边界体层次结构的大规模并行串联遍历","authors":"A. Motte , C. Bovet , V. Chiaruttini , O. Jamond , 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":"{\"title\":\"Massively parallel tandem traversal of bounding volume hierarchies for geometric queries on distributed meshes\",\"authors\":\"A. Motte , C. Bovet , V. Chiaruttini , O. Jamond , 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}","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}
Massively parallel tandem traversal of bounding volume hierarchies for geometric queries on distributed meshes
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.
期刊介绍:
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.