14609

A GPU accelerated Barnes-Hut Tree Code for FLASH4

Gunther Lukat, Robi Banerjee
Hamburger Sternwarte, Universitat Hamburg, Gojenbergsweg 112, 21029 Hamburg
arXiv:1509.07370 [astro-ph.IM], (24 Sep 2015)

@article{lukat2015accelerated,

   title={A GPU accelerated Barnes-Hut Tree Code for FLASH4},

   author={Lukat, Gunther and Banerjee, Robi},

   year={2015},

   month={sep},

   archivePrefix={"arXiv"},

   primaryClass={astro-ph.IM}

}

We present a GPU accelerated CUDA-C implementation of the Barnes Hut (BH) tree code for calculating the gravita- tional potential on octree adaptive meshes. The tree code algorithm is implemented within the FLASH4 adaptive mesh refinement (AMR) code framework and therefore fully MPI parallel. We describe the algorithm and present test results that demonstrate its accuracy and performance in comparison to the algorithms available in the current FLASH4 version. We use a MacLaurin spheroid to test the accuracy of our new implementation and use spherical, collapsing cloud cores with effective AMR to carry out performance tests also in comparison with previous gravity solvers. Depending on the setup and the GPU/CPU ratio, we find a speedup for the gravity unit of at least a factor of 3 and up to 60 in comparison to the gravity solvers implemented in the FLASH4 code. We find an overall speedup factor for full simulations of at least factor 1.6 up to a factor of 10.
Rating: 1.5/5. From 2 votes.
Please wait...

* * *

* * *

HGPU group © 2010-2024 hgpu.org

All rights belong to the respective authors

Contact us: