An efficient exact adjoint of the parallel MIT General Circulation Model, generated via automatic differentiation

We describe computational aspects of automatic differentiation applied to global ocean circulation modeling and state estimation. The task of minimizing a cost function measuring the ocean simulation versus observation misfit is achieved through efficient calculation of the cost gradient w.r.t. a set of controls via the adjoint technique. The adjoint code of the parallel MIT general circulation model is generated using TAMC or its successor TAF. To achieve a tractable problem in both CPU and memory requirements, in the light of control flow reversal, the adjoint code relies heavily on the balancing of storing versus recomputation via the checkpointing method. Further savings are achieved by exploiting self-adjointness of part of the computation. To retain scalability of domain decomposition-based parallelism, hand-written adjoint routines are provided. These complement routines of the parallel support package to perform corresponding operations in reverse mode. The unique feature of the TAF tool which enables the dumping of the adjoint state and restart the adjoint integration is exploited to overcome batch execution limitations on HPC machines for large-scale ocean and climate simulations. Strategies to test the correctness of the adjoint-generated gradient are presented. The size of a typical adjoint application is illustrated for the case of the global ocean state estimation problem undertaken by the SIO-JPL-MIT Consortium ''Estimating the Circulation and Climate of the Ocean'' (ECCO). Results are given by way of example.

[1]  J.C. Hoe,et al.  A Personal Supercomputer for Climate Research , 1999, ACM/IEEE SC 1999 Conference (SC'99).

[2]  Peter U. Clark,et al.  The role of the thermohaline circulation in abrupt climate change , 2002, Nature.

[3]  Carl Wunsch,et al.  De‐aliasing of global high frequency barotropic motions in altimeter observations , 2000 .

[4]  John Marshall,et al.  Application of a parallel Navier-Stokes model to ocean circulation , 1996 .

[5]  Patrick Heimbach,et al.  Automatic Generation of Efficient Adjoint Code for a Parallel Navier-Stokes Solver , 2002, International Conference on Computational Science.

[6]  Andreas Griewank,et al.  Evaluating derivatives - principles and techniques of algorithmic differentiation, Second Edition , 2000, Frontiers in applied mathematics.

[7]  R. Giering,et al.  Volume , Heat and Freshwater Transports of the Global Ocean Circulation 1992 { 1997 , Estimated from a General Circulation Model Constrained by WOCE Data , 2001 .

[8]  R. Giering Tangent linear and adjoint model compiler users manual , 1996 .

[9]  Thomas Kaminski,et al.  Recipes for adjoint code construction , 1998, TOMS.

[10]  Carl Wunsch,et al.  Where do ocean eddy heat fluxes matter , 1999 .

[11]  Carl Wunsch,et al.  Global ocean circulation during 1992-1997, estimated from ocean observations and a general circulation model , 2002 .

[12]  James W. Hurrell,et al.  North Atlantic climate variability: phenomena, impacts and mechanisms , 2001 .

[13]  Carl Wunsch,et al.  SATELLITE ALTIMETRY, THE MARINE GEOID, AND THE OCEANIC GENERAL CIRCULATION , 1998 .

[14]  HillChris,et al.  An efficient exact adjoint of the parallel MIT General Circulation Model, generated via automatic differentiation , 2005 .

[15]  R. Giering,et al.  Construction of the adjoint MIT ocean general circulation model and application to Atlantic heat transport sensitivity , 1999 .

[16]  Andreas Griewank,et al.  Achieving logarithmic growth of temporal and spatial complexity in reverse automatic differentiation , 1992 .

[17]  Claude Lemaréchal,et al.  Some numerical experiments with variable-storage quasi-Newton algorithms , 1989, Math. Program..

[18]  C. Wunsch The Ocean Circulation Inverse Problem , 1996 .

[19]  L. Perelman,et al.  Hydrostatic, quasi‐hydrostatic, and nonhydrostatic ocean modeling , 1997 .

[20]  Rex Dalton Oceanography: Voyage of the argonauts , 2002, Nature.

[21]  Andreas Griewank,et al.  Automatic Differentiation of Algorithms: From Simulation to Optimization , 2000, Springer New York.

[22]  L. Perelman,et al.  A finite-volume, incompressible Navier Stokes model for studies of the ocean on parallel computers , 1997 .

[23]  Carl Wunsch,et al.  Volume, heat, and freshwater transports of the global ocean circulation 1993-2000, estimated from a general circulation model constrained by World Ocean Circulation Experiment (WOCE) data , 2003 .

[24]  Andreas Griewank,et al.  Circumventing Storage Limitations in Variational Data Assimilation Studies , 1997, SIAM J. Sci. Comput..

[25]  Akio Arakawa,et al.  Computational Design of the Basic Dynamical Processes of the UCLA General Circulation Model , 1977 .