Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
research-article

Parallelization with load balancing of the weather scheme WSM7 for heterogeneous CPU-GPU platforms

Published: 22 March 2024 Publication History

Abstract

This article provides an enhanced parallelization of the WSM7 microphysics scheme for the Weather Research and Forecasting Model (WRF). The parallelization is designed to maximize the utilization of a heterogeneous computing system consisting of CPUs, GPUs or both. Therefore the reference implementation of the WSM7 scheme is re-implemented for the heterogeneous execution model. For each time step, a dynamic load distribution is introduced which balances the computational load between the two components aiming for an overall minimum execution time. The evaluation of the parallelized implementation is done for a specific weather situation. Specifically, the precipitation of the low-pressure zone “Bernd” from July 2021 is simulated using an Intel Core i7-7700 CPU and a NVIDIA GTX 1070 GPU. The results show a speedup of up to 28.51 for the GPU version in comparison with the reference implementation. The heterogeneous dynamic load balancing increases the speedup achieved even further by introducing a distribution factor that is updated for each time step.

References

[1]
Richardson LF and Lynch P Weather Prediction by Numerical Process 2007 Cambridge Cambridge University Press
[2]
National Oceanic and Atmospheric Administration (NOAA): Global Forecast System (GFS). https://www.ncei.noaa.gov/products/weather-climate-models/global-forecast
[3]
Junghänel T, Bissolli P, Daß ler J, Fleckenstein R, Imbery F, Janssen W, Kaspar F, Lengfeld K, Leppelt T, Rauthe M, Rauthe-Schöch A, Rocek M, Walawender E, Weigl E (2021) Hydro-Klimatologische Einordnung Der Stark-Und Dauerniederschläge in Teilen Deutschlands Im Zusammenhang Mit Dem Tiefdruckgebiet Bernd Vom 12. Bis 19. Juli 2021. https://www.dwd.de/DE/leistungen/besondereereignisse/niederschlag/20210721_bericht_starkniederschlaege_tief_bernd.pdf
[4]
Kreienkamp F, Philip SY, Tradowsky JS, Kew SF, Lorenz P, Arrighi J, Belleflamme A, Bettmann T, Caluwaerts S, Chan SC, Ciavarella A (2021) Rapid attribution of heavy rainfall events leading to the severe flooding in Western Europe during July 2021. http://hdl.handle.net/1854/LU-8732135
[5]
University Corporation for Atmospheric Research (UCAR): User’s guides for the advanced research WRF (ARW) modeling system, Version 4.4. https://www2.mmm.ucar.edu/wrf/users/docs/user_guide_v4/v4.4/contents.html
[6]
Bae SY, Hong S-Y, and Tao W-K Development of a single-moment cloud microphysics scheme with prognostic hail for the weather research and forecasting (WRF) model Asia-Pac J Atmos Sci 2019 55 2 233-245
[7]
The official repository for the weather research and forecasting (WRF) model. Weather Research and Forecasting Model. https://github.com/wrf-model/WRF
[8]
Hong S-Y, Dudhia J, and Chen S-H A revised approach to ice microphysical processes for the bulk parameterization of clouds and precipitation Mon Weather Rev 2004 132 1 103-120
[9]
Mielikainen J, Huang B, Huang H-LA, and Goldberg MD Improved GPU/CUDA based parallel weather and research forecast (WRF) single moment 5-class (WSM5) cloud microphysics IEEE J Select Top Appl Earth Observ Remote Sens 2012 5 4 1256-1265
[10]
Ridwan R, Kistijantoro AI, Kudsy M, Gunawan D (2015) Performance evaluation of hybrid parallel computing for WRF model with CUDA and OpenMP. In: 2015 3rd International Conference on Information and Communication Technology (ICoICT), pp 425–430,
[11]
Hong S-Y and Lim J-OJ The WRF single-moment 6-class microphysics scheme (WSM6) Asia-Pac J Atmos Sci 2006 42 2 129-151
[12]
Huang M, Huang B, Gu L, Allen Huang H-L, and Goldberg MD Parallel GPU architecture framework for the WRF Single Moment 6-class microphysics scheme Comput Geosci 2015 83 17-26
[13]
da Silva HC, Stefanes MA, Capistrano V (2021) OpenACC Multi-GPU approach for WSM6 microphysics. In: 2021 IEEE 28th International Conference on High Performance Computing, Data, and Analytics (HiPC), pp 382–387 (2021).
[14]
Kim Y, Lee YH, and Chung K-Y WRF physics models using GP-GPUs with CUDA fortran Atmosphere 2013 23 2 231-235
[15]
NVIDIA Corporation: CUDA C++ Programming Guide (2023). https://docs.nvidia.com/cuda/pdf/CUDA_C_Programming_Guide.pdf
[16]
Muller J-M On the Definition of Ulp(x). https://hal.inria.fr/inria-00070503
[17]
Deutscher Wetterdienst: Wetter Und Klima - Deutscher Wetterdienst - Warnungen Aktuell - Warnkriterien. https://www.dwd.de/DE/wetter/warnungen_aktuell/kriterien/warnkriterien.html

Recommendations

Comments

Information & Contributors

Information

Published In

cover image The Journal of Supercomputing
The Journal of Supercomputing  Volume 80, Issue 10
Jul 2024
1605 pages

Publisher

Kluwer Academic Publishers

United States

Publication History

Published: 22 March 2024
Accepted: 18 February 2024

Author Tags

  1. Weather Research and Forecasting Model (WRF)
  2. GPU
  3. CUDA
  4. Heterogeneous computing
  5. Load balancing
  6. Low pressure zone “Bernd”

Qualifiers

  • Research-article

Funding Sources

  • Technische Universität Chemnitz (3137)

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • 0
    Total Citations
  • 0
    Total Downloads
  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 22 Sep 2024

Other Metrics

Citations

View Options

View options

Get Access

Login options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media