Articles | Volume 12, issue 7
https://doi.org/10.5194/gmd-12-3135-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, Mario C. Acosta, Andrew M. Moore, Miguel Castrillo, Kim Serradell, Ana Cortés, and Francisco J. Doblas-Reyes

Download

Interactive discussion

Status: closed
Status: closed
AC: Author comment | RC: Referee comment | SC: Short comment | EC: Editor comment
Printer-friendly Version - Printer-friendly version Supplement - Supplement

Peer-review completion

AR: Author's response | RR: Referee report | ED: Editor decision
AR by Oriol Tinto on behalf of the Authors (10 May 2019)  Manuscript 
ED: Publish subject to minor revisions (review by editor) (30 May 2019) by Steven Phipps
AR by Oriol Tinto on behalf of the Authors (08 Jun 2019)  Author's response   Manuscript 
ED: Publish subject to technical corrections (24 Jun 2019) by Steven Phipps
AR by Oriol Tinto on behalf of the Authors (01 Jul 2019)  Author's response   Manuscript 
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.