Abstract
Abstract Reducing the computational cost of weather and climate simulations would lower electric energy consumption. From the standpoint of reducing costs, the use of reduced precision arithmetic has become an active area of research. Here the impact of using single-precision arithmetic on simulation accuracy is examined by conducting Jablonowski and Williamson’s baroclinic wave tests using the dynamical core of a global fully compressible nonhydrostatic model. The model employs a finite-volume method discretized on an icosahedral grid system and its mesh size is set to 220, 56, 14, and 3.5 km. When double-precision arithmetic is fully replaced by single-precision arithmetic, a spurious wavenumber-5 structure becomes dominant in both hemispheres, rather than the expected baroclinic wave growth only in the Northern Hemisphere. It was found that this spurious wave growth comes from errors in the calculation of gridcell geometrics. Therefore, an additional simulation was conducted using double precision for calculations that only need to be performed for model setup, including calculation of gridcell geometrics, and single precision everywhere else, meaning that all calculations performed each time step used single precision. In this case, the model successfully simulated the growth of the baroclinic wave with only small errors and a 46% reduction in runtime. These results suggest that the use of single-precision arithmetic will allow significant reduction of computational costs in next-generation weather and climate simulations using a fully compressible nonhydrostatic global model with the finite-volume method.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.