+ All Categories
Home > Documents > Do different machines simulate different climates? François Massonnet M. Asif, O. Bellprat, E....

Do different machines simulate different climates? François Massonnet M. Asif, O. Bellprat, E....

Date post: 12-Jan-2016
Category:
Upload: maude-williamson
View: 213 times
Download: 0 times
Share this document with a friend
Popular Tags:
29
Do different machines simulate different climates? François Massonnet M. Asif, O. Bellprat, E. Exarchou, M. Ménégoz, C. Prodhomme, F. J. Doblas-Reyes EC-Earth meeting 5-6 May 2015
Transcript
Page 1: Do different machines simulate different climates? François Massonnet M. Asif, O. Bellprat, E. Exarchou, M. Ménégoz, C. Prodhomme, F. J. Doblas-Reyes EC-Earth.

Do different machines simulate different

climates?François

MassonnetM. Asif, O. Bellprat, E. Exarchou, M.

Ménégoz, C. Prodhomme, F. J. Doblas-Reyes

EC-Earth meeting 5-6 May 2015

Page 2: Do different machines simulate different climates? François Massonnet M. Asif, O. Bellprat, E. Exarchou, M. Ménégoz, C. Prodhomme, F. J. Doblas-Reyes EC-Earth.

OBS

MOD

Identifying sources of model error

Page 3: Do different machines simulate different climates? François Massonnet M. Asif, O. Bellprat, E. Exarchou, M. Ménégoz, C. Prodhomme, F. J. Doblas-Reyes EC-Earth.

Initial conditions are

wrong

OBS

MOD

Identifying sources of model error

Page 4: Do different machines simulate different climates? François Massonnet M. Asif, O. Bellprat, E. Exarchou, M. Ménégoz, C. Prodhomme, F. J. Doblas-Reyes EC-Earth.

Initial conditions are

wrong

Boundary conditions are

wrong OBS

MOD

Identifying sources of model error

Page 5: Do different machines simulate different climates? François Massonnet M. Asif, O. Bellprat, E. Exarchou, M. Ménégoz, C. Prodhomme, F. J. Doblas-Reyes EC-Earth.

Initial conditions are

wrong

Boundary conditions are

wrong

Model physics is

wrong

OBS

MOD

Identifying sources of model error

Page 6: Do different machines simulate different climates? François Massonnet M. Asif, O. Bellprat, E. Exarchou, M. Ménégoz, C. Prodhomme, F. J. Doblas-Reyes EC-Earth.

Initial conditions are

wrong

Boundary conditions are

wrong

Model physics is

wrong

Discretization errors OBS

MOD

Identifying sources of model error

Page 7: Do different machines simulate different climates? François Massonnet M. Asif, O. Bellprat, E. Exarchou, M. Ménégoz, C. Prodhomme, F. J. Doblas-Reyes EC-Earth.

Initial conditions are

wrong

Boundary conditions are

wrong

Model physics is

wrong

Discretization errors

Softwares / hardwares are

wrong

OBS

MOD

Identifying sources of model error

Page 8: Do different machines simulate different climates? François Massonnet M. Asif, O. Bellprat, E. Exarchou, M. Ménégoz, C. Prodhomme, F. J. Doblas-Reyes EC-Earth.

Hardware/software as sources of model error

Bit-reproducibility of EC-Earth

Clim-reproducibility of EC-Earth

Page 9: Do different machines simulate different climates? François Massonnet M. Asif, O. Bellprat, E. Exarchou, M. Ménégoz, C. Prodhomme, F. J. Doblas-Reyes EC-Earth.

Hardware/software as sources of model error

Bit-reproducibility of EC-Earth

Clim-reproducibility of EC-Earth

Page 10: Do different machines simulate different climates? François Massonnet M. Asif, O. Bellprat, E. Exarchou, M. Ménégoz, C. Prodhomme, F. J. Doblas-Reyes EC-Earth.

Software / harwdare is a multiple and underestimated source of model error

Round-off errors and floating-point representationThe order matters: associativity is no longer valid

(√2 .𝜋) .𝑒=√2. (𝜋 .𝑒)12.0771

12.0777

Page 11: Do different machines simulate different climates? François Massonnet M. Asif, O. Bellprat, E. Exarchou, M. Ménégoz, C. Prodhomme, F. J. Doblas-Reyes EC-Earth.

Software / harwdare is a multiple and underestimated source of model error

Round-off errors and floating-point representationThe order matters: associativity is no longer valid

Agressive optimizationCan degrade accuracy [Thomas et al. Wea. And Forecast., 2002]

