infrastructure requirements for future earth system models · infrastructure requirements for...

23
Infrastructure Requirements for Future Earth System Models Atmosphere, Oceans, and Computational Infrastructure Future of Earth System Modeling Caltech and JPL Center for Climate Sciences Pasadena, CA V. Balaji NOAA/GFDL and Princeton University 18 May 2018 V. Balaji ([email protected]) Future Infrastucture 18 May 2018 1 / 23

Upload: others

Post on 05-Oct-2020

7 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Infrastructure Requirements for Future Earth System Models · Infrastructure Requirements for Future Earth System Models Atmosphere, Oceans, and Computational Infrastructure Future

Infrastructure Requirements for Future EarthSystem Models

Atmosphere, Oceans, and Computational InfrastructureFuture of Earth System Modeling

Caltech and JPL Center for Climate SciencesPasadena, CA

V. Balaji

NOAA/GFDL and Princeton University

18 May 2018

V. Balaji ([email protected]) Future Infrastucture 18 May 2018 1 / 23

Page 2: Infrastructure Requirements for Future Earth System Models · Infrastructure Requirements for Future Earth System Models Atmosphere, Oceans, and Computational Infrastructure Future

Outline

V. Balaji ([email protected]) Future Infrastucture 18 May 2018 2 / 23

Page 3: Infrastructure Requirements for Future Earth System Models · Infrastructure Requirements for Future Earth System Models Atmosphere, Oceans, and Computational Infrastructure Future

Moore’s Law and End of Dennard scaling

Figure courtesy Moore 2011: Data processing in exascale-classsystems.

Processor concurrency: Intel Xeon-Phi.Fine-grained thread concurrency: Nvidia GPU.

V. Balaji ([email protected]) Future Infrastucture 18 May 2018 3 / 23

Page 4: Infrastructure Requirements for Future Earth System Models · Infrastructure Requirements for Future Earth System Models Atmosphere, Oceans, and Computational Infrastructure Future

The inexorable triumph of commodity computing

From The Platform, Hemsoth (2015).V. Balaji ([email protected]) Future Infrastucture 18 May 2018 4 / 23

Page 5: Infrastructure Requirements for Future Earth System Models · Infrastructure Requirements for Future Earth System Models Atmosphere, Oceans, and Computational Infrastructure Future

The "Navier-Stokes Computer" of 1986

“The Navier-Stokes computer (NSC)has been developed for solvingproblems in fluid mechanics involvingcomplex flow simulations that requiremore speed and capacity thanprovided by current and proposedClass VI supercomputers. Themachine is a parallel processingsupercomputer with several newarchitectural elements which can beprogrammed to address a wide rangeof problems meeting the followingcriteria: (1) the problem isnumerically intensive, and (2) thecode makes use of long vectors.”Nosenchuck and Littman (1986)

V. Balaji ([email protected]) Future Infrastucture 18 May 2018 5 / 23

Page 6: Infrastructure Requirements for Future Earth System Models · Infrastructure Requirements for Future Earth System Models Atmosphere, Oceans, and Computational Infrastructure Future

The Caltech "Cosmic Cube" (1986)

“Caltech is at its best blazing new trails; we are not the best place forprogrammatic research that dots i’s and crosses t’s”. Geoffrey Fox,pioneer of the Caltech Concurrent Computation Program, in 1986.V. Balaji ([email protected]) Future Infrastucture 18 May 2018 6 / 23

Page 7: Infrastructure Requirements for Future Earth System Models · Infrastructure Requirements for Future Earth System Models Atmosphere, Oceans, and Computational Infrastructure Future

Beowulf clusters

V. Balaji ([email protected]) Future Infrastucture 18 May 2018 7 / 23

Page 8: Infrastructure Requirements for Future Earth System Models · Infrastructure Requirements for Future Earth System Models Atmosphere, Oceans, and Computational Infrastructure Future

Google TPU (Tensor Processing Unit)

Figure courtesy Google.

V. Balaji ([email protected]) Future Infrastucture 18 May 2018 8 / 23

