Articles | Volume 12, issue 7
Geosci. Model Dev., 12, 3135–3148, 2019
https://doi.org/10.5194/gmd-12-3135-2019
Geosci. Model Dev., 12, 3135–3148, 2019
https://doi.org/10.5194/gmd-12-3135-2019

Development and technical paper 24 Jul 2019

Development and technical paper | 24 Jul 2019

How to use mixed precision in ocean models: exploring a potential reduction of numerical precision in NEMO 4.0 and ROMS 3.6

Oriol Tintó Prims et al.

Related authors

The EC-Earth3 Earth System Model for the Climate Model Intercomparison Project 6
Ralf Döscher, Mario Acosta, Andrea Alessandri, Peter Anthoni, Almut Arneth, Thomas Arsouze, Tommi Bergmann, Raffaele Bernadello, Souhail Bousetta, Louis-Philippe Caron, Glenn Carver, Miguel Castrillo, Franco Catalano, Ivana Cvijanovic, Paolo Davini, Evelien Dekker, Francisco J. Doblas-Reyes, David Docquier, Pablo Echevarria, Uwe Fladrich, Ramon Fuentes-Franco, Matthias Gröger, Jost v. Hardenberg, Jenny Hieronymus, M. Pasha Karami, Jukka-Pekka Keskinen, Torben Koenigk, Risto Makkonen, Francois Massonnet, Martin Ménégoz, Paul A. Miller, Eduardo Moreno-Chamarro, Lars Nieradzik, Twan van Noije, Paul Nolan, Declan O’Donnell, Pirkka Ollinaho, Gijs van den Oord, Pablo Ortega, Oriol Tintó Prims, Arthur Ramos, Thomas Reerink, Clement Rousset, Yohan Ruprich-Robert, Philippe Le Sager, Torben Schmith, Roland Schrödner, Federico Serva, Valentina Sicardi, Marianne Sloth Madsen, Benjamin Smith, Tian Tian, Etienne Tourigny, Petteri Uotila, Martin Vancoppenolle, Shiyu Wang, David Wårlind, Ulrika Willén, Klaus Wyser, Shuting Yang, Xavier Yepes-Arbós, and Qiong Zhang
Geosci. Model Dev. Discuss., https://doi.org/10.5194/gmd-2020-446,https://doi.org/10.5194/gmd-2020-446, 2021
Revised manuscript accepted for GMD
Short summary

Related subject area

Climate and Earth system modeling
Vertical grid refinement for stratocumulus clouds in the radiation scheme of the global climate model ECHAM6.3-HAM2.3-P3
Paolo Pelucchi, David Neubauer, and Ulrike Lohmann
Geosci. Model Dev., 14, 5413–5434, https://doi.org/10.5194/gmd-14-5413-2021,https://doi.org/10.5194/gmd-14-5413-2021, 2021
Short summary
Cloud Feedbacks from CanESM2 to CanESM5.0 and their influence on climate sensitivity
John G. Virgin, Christopher G. Fletcher, Jason N. S. Cole, Knut von Salzen, and Toni Mitovski
Geosci. Model Dev., 14, 5355–5372, https://doi.org/10.5194/gmd-14-5355-2021,https://doi.org/10.5194/gmd-14-5355-2021, 2021
Short summary
ATTRICI v1.1 – counterfactual climate for impact attribution
Matthias Mengel, Simon Treu, Stefan Lange, and Katja Frieler
Geosci. Model Dev., 14, 5269–5284, https://doi.org/10.5194/gmd-14-5269-2021,https://doi.org/10.5194/gmd-14-5269-2021, 2021
Short summary
Mitigation of the double ITCZ syndrome in BCC-CSM2-MR through improving parameterizations of boundary-layer turbulence and shallow convection
Yixiong Lu, Tongwen Wu, Yubin Li, and Ben Yang
Geosci. Model Dev., 14, 5183–5204, https://doi.org/10.5194/gmd-14-5183-2021,https://doi.org/10.5194/gmd-14-5183-2021, 2021
Short summary
COSMO-CLM regional climate simulations in the Coordinated Regional Climate Downscaling Experiment (CORDEX) framework: a review
Silje Lund Sørland, Roman Brogli, Praveen Kumar Pothapakula, Emmanuele Russo, Jonas Van de Walle, Bodo Ahrens, Ivonne Anders, Edoardo Bucchignani, Edouard L. Davin, Marie-Estelle Demory, Alessandro Dosio, Hendrik Feldmann, Barbara Früh, Beate Geyer, Klaus Keuler, Donghyun Lee, Delei Li, Nicole P. M. van Lipzig, Seung-Ki Min, Hans-Jürgen Panitz, Burkhardt Rockel, Christoph Schär, Christian Steger, and Wim Thiery
Geosci. Model Dev., 14, 5125–5154, https://doi.org/10.5194/gmd-14-5125-2021,https://doi.org/10.5194/gmd-14-5125-2021, 2021
Short summary

Cited articles

Aumont, O., Ethé, C., Tagliabue, A., Bopp, L., and Gehlen, M.: PISCES-v2: an ocean biogeochemical model for carbon and ecosystem studies, Geosci. Model Dev., 8, 2465–2513, https://doi.org/10.5194/gmd-8-2465-2015, 2015. a
Baboulin, M., Buttari, A., Dongarra, J., Kurzak, J., Langou, J., Langou, J., Luszczek, P., and Tomov, S.: Accelerating scientific computations with mixed precision algorithms, Comput. Phys. Commun., 180, 2526–2533, https://doi.org/10.1016/j.cpc.2008.11.005, 2009. a, b, c
Bauer, P., Thorpe, A., and Brunet, G.: The quiet revolution of numerical weather prediction, Nature, 525, 47–55, https://doi.org/10.1038/nature14956, 2015. a, b
Bellard, C., Bertelsmeier, C., Leadley, P., Thuiller, W., and Courchamp, F.: Impacts of climate change on the future of biodiversity, Ecol. Lett., 15, 365–377, https://doi.org/10.1111/j.1461-0248.2011.01736.x, 2012. a
Dawson, A. and Dueben, P.: aopp-pred/rpe: v5.0.0 (Version v5.0.0), Zenodo, https://doi.org/10.5281/zenodo.154483, 2016. a
Download
Short summary
Mixed-precision approaches can provide substantial speed-ups for both computing- and memory-bound codes, requiring little effort. A novel method to enable modern and legacy codes to benefit from a reduction of precision without sacrificing accuracy is presented. Using a precision emulator and a divide-and-conquer algorithm it identifies the parts that cannot handle reduced precision and the ones that can. The method has been proved using two ocean models, NEMO and ROMS, with promising results.