New High Performance GPGPU Code Transformation Framework Applied to Large Production Weather Prediction Code

Michel Müller, Takayuki Aoki
2/16/2018
cs.DCphysics.ao-ph

Official code: muellermichel/Hybrid-Fortran (141 stars, Python, LGPL-3.0, last commit 2023-05-17).

Abstract

We introduce "Hybrid Fortran", a new approach that allows a high performance GPGPU port for structured grid Fortran codes. This technique only requires minimal changes for a CPU targeted codebase, which is a significant advancement in terms of productivity.

Show full abstract

It has been successfully applied to both dynamical core and physical processes of ASUCA, a Japanese mesoscale weather prediction model with more than 150k lines of code. By means of a minimal weather application that resembles ASUCA's code structure, Hybrid Fortran is compared to both a performance model as well as today's commonly used method, OpenACC. As a result, the Hybrid Fortran implementation is shown to deliver the same or better performance than OpenACC and its performance agrees with the model both on CPU and GPU. In a full scale production run, using an ASUCA grid with 1581 x 1301 x 58 cells and real world weather data in 2km resolution, 24 NVIDIA Tesla P100 running the Hybrid Fortran based GPU port are shown to replace more than 50 18-core Intel Xeon Broadwell E5-2695 v4 running the reference implementation - an achievement comparable to more invasive GPGPU rewrites of other weather models.

View on arXivView PDF

Code Implementations(1)

LGPL-3.0

Accelerate with CUDA, OpenACC and OpenMP - Unified and Performance Portable

14115Python, FortranMar 25, 20133 years agoLGPL-3.0

Similar Papers

Cite this paper

@article{mller2018high,
  title  = {New High Performance GPGPU Code Transformation Framework Applied to Large Production Weather Prediction Code},
  author = {Michel Müller and Takayuki Aoki},
  year   = {2018},
  eprint = {1802.05839},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1802.05839}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1802.05839.svg)](https://codeofpaper.com/paper/1802.05839)

Discussion