Cargando…
On the use of programmable hardware and reduced numerical precision in earth‐system modeling
Programmable hardware, in particular Field Programmable Gate Arrays (FPGAs), promises a significant increase in computational performance for simulations in geophysical fluid dynamics compared with CPUs of similar power consumption. FPGAs allow adjusting the representation of floating‐point numbers...
Autores principales: | , , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
John Wiley and Sons Inc.
2015
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5006253/ https://www.ncbi.nlm.nih.gov/pubmed/27642499 http://dx.doi.org/10.1002/2015MS000494 |
_version_ | 1782451027744653312 |
---|---|
author | Düben, Peter D. Russell, Francis P. Niu, Xinyu Luk, Wayne Palmer, T. N. |
author_facet | Düben, Peter D. Russell, Francis P. Niu, Xinyu Luk, Wayne Palmer, T. N. |
author_sort | Düben, Peter D. |
collection | PubMed |
description | Programmable hardware, in particular Field Programmable Gate Arrays (FPGAs), promises a significant increase in computational performance for simulations in geophysical fluid dynamics compared with CPUs of similar power consumption. FPGAs allow adjusting the representation of floating‐point numbers to specific application needs. We analyze the performance‐precision trade‐off on FPGA hardware for the two‐scale Lorenz '95 model. We scale the size of this toy model to that of a high‐performance computing application in order to make meaningful performance tests. We identify the minimal level of precision at which changes in model results are not significant compared with a maximal precision version of the model and find that this level is very similar for cases where the model is integrated for very short or long intervals. It is therefore a useful approach to investigate model errors due to rounding errors for very short simulations (e.g., 50 time steps) to obtain a range for the level of precision that can be used in expensive long‐term simulations. We also show that an approach to reduce precision with increasing forecast time, when model errors are already accumulated, is very promising. We show that a speed‐up of 1.9 times is possible in comparison to FPGA simulations in single precision if precision is reduced with no strong change in model error. The single‐precision FPGA setup shows a speed‐up of 2.8 times in comparison to our model implementation on two 6‐core CPUs for large model setups. |
format | Online Article Text |
id | pubmed-5006253 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2015 |
publisher | John Wiley and Sons Inc. |
record_format | MEDLINE/PubMed |
spelling | pubmed-50062532016-09-16 On the use of programmable hardware and reduced numerical precision in earth‐system modeling Düben, Peter D. Russell, Francis P. Niu, Xinyu Luk, Wayne Palmer, T. N. J Adv Model Earth Syst Research Articles Programmable hardware, in particular Field Programmable Gate Arrays (FPGAs), promises a significant increase in computational performance for simulations in geophysical fluid dynamics compared with CPUs of similar power consumption. FPGAs allow adjusting the representation of floating‐point numbers to specific application needs. We analyze the performance‐precision trade‐off on FPGA hardware for the two‐scale Lorenz '95 model. We scale the size of this toy model to that of a high‐performance computing application in order to make meaningful performance tests. We identify the minimal level of precision at which changes in model results are not significant compared with a maximal precision version of the model and find that this level is very similar for cases where the model is integrated for very short or long intervals. It is therefore a useful approach to investigate model errors due to rounding errors for very short simulations (e.g., 50 time steps) to obtain a range for the level of precision that can be used in expensive long‐term simulations. We also show that an approach to reduce precision with increasing forecast time, when model errors are already accumulated, is very promising. We show that a speed‐up of 1.9 times is possible in comparison to FPGA simulations in single precision if precision is reduced with no strong change in model error. The single‐precision FPGA setup shows a speed‐up of 2.8 times in comparison to our model implementation on two 6‐core CPUs for large model setups. John Wiley and Sons Inc. 2015-09-18 2015-09 /pmc/articles/PMC5006253/ /pubmed/27642499 http://dx.doi.org/10.1002/2015MS000494 Text en © 2015. The Authors. This is an open access article under the terms of the Creative Commons Attribution (http://creativecommons.org/licenses/by/4.0/) License, which permits use, distribution and reproduction in any medium, provided the original work is properly cited. |
spellingShingle | Research Articles Düben, Peter D. Russell, Francis P. Niu, Xinyu Luk, Wayne Palmer, T. N. On the use of programmable hardware and reduced numerical precision in earth‐system modeling |
title | On the use of programmable hardware and reduced numerical precision in earth‐system modeling |
title_full | On the use of programmable hardware and reduced numerical precision in earth‐system modeling |
title_fullStr | On the use of programmable hardware and reduced numerical precision in earth‐system modeling |
title_full_unstemmed | On the use of programmable hardware and reduced numerical precision in earth‐system modeling |
title_short | On the use of programmable hardware and reduced numerical precision in earth‐system modeling |
title_sort | on the use of programmable hardware and reduced numerical precision in earth‐system modeling |
topic | Research Articles |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5006253/ https://www.ncbi.nlm.nih.gov/pubmed/27642499 http://dx.doi.org/10.1002/2015MS000494 |
work_keys_str_mv | AT dubenpeterd ontheuseofprogrammablehardwareandreducednumericalprecisioninearthsystemmodeling AT russellfrancisp ontheuseofprogrammablehardwareandreducednumericalprecisioninearthsystemmodeling AT niuxinyu ontheuseofprogrammablehardwareandreducednumericalprecisioninearthsystemmodeling AT lukwayne ontheuseofprogrammablehardwareandreducednumericalprecisioninearthsystemmodeling AT palmertn ontheuseofprogrammablehardwareandreducednumericalprecisioninearthsystemmodeling |