Title :
An investigation into the feasibility and benefits of GPU/multicore acceleration of the weather research and forecasting model
Author :
Vanderbauwhede, Wim ; Takemi, Tetsuya
Author_Institution :
Sch. of Comput. Sci., Univ. of Glasgow, Glasgow, UK
Abstract :
There is a growing need for ever more accurate climate and weather simulations to be delivered in shorter timescales. Hardware Acceleration using GPUs or FPGAs could potentially result in much reduced run times or higher accuracy simulations. We studied the Weather Research and Forecasting Model in order to assess if GPU acceleration of this type of Numerical Weather Prediction code is both feasible and worthwhile. We studied the performance of the original code and created a simple performance model for comparing multicore CPUs and GPUs. Based on the WRF profiling results, we focused on the acceleration of the scalar advection module. We show that our data-parallel kernel version of the scalar advection module runs up to 7× faster on the GPU compared to the original code on the CPU. However, as the data transfer cost between GPU and CPU is very high (as shown by our analysis), there is only a small speed-up (2×) for the fully integrated code. We also developed an extensible system for integrating OpenCL code into large Fortran code bases such as WRF. In conclusion, we have shown that GPU acceleration of WRF is both feasible and worthwhile. Our findings are generally applicable to multi-physics fluid dynamics code and not limited to NWP models.
Keywords :
FORTRAN; field programmable gate arrays; geophysics computing; graphics processing units; multiprocessing systems; parallel programming; performance evaluation; weather forecasting; FPGA; Fortran code; GPU acceleration; NWP models; OpenCL code; WRF profiling; data transfer cost; data-parallel kernel version; hardware acceleration; multicore CPU; multicore GPU; multicore acceleration; multiphysics fluid dynamics code; numerical weather prediction code; performance model; scalar advection module; weather research and forecasting model; Acceleration; Computational modeling; Graphics processing units; Kernel; Meteorology; Numerical models; General-Purpose computation on Graphics Processing Units (GPGPU); Large Scale Scientific Computing; Parallelization of Simulation;
Conference_Titel :
High Performance Computing and Simulation (HPCS), 2013 International Conference on
Conference_Location :
Helsinki
Print_ISBN :
978-1-4799-0836-3
DOI :
10.1109/HPCSim.2013.6641457