Skip to main content

Research Repository

Advanced Search

PHoToNs–A parallel heterogeneous and threads oriented code for cosmological N-body simulation

Wang, Qiao; Cao, Zong-Yan; Gao, Liang; Chi, Xue-Bin; Meng, Chen; Wang, Jie; Wang, Long

PHoToNs–A parallel heterogeneous and threads oriented code for cosmological N-body simulation Thumbnail


Authors

Qiao Wang

Zong-Yan Cao

Liang Gao

Xue-Bin Chi

Chen Meng

Jie Wang

Long Wang



Abstract

We introduce a new code for cosmological simulations, PHoToNs, which incorporates features for performing massive cosmological simulations on heterogeneous high performance computer (HPC) systems and threads oriented programming. PHoToNs adopts a hybrid scheme to compute gravitational force, with the conventional Particle-Mesh (PM) algorithm to compute the long-range force, the Tree algorithm to compute the short range force and the direct summation Particle-Particle (PP) algorithm to compute gravity from very close particles. A self-similar space filling a Peano-Hilbert curve is used to decompose the computing domain. Threads programming is advantageously used to more flexibly manage the domain communication, PM calculation and synchronization, as well as Dual Tree Traversal on the CPU+MIC platform. PHoToNs scales well and efficiency of the PP kernel achieves 68.6% of peak performance on MIC and 74.4% on CPU platforms. We also test the accuracy of the code against the much used Gadget-2 in the community and found excellent agreement.

Citation

Wang, Q., Cao, Z., Gao, L., Chi, X., Meng, C., Wang, J., & Wang, L. (2018). PHoToNs–A parallel heterogeneous and threads oriented code for cosmological N-body simulation. Research in Astronomy and Astrophysics, 18(6), Article 062. https://doi.org/10.1088/1674-4527/18/6/62

Journal Article Type Article
Acceptance Date Feb 26, 2018
Online Publication Date Jun 30, 2018
Publication Date Jun 30, 2018
Deposit Date Jul 13, 2018
Publicly Available Date Jun 30, 2019
Journal Research in Astronomy and Astrophysics
Print ISSN 1674-4527
Publisher IOP Publishing
Peer Reviewed Peer Reviewed
Volume 18
Issue 6
Article Number 062
DOI https://doi.org/10.1088/1674-4527/18/6/62

Files




You might also like



Downloadable Citations