English

Multi-GPU thermal lattice Boltzmann simulations using OpenACC and MPI

Fluid Dynamics 2022-11-21 v2 Computational Engineering, Finance, and Science Computational Physics

Abstract

We assess the performance of the hybrid Open Accelerator (OpenACC) and Message Passing Interface (MPI) approach for multi-graphics processing units (GPUs) accelerated thermal lattice Boltzmann (LB) simulation. The OpenACC accelerates computation on a single GPU, and the MPI synchronizes the information between multiple GPUs. With a single GPU, the two-dimension (2D) simulation achieved 1.93 billion lattice updates per second (GLUPS) with a grid number of 819328193^{2}, and the three-dimension (3D) simulation achieved 1.04 GLUPS with a grid number of 3853385^{3}, which is more than 76% of the theoretical maximum performance. On multi-GPUs, we adopt block partitioning, overlapping communications with computations, and concurrent computation to optimize parallel efficiency. We show that in the strong scaling test, using 16 GPUs, the 2D simulation achieved 30.42 GLUPS and the 3D simulation achieved 14.52 GLUPS. In the weak scaling test, the parallel efficiency remains above 99% up to 16 GPUs. Our results demonstrated that, with improved data and task management, the hybrid OpenACC and MPI technique is promising for thermal LB simulation on multi-GPUs.

Keywords

Cite

@article{arxiv.2211.03160,
  title  = {Multi-GPU thermal lattice Boltzmann simulations using OpenACC and MPI},
  author = {Ao Xu and Bo-Tao Li},
  journal= {arXiv preprint arXiv:2211.03160},
  year   = {2022}
}

Comments

31 pages, 12 figures

R2 v1 2026-06-28T05:17:06.400Z