(√2 .𝜋) .𝑒=√2. (𝜋 .𝑒)12.0771

12.0777

Page 12: Do different machines simulate different climates? François Massonnet M. Asif, O. Bellprat, E. Exarchou, M. Ménégoz, C. Prodhomme, F. J. Doblas-Reyes EC-Earth.

Software / harwdare is a multiple and underestimated source of model error

Round-off errors and floating-point representationThe order matters: associativity is no longer valid

Agressive optimizationCan degrade accuracy [Thomas et al. Wea. And Forecast., 2002]

Number of processors and their distributionProcessor topology defines order of operations [Thomas et al., Wea. And Forecast., 2002; Senoner et al., AIAA, 2008]

(√2 .𝜋) .𝑒=√2. (𝜋 .𝑒)12.0771

12.0777

Page 13: Do different machines simulate different climates? François Massonnet M. Asif, O. Bellprat, E. Exarchou, M. Ménégoz, C. Prodhomme, F. J. Doblas-Reyes EC-Earth.

Software / harwdare is a multiple and underestimated source of model error

Round-off errors and floating-point representationThe order matters: associativity is no longer valid

Agressive optimizationCan degrade accuracy [Thomas et al. Wea. And Forecast., 2002]

Number of processors and their distributionProcessor topology defines order of operations [Thomas et al., Wea. And Forecast., 2002; Senoner et al., AIAA, 2008]Compiler versionDifferent FORTRAN compilers can produce different outcomes [Lawrence et al., EOS, 1999]

(√2 .𝜋) .𝑒=√2. (𝜋 .𝑒)12.0771

12.0777

Page 14: Do different machines simulate different climates? François Massonnet M. Asif, O. Bellprat, E. Exarchou, M. Ménégoz, C. Prodhomme, F. J. Doblas-Reyes EC-Earth.

Software / harwdare is a multiple and underestimated source of model error

Round-off errors and floating-point representationThe order matters: associativity is no longer valid

Agressive optimizationCan degrade accuracy [Thomas et al. Wea. And Forecast., 2002]

Number of processors and their distributionProcessor topology defines order of operations [Thomas et al., Wea. And Forecast., 2002; Senoner et al., AIAA, 2008]Compiler versionDifferent FORTRAN compilers can produce different outcomes [Lawrence et al., EOS, 1999]

(√2 .𝜋) .𝑒=√2. (𝜋 .𝑒)

Unpredictable hardware failures[Düben and Palmer, Mon. Wea. Rev., 2014]

12.0771

12.0777

Page 15: Do different machines simulate different climates? François Massonnet M. Asif, O. Bellprat, E. Exarchou, M. Ménégoz, C. Prodhomme, F. J. Doblas-Reyes EC-Earth.

Hardware/software as sources of model errorThis aspect has been overlooked but is of non-negligible importance

Bit-reproducibility of EC-Earth

Clim-reproducibility of EC-Earth

Page 16: Do different machines simulate different climates? François Massonnet M. Asif, O. Bellprat, E. Exarchou, M. Ménégoz, C. Prodhomme, F. J. Doblas-Reyes EC-Earth.

Hardware/software as sources of model errorThis aspect has been overlooked but is of non-negligible importance

Bit-reproducibility of EC-Earth

Clim-reproducibility of EC-Earth

Page 17: Do different machines simulate different climates? François Massonnet M. Asif, O. Bellprat, E. Exarchou, M. Ménégoz, C. Prodhomme, F. J. Doblas-Reyes EC-Earth.

All things being equal, EC-Earth is reproducible bitwise

Near-surface global temperature

K

287

286

285

284

J F M A M J J A S O N D

22 +384

+9622 +384

+96

# of processors

Mare Nostrum

Page 18: Do different machines simulate different climates? François Massonnet M. Asif, O. Bellprat, E. Exarchou, M. Ménégoz, C. Prodhomme, F. J. Doblas-Reyes EC-Earth.

All things being equal, EC-Earth is sensitive to processor distribution

Near-surface global temperature

K

287

286

285

284

J F M A M J J A S O N D

22 +384

+9622 +384

+9622 +96

+1622 +352

+9622 +384

+32

# of processors

Mare Nostrum

Page 19: Do different machines simulate different climates? François Massonnet M. Asif, O. Bellprat, E. Exarchou, M. Ménégoz, C. Prodhomme, F. J. Doblas-Reyes EC-Earth.

Hardware/software as sources of model errorThis aspect has been overlooked but is of non-negligible importance

Bit-reproducibility of EC-Earth- Two identical runs give exactly matching output- No reproducibility for different processor (IFS or NEMO)

distribution

