Bitwise identical compiling setup: prospective for reproducibility and reliability of Earth system modeling

Reproducibility and reliability are fundamental principles of scientific research. A compiling setup that includes a specific compiler version and compiler flags is an essential technical support for Earth system modeling. With the fast development of computer software and hardware, a compiling setu...

Full description

Bibliographic Details
Main Authors: R. Li, L. Liu, G. Yang, C. Zhang, B. Wang
Format: Article
Language:English
Published: Copernicus Publications 2016-02-01
Series:Geoscientific Model Development
Online Access:http://www.geosci-model-dev.net/9/731/2016/gmd-9-731-2016.pdf
id doaj-52e48856a7174363a3233ae288b6f800
record_format Article
spelling doaj-52e48856a7174363a3233ae288b6f8002020-11-24T20:55:04ZengCopernicus PublicationsGeoscientific Model Development1991-959X1991-96032016-02-019273174810.5194/gmd-9-731-2016Bitwise identical compiling setup: prospective for reproducibility and reliability of Earth system modelingR. Li0L. Liu1G. Yang2C. Zhang3B. Wang4Ministry of Education Key Laboratory for Earth System Modeling, Center for Earth System Science (CESS), Tsinghua University, Beijing, ChinaMinistry of Education Key Laboratory for Earth System Modeling, Center for Earth System Science (CESS), Tsinghua University, Beijing, ChinaMinistry of Education Key Laboratory for Earth System Modeling, Center for Earth System Science (CESS), Tsinghua University, Beijing, ChinaMinistry of Education Key Laboratory for Earth System Modeling, Center for Earth System Science (CESS), Tsinghua University, Beijing, ChinaMinistry of Education Key Laboratory for Earth System Modeling, Center for Earth System Science (CESS), Tsinghua University, Beijing, ChinaReproducibility and reliability are fundamental principles of scientific research. A compiling setup that includes a specific compiler version and compiler flags is an essential technical support for Earth system modeling. With the fast development of computer software and hardware, a compiling setup has to be updated frequently, which challenges the reproducibility and reliability of Earth system modeling. The existing results of a simulation using an original compiling setup may be irreproducible by a newer compiling setup because trivial round-off errors introduced by the change in compiling setup can potentially trigger significant changes in simulation results. Regarding the reliability, a compiler with millions of lines of code may have bugs that are easily overlooked due to the uncertainties or unknowns in Earth system modeling. To address these challenges, this study shows that different compiling setups can achieve exactly the same (bitwise identical) results in Earth system modeling, and a set of bitwise identical compiling setups of a model can be used across different compiler versions and different compiler flags. As a result, the original results can be more easily reproduced; for example, the original results with an older compiler version can be reproduced exactly with a newer compiler version. Moreover, this study shows that new test cases can be generated based on the differences of bitwise identical compiling setups between different models, which can help detect software bugs in the codes of models and compilers and finally improve the reliability of Earth system modeling.http://www.geosci-model-dev.net/9/731/2016/gmd-9-731-2016.pdf
collection DOAJ
language English
format Article
sources DOAJ
author R. Li
L. Liu
G. Yang
C. Zhang
B. Wang
spellingShingle R. Li
L. Liu
G. Yang
C. Zhang
B. Wang
Bitwise identical compiling setup: prospective for reproducibility and reliability of Earth system modeling
Geoscientific Model Development
author_facet R. Li
L. Liu
G. Yang
C. Zhang
B. Wang
author_sort R. Li
title Bitwise identical compiling setup: prospective for reproducibility and reliability of Earth system modeling
title_short Bitwise identical compiling setup: prospective for reproducibility and reliability of Earth system modeling
title_full Bitwise identical compiling setup: prospective for reproducibility and reliability of Earth system modeling
title_fullStr Bitwise identical compiling setup: prospective for reproducibility and reliability of Earth system modeling
title_full_unstemmed Bitwise identical compiling setup: prospective for reproducibility and reliability of Earth system modeling
title_sort bitwise identical compiling setup: prospective for reproducibility and reliability of earth system modeling
publisher Copernicus Publications
series Geoscientific Model Development
issn 1991-959X
1991-9603
publishDate 2016-02-01
description Reproducibility and reliability are fundamental principles of scientific research. A compiling setup that includes a specific compiler version and compiler flags is an essential technical support for Earth system modeling. With the fast development of computer software and hardware, a compiling setup has to be updated frequently, which challenges the reproducibility and reliability of Earth system modeling. The existing results of a simulation using an original compiling setup may be irreproducible by a newer compiling setup because trivial round-off errors introduced by the change in compiling setup can potentially trigger significant changes in simulation results. Regarding the reliability, a compiler with millions of lines of code may have bugs that are easily overlooked due to the uncertainties or unknowns in Earth system modeling. To address these challenges, this study shows that different compiling setups can achieve exactly the same (bitwise identical) results in Earth system modeling, and a set of bitwise identical compiling setups of a model can be used across different compiler versions and different compiler flags. As a result, the original results can be more easily reproduced; for example, the original results with an older compiler version can be reproduced exactly with a newer compiler version. Moreover, this study shows that new test cases can be generated based on the differences of bitwise identical compiling setups between different models, which can help detect software bugs in the codes of models and compilers and finally improve the reliability of Earth system modeling.
url http://www.geosci-model-dev.net/9/731/2016/gmd-9-731-2016.pdf
work_keys_str_mv AT rli bitwiseidenticalcompilingsetupprospectiveforreproducibilityandreliabilityofearthsystemmodeling
AT lliu bitwiseidenticalcompilingsetupprospectiveforreproducibilityandreliabilityofearthsystemmodeling
AT gyang bitwiseidenticalcompilingsetupprospectiveforreproducibilityandreliabilityofearthsystemmodeling
AT czhang bitwiseidenticalcompilingsetupprospectiveforreproducibilityandreliabilityofearthsystemmodeling
AT bwang bitwiseidenticalcompilingsetupprospectiveforreproducibilityandreliabilityofearthsystemmodeling
_version_ 1716792733713039360