Abstract
This paper presents a data-parallel formulation for N-body simulations using the Barnes-Hut method. The tree-structured problem is first linearized by using space-filling curves. This process allows us to use standard data distributions and parallel array operations available in data-parallel languages. A new efficient HPF implementation of the Barnes-Hut method is presented in this paper, characterized by the use of array copy sections to express communications, obtaining efficient point- to-point data transferences. In addition, HPF_LOCAL constructs are used to obtain very compact and efficient local (node) codes.
This work was supported by the Ministry of Education and Science (CICYT) of Spain under project TIC96-1125-C03
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Barnes, J., Hut, P.: A Hierarchical O(N log N) Force-Calculation Algorithm. Nature 324 (Dec. 1986) 446–449.
Fonlupt, C., Marquet, P., Dekeyser, J.-L.: Data-Parallel Load Balancing Strategies. J. Parallel Computing 24 (1998) 1665–1684.
Hu, Y.C., Johnsson, S.L., Teng, S.-H.: High Performance Fortran for Highly Irregular Problems. ACM SIGPLAN Symp. Principles and Practice of Parallel Programming (PPoPP’97) (Las Vegas, NV, Jun. 1997) 13–24.
McCurdy, C., Mellor-Crummey, J.: An Evaluation of Computing Paradigms for N-body Simulations on Distributed Memory Architectures. ACM SIGPLAN Symp. Principles and Practice of Parallel Programming (PPoPP’99) (Atlanta, GA, May 1999) 25–36.
Ou, C., Ranka, S., Fox, G.: Fast and Parallel Mapping Algorithms for Irregular Problems. J. of Supercomputing 10 (2) (1996) 119–140.
Woo, S.C., Ohara, M., Torrie, E., Singh, J.-P., Gupta, A.: The SPLASH2 Programs: Characterization and Methodological Considerations. ACM/IEEE Int’l. Symp. Computer Architecture (ISCA’95) (Jun. 1995) 24–26.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2001 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Amor, M., Argüello, F., López, J., Plata, O., Zapata, E.L. (2001). A Data Parallel Formulation of the Barnes-Hut Method for N-Body Simulations. In: Sørevik, T., Manne, F., Gebremedhin, A.H., Moe, R. (eds) Applied Parallel Computing. New Paradigms for HPC in Industry and Academia. PARA 2000. Lecture Notes in Computer Science, vol 1947. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-70734-4_40
Download citation
DOI: https://doi.org/10.1007/3-540-70734-4_40
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-41729-3
Online ISBN: 978-3-540-70734-9
eBook Packages: Springer Book Archive