Frontiers of Data and Computing ›› 2025, Vol. 7 ›› Issue (5): 123-137.

CSTR: 32002.14.jfdc.CN10-1649/TP.2025.05.010

doi: 10.11871/jfdc.issn.2096-742X.2025.05.010

• Special Issue: New Domestic Computing Power Empowers the Development of Scientific Computing Applications • Previous Articles     Next Articles

Porting and Parallel Optimization of the Gas-Phase Chemistry Module of the Air Quality Model EPICC-Model on China’s Domestic Accelerators

CAO Kai1(),TANG Xiao1,*(),CHEN Huansheng1,MA Jingang2,3,WU Qizhong4,WANG Wending1,CHEN Xueshun1,LI Jinxi1,WANG Zifa1   

  1. 1. Institute of Atmospheric Physics, Chinese Academy of Sciences, Beijing 100029, China
    2. 3Clear Technology Co., Ltd., Beijing 100029, China
    3. Ma’anshan University, Ma’anshan, Anhui 243100, China
    4. Beijing Normal University, Beijing 100875, China
  • Received:2025-01-14 Online:2025-10-20 Published:2025-10-23
  • Contact: TANG Xiao E-mail:caokai@mail.iap.ac.cn;tangxiao@mail.iap.ac.cn

Abstract:

[Objective] To address the consistency and stability of cross-architecture computing in the EPICC-Model air quality model and enhance its parallel computing efficiency, this study focuses on the model's hotspot module, namely the gas-phase chemistry module, and explores the porting and parallel optimization on domestic accelerators. [Methods] A fourth-order implicit Rosenbrock solver is used to solve the system of ordinary differential equations governing chemical reaction kinetics, with embedded third-order methods for error estimation. The porting of the gas-phase chemistry module onto domestic accelerators is implemented using C language and the HIP heterogeneous programming technology. Further optimization is achieved through strategies such as merged global memory access, computational optimizations, and “core-card” collaborative computing, aiming to improve the computational efficiency and parallel scalability of the EPICC-Model on domestic heterogeneous clusters. [Results] Compared to the elapsed time on a single-core and 32-core domestic CPU processor, the computational efficiency of the gas-phase chemistry module on the domestic accelerator increases by 61.2 times and 3.0 times, respectively. When coupled into the EPICC-Model, the issue of uneven model computational load is alleviated, and the total model computation time is reduced by more than 45% across different “core-card” configurations. [Limitations] Future work will focus on further improving the communication efficiency between the CPU processor and accelerator, increasing the code coverage of the EPICC-Model on domestic accelerators, and enabling parallel computing for other hotspot modules of the model, even the entire integration module excluding I/O. [Conclusions] The domestic accelerator significantly enhances the computational efficiency of the gas-phase chemistry module, laying a foundation for high-resolution air quality simulations and forecasts in the future.

Key words: air quality model, EPICC-Model, gas-phase chemistry module, domestic accelerators, heterogeneous porting, parallel computing