TY - GEN
T1 - GPU Acceleration of Multigrid Preconditioned Conjugate Gradient Solver on Block-Structured Cartesian Grid
AU - Onodera, Naoyuki
AU - Idomura, Yasuhiro
AU - Hasegawa, Yuta
AU - Yamashita, Susumu
AU - Shimokawabe, Takashi
AU - Aoki, Takayuki
N1 - Publisher Copyright:
© 2021 Owner/Author.
PY - 2021/1/20
Y1 - 2021/1/20
N2 - We develop a multigrid preconditioned conjugate gradient (MG-CG) solver for the pressure Poisson equation in a two-phase flow CFD code JUPITER. The JUPITER code is redesigned to realize efficient CFD simulations including complex boundaries and objects based on a block-structured Cartesian grid system. The code is written in CUDA, and is tuned to achieve high performance on GPU based supercomputers. The main kernels of the MG-CG solver achieve more than 90% of the roofline performance.The MG preconditioner is constructed based on the geometric MG method with a three-stage V-cycle, and a red-black SOR (RB-SOR) smoother and its variant with cache-reuse optimization (CR-SOR) are applied at each stage. The numerical experiments are conducted for two-phase flows in a fuel bundle ofa nuclear reactor. Thanks to the block-structured data format, grids inside fuel pins are removed without performance degradation, and the total number of grids is reduced to 2.26 × 109, whichis about 70% of the original Cartesian grid. The MG-CG solvers with the RB-SOR and CR-SOR smoothersreduce the number of iterations to less than 15% and 9% of the original preconditioned CG method, leading to 3.1- and 5.9-times speedups, respectively. In the strong scaling test, the MG-CG solver with the CR-SOR smoother is accelerated by 2.1 times between 64 and 256 GPUs. The obtained performance indicates that the MG-CG solver designed for the block-structured grid is highly efficient and enables large-scale simulations of two-phase flows on GPU based supercomputers.
AB - We develop a multigrid preconditioned conjugate gradient (MG-CG) solver for the pressure Poisson equation in a two-phase flow CFD code JUPITER. The JUPITER code is redesigned to realize efficient CFD simulations including complex boundaries and objects based on a block-structured Cartesian grid system. The code is written in CUDA, and is tuned to achieve high performance on GPU based supercomputers. The main kernels of the MG-CG solver achieve more than 90% of the roofline performance.The MG preconditioner is constructed based on the geometric MG method with a three-stage V-cycle, and a red-black SOR (RB-SOR) smoother and its variant with cache-reuse optimization (CR-SOR) are applied at each stage. The numerical experiments are conducted for two-phase flows in a fuel bundle ofa nuclear reactor. Thanks to the block-structured data format, grids inside fuel pins are removed without performance degradation, and the total number of grids is reduced to 2.26 × 109, whichis about 70% of the original Cartesian grid. The MG-CG solvers with the RB-SOR and CR-SOR smoothersreduce the number of iterations to less than 15% and 9% of the original preconditioned CG method, leading to 3.1- and 5.9-times speedups, respectively. In the strong scaling test, the MG-CG solver with the CR-SOR smoother is accelerated by 2.1 times between 64 and 256 GPUs. The obtained performance indicates that the MG-CG solver designed for the block-structured grid is highly efficient and enables large-scale simulations of two-phase flows on GPU based supercomputers.
KW - Block-structured AMR
KW - CFD simulation
KW - GPU
KW - Krylov method
KW - Multigrid method
UR - http://www.scopus.com/inward/record.url?scp=85099884130&partnerID=8YFLogxK
U2 - 10.1145/3432261.3432273
DO - 10.1145/3432261.3432273
M3 - Conference contribution
AN - SCOPUS:85099884130
T3 - ACM International Conference Proceeding Series
SP - 120
EP - 128
BT - Proceedings of International Conference on High Performance Computing in Asia-Pacific Region, HPC Asia 2021
PB - Association for Computing Machinery
T2 - 2021 International Conference on High Performance Computing in Asia-Pacific Region, HPC Asia 2021
Y2 - 20 January 2021 through 22 January 2021
ER -