Page 9: Infrastructure Requirements for Future Earth System Models · Infrastructure Requirements for Future Earth System Models Atmosphere, Oceans, and Computational Infrastructure Future

Google TPU (Tensor Processing Unit)

Hardware pipelining of steps in matrix-multiply. Figure courtesyGoogle.V. Balaji ([email protected]) Future Infrastucture 18 May 2018 9 / 23

Page 10: Infrastructure Requirements for Future Earth System Models · Infrastructure Requirements for Future Earth System Models Atmosphere, Oceans, and Computational Infrastructure Future

Low precision arithmetic for Deep Learning

Figure courtesy NVidia. Low-precision arithmetic.

V. Balaji ([email protected]) Future Infrastucture 18 May 2018 10 / 23

Page 11: Infrastructure Requirements for Future Earth System Models · Infrastructure Requirements for Future Earth System Models Atmosphere, Oceans, and Computational Infrastructure Future

No separation of "large" and "small" scales

Nastrom and Gage (1985).V. Balaji ([email protected]) Future Infrastucture 18 May 2018 11 / 23

Page 12: Infrastructure Requirements for Future Earth System Models · Infrastructure Requirements for Future Earth System Models Atmosphere, Oceans, and Computational Infrastructure Future

Multi-model “skill scores”

Based on RMS error of surface temperature and precipitation. (Fig. 3from Knutti et al, GRL, 2013).V. Balaji ([email protected]) Future Infrastucture 18 May 2018 12 / 23

Page 13: Infrastructure Requirements for Future Earth System Models · Infrastructure Requirements for Future Earth System Models Atmosphere, Oceans, and Computational Infrastructure Future

Multi-model skill scores?

More complex models that show the same skill represents an“advance”!V. Balaji ([email protected]) Future Infrastucture 18 May 2018 13 / 23

Page 14: Infrastructure Requirements for Future Earth System Models · Infrastructure Requirements for Future Earth System Models Atmosphere, Oceans, and Computational Infrastructure Future

Sources of diversity: model tuning

Model tuning or “calibration” consists of reducing overall model bias(usually relative to 20th century climatology) by modifying parameters.In principle, minimizing some cost function:

C(p1,p2, ...) =N∑1

ωi‖φi − φobsi ‖

Usually the p must be chosen within some observed or theoreticalrange pmin ≤ p ≤ pmax .“Fudge factors” (applying known wrong values) generally frownedupon (see Shackley et al 1999 discussion on history of “fluxadjustments”)The choice of ωi is part of the lab’s “culture”!The choice of φobs

i is also troublesome:overlap between “tuning” metrics and “evaluation” metrics.“Over-tuning”: remember “reality” is but one ensemble member!

V. Balaji ([email protected]) Future Infrastucture 18 May 2018 14 / 23

Page 15: Infrastructure Requirements for Future Earth System Models · Infrastructure Requirements for Future Earth System Models Atmosphere, Oceans, and Computational Infrastructure Future

Ideas and Challenges

No scale separation implies a catastrophic cascade ofdimensionality: we’re off by 1010 from required flops, Schneider etal (2017), Baylor Fox-Kemper’s talk here..Multiple “fit-for-purpose” cost functions depending on the questionasked.Learning algorithms may play multiple roles:

Building emulators, fast surrogate models of low dimensionality.Replace empirical closures with data-driven approaches.Recognize viable models quickly.

Other fields exploring same terrain face substantial difficulties: seeFrégnac (2017): “Big data and the industrialization ofneuroscience: A safe roadmap for understanding the brain?” Seealso Jonas and Kording (2017): “Could a NeuroscientistUnderstand a Microprocessor?”In the face of the above, we must regard it a success that we holdthe line on Charney (1979) despite a vast increase indimensionality!

V. Balaji ([email protected]) Future Infrastucture 18 May 2018 15 / 23

Page 16: Infrastructure Requirements for Future Earth System Models · Infrastructure Requirements for Future Earth System Models Atmosphere, Oceans, and Computational Infrastructure Future

