Preprints
https://doi.org/10.5194/egusphere-2023-410
https://doi.org/10.5194/egusphere-2023-410
04 Apr 2023
 | 04 Apr 2023

GPU-HADVPPM V1.0: high-efficient parallel GPU design of the Piecewise Parabolic Method (PPM) for horizontal advection in air quality model (CAMx V6.10)

Kai Cao, Qizhong Wu, Lingling Wang, Nan Wang, Huaqiong Cheng, Xiao Tang, Dongqing Li, and Lanning Wang

Abstract. With semiconductor technology gradually approaching its physical and thermal limits, Graphics processing unit (GPU) is becoming an attractive solution in many scientific applications due to their high performance. This paper presents an application of GPU accelerators in air quality model. We endeavor to demonstrate an approach that runs a PPM solver of horizontal advection (HADVPPM) for air quality model CAMx on GPU clusters. Specifically, we first convert the HADVPPM to a new Compute Unified Device Architecture C (CUDA C) code to make it computable on the GPU (GPU-HADVPPM). Then, a series of optimization measures are taken, including reducing the CPU-GPU communication frequency, increasing the size of data computation on GPU, optimizing the GPU memory access, and using thread and block indices in order to improve the overall computing performance of CAMx model coupled with GPU-HADVPPM (named as CAMx-CUDA model). Finally, a heterogeneous, hybrid programming paradigm is presented and utilized with the GPU-HADVPPM on GPU clusters with Massage Passing Interface (MPI) and CUDA. Offline experiment results show that running GPU-HADVPPM on one NVIDIA Tesla K40m and NVIDIA Tesla V100 GPU can achieve up to 845.4x and 1113.6x acceleration. By implementing a series of optimization schemes, the CAMx-CUDA model resulted in a 29.0x and 128.4x improvement in computational efficiency using a GPU accelerator card on a K40m and V100 cluster, respectively. In terms of the single-module computational efficiency of GPU-HADVPPM, it can achieve 1.3x and 19.4x speedup on NVIDIA Tesla K40m GPU and NVIDA Tesla V100 GPU respectively. The multi-GPU acceleration algorithm enables 4.5x speedup with 8 CPU cores and 8 GPU accelerators on V100 cluster.

Kai Cao et al.

Status: final response (author comments only)

Comment types: AC – author | RC – referee | CC – community | EC – editor | CEC – chief editor | : Report abuse
  • RC1: 'Comment on egusphere-2023-410', Anonymous Referee #1, 18 Apr 2023
  • CC1: 'Comment on egusphere-2023-410', Kai Cao, 20 Apr 2023
    • RC3: 'Reply on CC1', Anonymous Referee #1, 06 May 2023
  • RC2: 'Comment on egusphere-2023-410', Anonymous Referee #2, 05 May 2023
    • CC2: 'Reply on RC2', Kai Cao, 19 May 2023
  • AC1: 'Comment on egusphere-2023-410', Qizhong Wu, 01 Jun 2023

Kai Cao et al.

Viewed

Total article views: 375 (including HTML, PDF, and XML)
HTML PDF XML Total Supplement BibTeX EndNote
278 80 17 375 25 4 4
  • HTML: 278
  • PDF: 80
  • XML: 17
  • Total: 375
  • Supplement: 25
  • BibTeX: 4
  • EndNote: 4
Views and downloads (calculated since 04 Apr 2023)
Cumulative views and downloads (calculated since 04 Apr 2023)

Viewed (geographical distribution)

Total article views: 374 (including HTML, PDF, and XML) Thereof 374 with geography defined and 0 with unknown origin.
Country # Views %
  • 1
1
 
 
 
 
Latest update: 05 Jun 2023
Download
Short summary
Offline performance experiments results show that the GPU-HADVPPM on V100 GPU can achieve up to more than one thousand (1113.6x) speedup to its original version on E5-2682 v4 CPU. A series of optimization measures are taken, the CAMx-CUDA model improves the computing efficiency by 128.4x on a single V100 GPU card. A parallel architecture with an MPI+CUDA hybrid paradigm is presented, and it can achieve up to 4.5x speedup when launch 8 CPU cores and 8 GPU cards.