Clim-reproducibility of EC-Earth

Page 20: Do different machines simulate different climates? François Massonnet M. Asif, O. Bellprat, E. Exarchou, M. Ménégoz, C. Prodhomme, F. J. Doblas-Reyes EC-Earth.

Hardware/software as sources of model errorThis aspect has been overlooked but is of non-negligible importance

Bit-reproducibility of EC-Earth- Two identical runs give exactly matching output- No reproducibility for different processor (IFS or NEMO)

distribution

Clim-reproducibility of EC-Earth

Page 21: Do different machines simulate different climates? François Massonnet M. Asif, O. Bellprat, E. Exarchou, M. Ménégoz, C. Prodhomme, F. J. Doblas-Reyes EC-Earth.

Restart from EC-Earth v3.1b 500 yr-spinup (CNR: tome) + white noise SST (σ=10-4 K)

1850 1870

5 members

1860

Forcing: pre-industrial

Page 22: Do different machines simulate different climates? François Massonnet M. Asif, O. Bellprat, E. Exarchou, M. Ménégoz, C. Prodhomme, F. J. Doblas-Reyes EC-Earth.

Machine 1(Mare Nostrum, BSC)

Machine 2(ECMWF)

Machine 3(Ithaca, CFU)

Motherboard

Operating system LINUX environment

Compilation flags

Identical

Identical

Identical

NetCDF, GRIB, HDF5

libraries

Different

Different

Different

# of processors

22+32+1622+480+9622+384+96

Autosubmit ensures identical configurations

Page 23: Do different machines simulate different climates? François Massonnet M. Asif, O. Bellprat, E. Exarchou, M. Ménégoz, C. Prodhomme, F. J. Doblas-Reyes EC-Earth.

The simulations are evaluated against the same, static data set

ECMWF

Ithaca, IC3

Mare Nostrum, BSC

Reference

[Reichler and Kim, BAMS, 2008][ECMean: Paolo Davini, CNR]

Page 24: Do different machines simulate different climates? François Massonnet M. Asif, O. Bellprat, E. Exarchou, M. Ménégoz, C. Prodhomme, F. J. Doblas-Reyes EC-Earth.

Statistically significant differences are found in the performance indices

ECMWFMare Nostrum

Red = difference according to Kolmogorov-Smirnov test (alpha=5%; overestimates true rejection rate for small samples)

Page 25: Do different machines simulate different climates? François Massonnet M. Asif, O. Bellprat, E. Exarchou, M. Ménégoz, C. Prodhomme, F. J. Doblas-Reyes EC-Earth.

Difference (ECMWF − Mare Nostrum) near-surface temperature

°C

Page 26: Do different machines simulate different climates? François Massonnet M. Asif, O. Bellprat, E. Exarchou, M. Ménégoz, C. Prodhomme, F. J. Doblas-Reyes EC-Earth.

10

8

6

4

2

0

10

6 k

18

12

0

15

9

6

3

ECMWF

Mare NostrumECMWF

Mare Nostrum

Differences originate in winter. Associated to deep oceanic convection and parameterizations?

Page 27: Do different machines simulate different climates? François Massonnet M. Asif, O. Bellprat, E. Exarchou, M. Ménégoz, C. Prodhomme, F. J. Doblas-Reyes EC-Earth.

Hardware/software as sources of model errorThis aspect has been overlooked but is of non-negligible importance

Bit-reproducibility of EC-Earth- Two identical runs give exactly matching output- No reproducibility for different processor (IFS or NEMO)

distribution

Clim-reproducibility of EC-EarthEC-Earth is not climate-reproducible on different platforms

Page 28: Do different machines simulate different climates? François Massonnet M. Asif, O. Bellprat, E. Exarchou, M. Ménégoz, C. Prodhomme, F. J. Doblas-Reyes EC-Earth.

Take home messages and implications

1. Machines introduce an additional, non negligible source of error in climate simulations

The results are supported by several published studies, unpublished documents, colloquial discussions, good practices

2. Following the precautionary principle, CMIP6 simulations should be centralized…

… unless a benchmark experiment is produced to re-assess reproducibility with the next EC-Earth version

3. Model evaluation should account for dependency of results on software/hardware

Machines sample uncertainty just as members sample internal variability

4. Control and sensitivity experiments must be designed on the same machine

Page 29: Do different machines simulate different climates? François Massonnet M. Asif, O. Bellprat, E. Exarchou, M. Ménégoz, C. Prodhomme, F. J. Doblas-Reyes EC-Earth.

Thank you!

[email protected]

www.climate.be/u/fmasson

@FMassonnet


Recommended