Acceleration of the Parameterization of Unified Microphysics Across Scales (PUMAS) on the Graphics Processing Unit (GPU) With Directive-Based Methods
Journal Article
·
· Journal of Advances in Modeling Earth Systems
- National Center for Atmospheric Research (NCAR), Boulder, CO (United States)
- National Center for Atmospheric Research (NCAR), Boulder, CO (United States); Pacific Northwest National Laboratory (PNNL), Richland, WA (United States)
Cloud microphysics is one of the most time-consuming components in a climate model. In this study, we port the cloud microphysics parameterization in the Community Atmosphere Model (CAM), known as Parameterization of Unified Microphysics Across Scales (PUMAS), from CPU to GPU to seek a computational speedup. The directive-based methods (OpenACC and OpenMP target offload) are determined as the best fit specifically for our development practices, which enable a single version of source code to run either on the CPU or GPU, and yield a better portability and maintainability. Their performance is first examined in a PUMAS stand-alone kernel and the directive-based methods can outperform a CPU node as long as there is enough computational burden on the GPU. A consistent behavior is observed when we run PUMAS on the GPU in a practical CAM simulation. A 3.6× speedup of the PUMAS execution time, including data movement between CPU and GPU, is achieved at a coarse horizontal resolution (8 NVIDIA V100 GPUs against 36 Intel Skylake CPU cores). This speedup further increases up to 5.4× at a high resolution (24 NVIDIA V100 GPUs against 108 Intel Skylake CPU cores), which highlights the fact that GPU favors larger problem size. This study demonstrates that using GPU in a CAM simulation can save noticeable computational costs even with a small portion of code being GPU-enabled. Therefore, we are encouraged to port more parameterizations to GPU to take advantage of its computational benefit.
- Research Organization:
- National Center for Atmospheric Research (NCAR), Boulder, CO (United States); Oak Ridge National Laboratory (ORNL), Oak Ridge, TN (United States); Pacific Northwest National Laboratory (PNNL), Richland, WA (United States)
- Sponsoring Organization:
- National Science Foundation (NSF); USDOE
- Grant/Contract Number:
- AC05-76RL01830
- OSTI ID:
- 2217296
- Report Number(s):
- PNNL-SA--192584
- Journal Information:
- Journal of Advances in Modeling Earth Systems, Journal Name: Journal of Advances in Modeling Earth Systems Journal Issue: 5 Vol. 15; ISSN 1942-2466
- Publisher:
- American Geophysical Union (AGU)Copyright Statement
- Country of Publication:
- United States
- Language:
- English
Similar Records
Performance-Portable GPU Acceleration of the EFIT Tokamak Plasma Equilibrium Reconstruction Code
Developing an ELM Ecosystem Dynamics Model on GPU with OpenACC
Experiences in porting mini-applications to OpenACC and OpenMP on heterogeneous systems
Conference
·
Sat Nov 11 23:00:00 EST 2023
· Proceedings of the SC '23 Workshops of The International Conference on High Performance Computing, Network, Storage, and Analysis
·
OSTI ID:2477210
Developing an ELM Ecosystem Dynamics Model on GPU with OpenACC
Conference
·
Wed Jun 01 00:00:00 EDT 2022
·
OSTI ID:1879940
Experiences in porting mini-applications to OpenACC and OpenMP on heterogeneous systems
Journal Article
·
Thu Apr 23 20:00:00 EDT 2020
· Concurrency and Computation. Practice and Experience
·
OSTI ID:1649533