Abstract
While attempting the parallelization of multiagent systems, a load imbalance often slows down the calculation. Hirokawa et al. presented a multilevel hierarchy of parallelism to mitigate the load-imbalance problem of the Boids model using a pseudo-quadruple arithmetic technique. In this paper, we modify the hierarchies of parallelization for both the K computer and a heterogeneous multiprocessing (HMP) unit, and evaluate the performance of the proposed solutions on these systems. We observed that the parallelization can decrease the negative effects of a load imbalance. Furthermore, we discovered that the power consumption can be effectively controlled by calculating the load and that the simultaneous use of both high-performance cores and low-energy cores slows down the calculations on the HMP unit. Parallelization has been reported to have the potential for enabling the completion of simulations in real time and to have the ability to evaluate up to 3000 billion agents using the K computer.
Similar content being viewed by others
References
Weiss G (1999) Multiagent systems—modern approach to distributed artificial intelligence. MIT Press, Cambridge
Collier N, North M (2012) Parallel agent-based simulation with repast for high performance computing. Simul Trans Soc Model Simul Int 89:1215–1235
Craig WR (1987) Flocks, herds, and schools: a distributed behavioral model. Comput Gr 21:25–34
Terai M, Matsuzawa T (2006) MPI-OpenMP hybrid parallel computation in continuous-velocity lattice-gas model. In: Deane A, Brenner G, Ecer A, Emerson DR, McDonough J, Periaux J, Satofuka N, Tromeur-Dervout D (eds) Parallel computational fluid dynamics –theory and applications. Elsevier, Amsterdam, pp 477–484
Hirokawa Y, Nishikawa N, Asano T, Terai M, Matsuzawa T (2016) A study of real-time and 100 billion agents simulation using the Boids model. Artif Life Robot 21:525–530. https://doi.org/10.1007/s10015-016-0308-3
Grest GS, Dünweg B, Kremer K (1989) Vectorized link cell fortran code for molecular dynamics simulations for a large number of particles. Comput Phys Commun 55:269–285
Balevičius R, Kačianauskas R, Džiugys A, Maknickas A, Vislavičius K (2005) Demmat code for numerical simulation of multi-particle systems dynamics. Inf Technol Control 34:71–78
Knuth DE (1969) The art of computer programming: seminumerical algorithm, chapter 4.2, vol 2. Addison Wesley, Boston
MPI Forum (2016) http://meetings.mpi-forum.org/. Accessed 16 Apr 2019
OpenMP Architecture Review Board, OpenMP Specifications. http://openmp.org/. Accessed 16 Apr 2019
Yokokawa M, Shoji F, Uno A, Kurokawa M, Watanabe T (2011) The K computer: Japanese next-generation supercomputer development project, In: IEEE/ACM international symposium on low power electronics and design, pp 371–372, https://doi.org/10.1109/islped.2011.5993668
Fujitsu, SPARC64™ VIII Extensions (2010) http://www.fujitsu.com/downloads/TC/sparc64viiifx-extensions.pdf. Accessed 16 Apr 2019
Roy R (ed) (2017) ODROID-XU4 manual, rev.20170310. https://magazine.odroid.com/odroid-xu4. Accessed 16 Apr 2019
Smith B, BjØrstad P, Gropp W (1996) Domain decomposition: parallel multilevel methods for elliptic partial multilevel methods for ellipitec partial equations. Cambridge University Press, Cambridge
Kurokawa M, Himeno R, Shigetani T, Matsuzawa T (2000) A case study of the partitioning patterns for domain decomposition method on VPP700E. RIKEN Rev 30:30–34
Acknowledgements
This research was supported by MEXT as “Exploratory Challenges on Post-K computer (Study on multilayered multiscale spacetime simulations for social and economical phenomena)”. This work was supported by JSPS KAKENHI Grant number JP18K04676, JP17K00328.
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
About this article
Cite this article
Hirokawa, Y., Terai, M., Matsuzawa, T. et al. The large-scale parallelization of the Boids model on the K computer and the heterogeneous multi-processing unit. Artif Life Robotics 25, 24–29 (2020). https://doi.org/10.1007/s10015-019-00562-w
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10015-019-00562-w