Skip to main navigation Skip to search Skip to main content

Optimizing the Weather Research and Forecasting Model with OpenMP Offload and Codee

  • Chayanon Namo Wichitrnithed*
  • , Woo Sun Yang
  • , Yun Helen He
  • , Brad Richardson
  • , Koichi Sakaguchi
  • , Manuel Arenaz
  • , William I. Gustafson
  • , Jacob Shpund
  • , Ulises Costi Blanco
  • , Alvaro Goldar Dieste
  • *Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Currently, the Weather Research and Forecasting model (WRF) utilizes shared memory (OpenMP) and distributed memory (MPI) parallelisms. To take advantage of GPU resources on the Perlmutter supercomputer at NERSC, we port parts of the computationally expensive routines of the Fast Spectral Bin Microphysics (FSBM) microphysical scheme to NVIDIA GPUs using OpenMP device offloading directives. To facilitate this process, we explore a workflow for optimization which uses both runtime profilers and a static code inspection tool Codee to refactor the subroutine. We observe a 2.08x overall speedup for the CONUS-12km thunderstorm test case.

Original languageEnglish
Title of host publicationProceedings of SC 2024-W
Subtitle of host publicationWorkshops of the International Conference for High Performance Computing, Networking, Storage and Analysis
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages1934-1942
Number of pages9
ISBN (Electronic)9798350355543
DOIs
StatePublished - 2024
Event2024 Workshops of the International Conference for High Performance Computing, Networking, Storage and Analysis, SC Workshops 2024 - Atlanta, United States
Duration: 17 Nov 202422 Nov 2024

Publication series

NameProceedings of SC 2024-W: Workshops of the International Conference for High Performance Computing, Networking, Storage and Analysis

Conference

Conference2024 Workshops of the International Conference for High Performance Computing, Networking, Storage and Analysis, SC Workshops 2024
Country/TerritoryUnited States
CityAtlanta
Period17/11/2422/11/24

Bibliographical note

Publisher Copyright:
© 2024 IEEE.

Keywords

  • Codee
  • GPU
  • GPU offloading
  • Nvidia GPUs
  • OpenMP
  • OpenMP Offloading
  • Weather Research and Forecasting
  • WRF

Fingerprint

Dive into the research topics of 'Optimizing the Weather Research and Forecasting Model with OpenMP Offload and Codee'. Together they form a unique fingerprint.

Cite this