Article ID Journal Published Year Pages File Type
507685 Computers & Geosciences 2013 7 Pages PDF
Abstract

•A GPU implementation of the WSM6 scheme in the GRAPES model is presented.•The data dependence of the computation for WSM6 is also discussed.•The data parallel method is used to exploit the massive fine-grained parallelism.•CUDA is used to convert the original WSM6 module into GPU accelerating programs.•A speedup of 140 for WSM6 is achieved on a low-cost GPU workstation.

The microphysical process that leads to cloud and precipitation formation is one of the most important physical processes in numerical weather prediction (NWP) and climate models. The Weather Research Forecast (WRF) Single Moment 6-class (WSM6) microphysics scheme in the Global/Regional Assimilation and Prediction System (GRAPES) includes predictive variables of water vapor, cloud water, cloud ice, rain, snow and graupel. The computation of WSM6 is the most time-consuming portion among that of the entire GRAPES model. In recent years, with the advent of the Compute Unified Device Architecture (CUDA), modern graphics processing units (GPUs) with the advantage of low-power, low-cost, and high-performance computing capacity have been exploited to accomplish the arithmetic operations in scientific and engineering simulations. In this paper, we present an implementation of the WSM6 scheme in GRAPES using GPU to accelerate the computation. After a brief introduction to the WSM6 scheme, the data dependence for the GPU implementation of the WSM6 scheme is discussed. The data parallel method is employed to exploit the massive fine-grained parallelism. The CUDA programming model is used to convert the original WSM6 module into GPU programs. To achieve high computational performance, mapping horizontal domain onto an optimal block size is proposed. The experimental results demonstrate that the GPU version obtains over 140× speedup compared with the CPU serial version, and is an efficient parallel implementation.

Related Topics
Physical Sciences and Engineering Computer Science Computer Science Applications
Authors
, , , ,