Abstract
Uruguay is currently undergoing a gradual process of inclusion of wind energy in its matrix of electric power generation. In this context, a computational tool has been developed to predict the electrical power that will be injected into the grid. The tool is based on the Weather Research and Forecasting (WRF) numerical model, which is the performance bottleneck of the application. For this reason, and in line with several successful efforts of other researchers, this article presents advances in porting the WRF to GPU. In particular, we present the implementation of sintb and bdy_interp1 routines on GPU and the integration of these routines with previous efforts from other authors. The speedup values obtained for the newly ported routines on a Nvidia GeForce GTX 480 GPU are up to \(33.9\times \) when compared with the sequential WRF and \(9.2\times \) when compared with the four-threaded WRF. The integration of the newly ported routines along with previous works produces a reduction of more than a 30 % in the total runtime of the multi-core four-threaded WRF and of more than a 50 % in the single-threaded version.
Similar content being viewed by others
References
Burdiat M, Hagopian JI, Silva JP, Dufrechou E, Gutiérrez A, Pedemonte M, Cazes G, Ezzatti P (2013) GPU acceleration of a tool for wind power forecasting. In: CMMSE 2013 : Proceedings of the 13th International Conference on Mathematical Methods in Science and Engineering, vol. 1. Almería, Spain, 24–27 June 2013, pp 340–351
Delgado J, Gazolla G, Clua E, Sadjadi S (2011) A case study on porting scientific applications to GPU/CUDA. J Comput Interdiscip Sci 2:3–11
Gutiérrez A, Cazes G (2014) Website of Pronósticos Numéricos Operativos en Uruguay (in Spanish). Available online: http://www.fing.edu.uy/cluster/eolica/
Kirk D, Hwu W (2012) Programming massively parallel processors, 2nd edn., A hands-on approachMorgan Kaufmann,Waltham, MA, USA
Michalakes J, Dudhia J, Gill D, Henderson T, Klemp J, Skamarock W, Wang W (2004) The weather research and forecast model: software architecture and performance. In: 11th Workshop on the Use of High Performance Computing in Meteorology, Reading, United Kingdom, 25–29 October 2004, European Centre for Medium Range Weather Forecasts, pp 156–168
Michalakes J, Vachharajani M (2008) GPU acceleration of numerical weather prediction. Parallel Process. Lett. 18(4):531–548
Michalakes J, Vachharajani M (2014) Website of GPU acceleration of WSM5 microphysics,. Available online: http://www.mmm.ucar.edu/wrf/WG2/GPU/WSM5.htm
Michalakes J, Vachharajani M (2014) Website of GPU acceleration of scalar advection. Available online: http://www.mmm.ucar.edu/wrf/WG2/GPU/Scalar_Advect.htm
Mielikainen J, Huang B, Huang H, Goldberg M (2012) GPU acceleration of the updated goddard shortwave radiation scheme in the weather research and forecasting (WRF) model. IEEE J Sel Topics Appl Earth Obs 5(2):555–562
Mielikainen J, Huang B, Huang H, Goldberg M (2012) GPU implementation of Stony Brook University 5-class cloud microphysics scheme in the WRF. IEEE J Sel Topics Appl Earth Obs 5(2):625–633
Mielikainen J, Huang B, Huang H, Goldberg M (2012) Improved GPU/CUDA based parallel weather and research forecast (WRF) single moment 5-class (WSM5) cloud microphysics. IEEE J Sel Topics Appl Earth Obs 5(4):1256–1265
Mielikainen J, Huang B, Huang H, Goldberg M (2013) Compute unified device architecture (CUDA)-based Parallelization of WRF Kessler cloud microphysics scheme. Comput Geosci 52:292–299
National Center for Atmospheric Research (2014) Website of Weather Research and Forecasting Model. Available online: http://www.wrf-model.org/index.php
Ruetsch G, Phillips E, Fatica M (2011) GPU acceleration of the long-wave rapid radiative transfer model in WRF using CUDA Fortran. In: Programming weather, climate, and earth-system models on heterogeneous multi-core platforms, September 7–8, 2011 at the National Center for Atmospheric Research in Boulder, Colorado
Acknowledgments
The authors acknowledge support from Agencia Nacional de Investigación e Innovación (ANII), Administración Nacional de Usinas y Trasmisiones Eléctricas (UTE) and Programa de Desarrollo de las Ciencias Básicas (PEDECIBA), Uruguay.
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Silva, J.P., Hagopian, J., Burdiat, M. et al. Another step to the full GPU implementation of the weather research and forecasting model. J Supercomput 70, 746–755 (2014). https://doi.org/10.1007/s11227-014-1193-y
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11227-014-1193-y