Model development: Nested cycles

Component development: detailed understanding of climateprocess (e.g radiative transfer) representations through theory,observation.Coupled model development: assembly of components, ensuringglobal physical constraints are met (e.g conservation of mass,Earth radiation budget).Model evaluation: by comparison against each other and againstobservations.Little feedback from outer cycles to inner.Entire cycle takes 6-7 years (CMIP is pacemaker).

V. Balaji ([email protected]) Future Infrastucture 18 May 2018 16 / 23

Page 17: Infrastructure Requirements for Future Earth System Models · Infrastructure Requirements for Future Earth System Models Atmosphere, Oceans, and Computational Infrastructure Future

CM4 evaluation: “standard” metrics

Figure courtesy Ming Zhao, NOAA/GFDL.

V. Balaji ([email protected]) Future Infrastucture 18 May 2018 17 / 23

Page 18: Infrastructure Requirements for Future Earth System Models · Infrastructure Requirements for Future Earth System Models Atmosphere, Oceans, and Computational Infrastructure Future

CM4: new evaluation metrics: TC climatology

Figure courtesy John Dunne.

V. Balaji ([email protected]) Future Infrastucture 18 May 2018 18 / 23

Page 19: Infrastructure Requirements for Future Earth System Models · Infrastructure Requirements for Future Earth System Models Atmosphere, Oceans, and Computational Infrastructure Future

CM4: new evaluation metrics: MJO

Figure courtesy Ming Zhao and Isaac Held, NOAA/GFDL.V. Balaji ([email protected]) Future Infrastucture 18 May 2018 19 / 23

Page 20: Infrastructure Requirements for Future Earth System Models · Infrastructure Requirements for Future Earth System Models Atmosphere, Oceans, and Computational Infrastructure Future

Emergent constraints

Sherwood et al (Nature, 2014): “Spread in model climate sensitivitytraced to atmospheric convective mixing”. Observational constraints onmodel uncertainty.V. Balaji ([email protected]) Future Infrastucture 18 May 2018 20 / 23

Page 21: Infrastructure Requirements for Future Earth System Models · Infrastructure Requirements for Future Earth System Models Atmosphere, Oceans, and Computational Infrastructure Future

Built for stability?

Fig 1 from Valdes (2011). GCMs are unable to simulate thePaleocene-Eocene climate of 55 My ago.V. Balaji ([email protected]) Future Infrastucture 18 May 2018 21 / 23

Page 22: Infrastructure Requirements for Future Earth System Models · Infrastructure Requirements for Future Earth System Models Atmosphere, Oceans, and Computational Infrastructure Future

Select quotes, questions from this meeting

Do we want better simulations or increased understanding?Wouldn’t it be great if we could do this with no people involved?

No students?No senior scientists?

Learnt methods must obey convergence, conservation laws, etc:how much physics is imposed on learning? (And what if youimpose the wrong physics?)What is the coupled system response to process level learning?Can we learn everything all at once?Would learning from present-day (late Holocene) observationshelp with paleoclimate studies? counterfactual worlds?

V. Balaji ([email protected]) Future Infrastucture 18 May 2018 22 / 23

Page 23: Infrastructure Requirements for Future Earth System Models · Infrastructure Requirements for Future Earth System Models Atmosphere, Oceans, and Computational Infrastructure Future

What would future infrastructure look like?

A unified modeling infrastructure with:≤∼1 SYPD models, “LES”, “DNS” for generating training data∼10 SYPD comprehensive models for “doing science” – e.g climatesensitivity, detection-attribution, predictability, prediction, projection,...≥∼100-1000 SYPD fast approximate models for uncertaintyexploration

Massive re-engineering to speed up the 10 SYPD model by a fewX will not be transformational (scientists will add to it to bring itback to ∼10 SYPD)A flexible open evaluation and testing framework where metricscan be added with little effort (see e.g Pangeo)A system of composing cost functions at will and generating thelearnt models within a period attuned to human attention span

V. Balaji ([email protected]) Future Infrastucture 18 May 2018 23 / 23