GPU Implementation of a Gas-Phase Chemistry Solver in the CMAQ Chemical Transport Model
- PMID: 39975539
- PMCID: PMC11833868
- DOI: 10.1021/acsestair.4c00181
GPU Implementation of a Gas-Phase Chemistry Solver in the CMAQ Chemical Transport Model
Abstract
The Community Multiscale Air Quality (CMAQ) model simulates atmospheric phenomena, including advection, diffusion, gas-phase chemistry, aerosol physics and chemistry, and cloud processes. Gas-phase chemistry is often a major computational bottleneck due to its representation as large systems of coupled nonlinear stiff differential equations. We leverage the parallel computational performance of graphics processing unit (GPU) hardware to accelerate the numerical integration of these systems in CMAQ's CHEM module. Our implementation, dubbed CMAQ-CUDA, in reference to its use in the Compute Unified Device Architecture (CUDA) general purpose GPU (GPGPU) computing solution, migrates CMAQ's Rosenbrock solver from Fortran to CUDA Fortran. CMAQ-CUDA accelerates the Rosenbrock solver such that simulations using the chemical mechanisms RACM2, CB6R5, and SAPRC07 require only 51%, 50%, or 35% as much time, respectively, as CMAQv5.4 to complete a chemistry time step. Our results demonstrate that CMAQ is amenable to GPU acceleration and highlight a novel Rosenbrock solver implementation for reducing the computational burden imposed by the CHEM module.
© 2025 The Authors. Published by American Chemical Society.
Conflict of interest statement
The authors declare no competing financial interest.
Figures












References
-
- Seinfeld J. H.; Pandis S. N.. Atmospheric Chemistry and Physics: From Air Pollution to Climate Change, 3rd ed.; John Wiley & Sons: Hoboken, NJ, 2016.
-
- Jacobson M. Z.Fundamentals of Atmospheric Modeling, 2nd ed.; Cambridge Univ. Press: Cambridge, 2005.
-
- Byun D.; Schere K. L. Review of the Governing Equations, Computational Algorithms, and Other Components of the Models-3 Community Multiscale Air Quality (CMAQ) Modeling System. Applied Mechanics Reviews 2006, 59 (2), 51–77. 10.1115/1.2128636. - DOI
-
- Carter W. P. L. Development of the SAPRC-07 Chemical Mechanism. Atmos. Environ. 2010, 44 (40), 5324–5335. 10.1016/j.atmosenv.2010.01.026. - DOI
-
- Carter W.Documentation of the SAPRC-22 Mechanism; University of California, Riverside College of Engineering Center for Environmental Research and Technology, 2023. https://intra.engr.ucr.edu/~carter/SAPRC/22/S22doc.pdfhttps://intra.engr...(accessed 2024–05–10).
LinkOut - more resources
Full Text Sources