Adapting Atmospheric Chemistry Components for Efficient GPU Accelerators

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Ruiz, Christian Guzman, Dawson, Matthew, Acosta, Mario C., Jorba, Oriol, Galobardes, Eduardo Cesar, García-Pando, Carlos Pérez, Serradell, Kim
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913631593037824
author Ruiz, Christian Guzman
Dawson, Matthew
Acosta, Mario C.
Jorba, Oriol
Galobardes, Eduardo Cesar
García-Pando, Carlos Pérez
Serradell, Kim
author_facet Ruiz, Christian Guzman
Dawson, Matthew
Acosta, Mario C.
Jorba, Oriol
Galobardes, Eduardo Cesar
García-Pando, Carlos Pérez
Serradell, Kim
contents Atmospheric models demand a lot of computational power and solving the chemical processes is one of its most computationally intensive components. This work shows how to improve the computational performance of the Multiscale Online Nonhydrostatic AtmospheRe CHemistry model (MONARCH), a chemical weather prediction system developed by the Barcelona Supercomputing Center. The model implements the new flexible external package Chemistry Across Multiple Phases (CAMP) for the solving of gas- and aerosol-phase chemical processes, that allows multiple chemical processes to be solved simultaneously as a single system. We introduce a novel strategy to simultaneously solve multiple instances of a chemical mechanism, represented in the model as grid-cells, obtaining a speedup up to 9x using thousands of cells. In addition, we present a GPU strategy for the most time-consuming function of CAMP. The GPU version achieves up to 1.2x speedup compared to CPU. Also, we optimize the memory access in the GPU to increase its speedup up to 1.7x.
format Preprint
id arxiv_https___arxiv_org_abs_2501_00011
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Adapting Atmospheric Chemistry Components for Efficient GPU Accelerators
Ruiz, Christian Guzman
Dawson, Matthew
Acosta, Mario C.
Jorba, Oriol
Galobardes, Eduardo Cesar
García-Pando, Carlos Pérez
Serradell, Kim
Computational Physics
Hardware Architecture
Atmospheric models demand a lot of computational power and solving the chemical processes is one of its most computationally intensive components. This work shows how to improve the computational performance of the Multiscale Online Nonhydrostatic AtmospheRe CHemistry model (MONARCH), a chemical weather prediction system developed by the Barcelona Supercomputing Center. The model implements the new flexible external package Chemistry Across Multiple Phases (CAMP) for the solving of gas- and aerosol-phase chemical processes, that allows multiple chemical processes to be solved simultaneously as a single system. We introduce a novel strategy to simultaneously solve multiple instances of a chemical mechanism, represented in the model as grid-cells, obtaining a speedup up to 9x using thousands of cells. In addition, we present a GPU strategy for the most time-consuming function of CAMP. The GPU version achieves up to 1.2x speedup compared to CPU. Also, we optimize the memory access in the GPU to increase its speedup up to 1.7x.
title Adapting Atmospheric Chemistry Components for Efficient GPU Accelerators
topic Computational Physics
Hardware Architecture
url https://arxiv.org/abs/2501.00011