Optimizing the Weather Research and Forecasting Model with OpenMP Offload and Codee
- Odin Institute
- Lawrence Berkeley National Laboratory
- Lawrence Livermore National Laboratory
- BATTELLE (PACIFIC NW LAB)
- Appentra Solutions S.L
- Appentra Solutions
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 routine Fast Spectral Bin Microphysics (FSBM) 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 an 2.24x overall speedup for the CONUS-12km storm test case.
- Research Organization:
- Pacific Northwest National Laboratory (PNNL), Richland, WA (United States)
- Sponsoring Organization:
- USDOE
- DOE Contract Number:
- AC05-76RL01830
- OSTI ID:
- 2519665
- Report Number(s):
- PNNL-SA-202641
- Country of Publication:
- United States
- Language:
- English
Similar Records
Performance-Portable GPU Acceleration of the EFIT Tokamak Plasma Equilibrium Reconstruction Code
OpenMP Target Task: Tasking and Target Offloading on Heterogeneous Systems
Benchmarking and Evaluating Unified Memory for OpenMP GPU Offloading
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
OpenMP Target Task: Tasking and Target Offloading on Heterogeneous Systems
Conference
·
Wed Jun 01 00:00:00 EDT 2022
·
OSTI ID:1885285
Benchmarking and Evaluating Unified Memory for OpenMP GPU Offloading
Conference
·
Sat Dec 31 23:00:00 EST 2016
·
OSTI ID:1412779