An Analysis of Three C/C++ Cluster-Computing Libraries for Agent-Based Models.

Uloženo v:
Podrobná bibliografie
Název: An Analysis of Three C/C++ Cluster-Computing Libraries for Agent-Based Models.
Autoři: Fukuda, Munehiro, Wang, Kevin, Panther, Sarah, Wong, Nathan, Dudder, Ian, Shao, Qingran
Zdroj: ACM Transactions on Modeling & Computer Simulation; Oct2025, Vol. 35 Issue 4, p1-31, 31p
Témata: SIMULATION software, PARALLEL programming, MULTIAGENT systems, COMPUTER workstation clusters, COMPARATIVE studies, BENCHMARK problems (Computer science), COMPUTER software development, SOFTWARE libraries (Computer programming)
Abstrakt: Agent-based modeling (ABM) is increasing its popularity and is applied to practical simulation where millions of agents need to interact with each other over a large-scale logical space. Cluster computing is an approach to accommodating ABM's needs of both CPU and spatial scalability. This research compares three parallel ABM libraries such as FLAME, Repast HPC, and our MASS C++ libraries, all modeling simulation programs in C/C++ and running them in parallel over a cluster system. Our comparative work selects seven benchmark programs from social, behavioral, and economic sciences, biology, and urban planning; parallelizes them with each of these three libraries; analyzes their programmability through the parallelization; and measures their parallel performance. Our results reach two findings. The programmability of each ABM library has different pros and cons in metrics such as total lines of code (LoC), boilerplate percentages, agent/space modeling and management LoC, lack of cohesion of methods (LCOM), ease of agent synchronizations, and semantically smooth coding. Therefore, there is no all-in-one ABM library for best programming any application domains. However, ABM parallel executions are heavily affected by each library's design principles. In particular, FLAME's frequent file accesses and message broadcasts as well as Repast HPC's central agent managements incur system overheads or bottlenecks. These performance drawbacks give MASS C++ an advantage in performing fastest and scaling up simulation most successfully. [ABSTRACT FROM AUTHOR]
Copyright of ACM Transactions on Modeling & Computer Simulation is the property of Association for Computing Machinery and its content may not be copied or emailed to multiple sites without the copyright holder's express written permission. Additionally, content may not be used with any artificial intelligence tools or machine learning technologies. However, users may print, download, or email articles for individual use. This abstract may be abridged. No warranty is given about the accuracy of the copy. Users should refer to the original published version of the material for the full abstract. (Copyright applies to all Abstracts.)
Databáze: Complementary Index
Popis
Abstrakt:Agent-based modeling (ABM) is increasing its popularity and is applied to practical simulation where millions of agents need to interact with each other over a large-scale logical space. Cluster computing is an approach to accommodating ABM's needs of both CPU and spatial scalability. This research compares three parallel ABM libraries such as FLAME, Repast HPC, and our MASS C++ libraries, all modeling simulation programs in C/C++ and running them in parallel over a cluster system. Our comparative work selects seven benchmark programs from social, behavioral, and economic sciences, biology, and urban planning; parallelizes them with each of these three libraries; analyzes their programmability through the parallelization; and measures their parallel performance. Our results reach two findings. The programmability of each ABM library has different pros and cons in metrics such as total lines of code (LoC), boilerplate percentages, agent/space modeling and management LoC, lack of cohesion of methods (LCOM), ease of agent synchronizations, and semantically smooth coding. Therefore, there is no all-in-one ABM library for best programming any application domains. However, ABM parallel executions are heavily affected by each library's design principles. In particular, FLAME's frequent file accesses and message broadcasts as well as Repast HPC's central agent managements incur system overheads or bottlenecks. These performance drawbacks give MASS C++ an advantage in performing fastest and scaling up simulation most successfully. [ABSTRACT FROM AUTHOR]
ISSN:10493301
DOI:10.1145/3732778