GAMER: A GRAPHIC PROCESSING UNIT ACCELERATED ADAPTIVE-MESH-REFINEMENT CODE FOR ASTROPHYSICS

被引:86
|
作者
Schive, Hsi-Yu [1 ,2 ]
Tsai, Yu-Chih [1 ]
Chiueh, Tzihong [1 ,2 ,3 ,4 ]
机构
[1] Natl Taiwan Univ, Dept Phys, Taipei 106, Taiwan
[2] Natl Taiwan Univ, Leung Ctr Cosmol & Particle Astrophys LeCosPA, Taipei 106, Taiwan
[3] Natl Taiwan Univ, Ctr Theoret Sci, Taipei 106, Taiwan
[4] Natl Taiwan Univ, CQSE, Taipei 106, Taiwan
来源
关键词
gravitation; hydrodynamics; methods: numerical; SIMULATIONS; HYDRODYNAMICS; SOLVER; DYNAMICS; SYSTEMS; HYBRID; SCHEME; TREE; SPH;
D O I
10.1088/0067-0049/186/2/457
中图分类号
P1 [天文学];
学科分类号
0704 ;
摘要
We present the newly developed code, GPU-accelerated Adaptive-MEsh-Refinement code (GAMER), which adopts a novel approach in improving the performance of adaptive-mesh-refinement (AMR) astrophysical simulations by a large factor with the use of the graphic processing unit (GPU). The AMR implementation is based on a hierarchy of grid patches with an oct-tree data structure. We adopt a three-dimensional relaxing total variation diminishing scheme for the hydrodynamic solver and a multi-level relaxation scheme for the Poisson solver. Both solvers have been implemented in GPU, by which hundreds of patches can be advanced in parallel. The computational overhead associated with the data transfer between the CPU and GPU is carefully reduced by utilizing the capability of asynchronous memory copies in GPU, and the computing time of the ghost-zone values for each patch is diminished by overlapping it with the GPU computations. We demonstrate the accuracy of the code by performing several standard test problems in astrophysics. GAMER is a parallel code that can be run in a multi-GPU cluster system. We measure the performance of the code by performing purely baryonic cosmological simulations in different hardware implementations, in which detailed timing analyses provide comparison between the computations with and without GPU(s) acceleration. Maximum speed-up factors of 12.19 and 10.47 are demonstrated using one GPU with 4096(3) effective resolution and 16 GPUs with 8192(3) effective resolution, respectively.
引用
收藏
页码:457 / 484
页数:28
相关论文
共 50 条
  • [1] ENZO: AN ADAPTIVE MESH REFINEMENT CODE FOR ASTROPHYSICS
    Bryan, Greg L.
    Norman, Michael L.
    O'Shea, Brian W.
    Abel, Tom
    Wise, John H.
    Turk, Matthew J.
    Reynolds, Daniel R.
    Collins, David C.
    Wang, Peng
    Skillman, Samuel W.
    Smith, Britton
    Harkness, Robert P.
    Bordner, James
    Kim, Ji-hoon
    Kuhlen, Michael
    Xu, Hao
    Goldbaum, Nathan
    Hummels, Cameron
    Kritsuk, Alexei G.
    Tasker, Elizabeth
    Skory, Stephen
    Simpson, Christine M.
    Hahn, Oliver
    Oishi, Jeffrey S.
    So, Geoffrey C.
    Zhao, Fen
    Cen, Renyue
    Li, Yuan
    [J]. ASTROPHYSICAL JOURNAL SUPPLEMENT SERIES, 2014, 211 (02):
  • [2] AMRA:: An Adaptive Mesh Refinement hydrodynamic code for astrophysics
    Plewa, T
    Müller, E
    [J]. COMPUTER PHYSICS COMMUNICATIONS, 2001, 138 (02) : 101 - 127
  • [3] GAMER-2: a GPU-accelerated adaptive mesh refinement code - accuracy, performance, and scalability
    Schive, Hsi-Yu
    ZuHone, John A.
    Goldbaum, Nathan J.
    Turk, Matthew J.
    Gaspari, Massimo
    Cheng, Chin-Yu
    [J]. MONTHLY NOTICES OF THE ROYAL ASTRONOMICAL SOCIETY, 2018, 481 (04) : 4815 - 4840
  • [4] A new MHD code with adaptive mesh refinement and parallelization for astrophysics
    Jiang, R. -L.
    Fang, C.
    Chen, P. -F.
    [J]. COMPUTER PHYSICS COMMUNICATIONS, 2012, 183 (08) : 1617 - 1633
  • [5] Computational relativistic astrophysics with adaptive mesh refinement: Testbeds
    Evans, E
    Iyer, S
    Schnetter, E
    Suen, WM
    Tao, J
    Wolfmeyer, R
    Zhang, HM
    [J]. PHYSICAL REVIEW D, 2005, 71 (08): : 1 - 5
  • [6] Parallel, adaptive-mesh-refinement MHD for global space-weather simulations
    Powell, KG
    Gombosi, TI
    De Zeeuw, DL
    Ridley, AJ
    Sokolov, IV
    Stout, QF
    Tóth, G
    [J]. SOLAR WIND TEN, PROCEEDINGS, 2003, 679 : 807 - 814
  • [7] Radiative cooling in numerical astrophysics: The need for adaptive mesh refinement
    van Marle, Allard Jan
    Keppens, Rony
    [J]. COMPUTERS & FLUIDS, 2011, 42 (01) : 44 - 53
  • [8] Shock-accelerated cosmic rays and streaming instability in the adaptive mesh refinement code Ramses
    Dubois, Yohan
    Commercon, Benoit
    Marcowith, Alexandre
    Brahimi, Loann
    [J]. ASTRONOMY & ASTROPHYSICS, 2019, 631
  • [9] Conservative phase-field method with a parallel and adaptive-mesh-refinement technique for interface tracking
    Zhang, Ang
    Du, Jinglian
    Guo, Zhipeng
    Wang, Qigui
    Xiong, Shoumei
    [J]. PHYSICAL REVIEW E, 2019, 100 (02)
  • [10] RAM: A relativistic adaptive mesh refinement hydrodynamics code
    Zhang, WQ
    MacFadyen, AI
    [J]. ASTROPHYSICAL JOURNAL SUPPLEMENT SERIES, 2006, 164 (01): : 255 - 279