Building the Tangent and Adjoint codes of the Ocean General Circulation Model OPA with the Automatic Differentiation tool TAPENADE

نویسندگان

  • Moulay Hicham Tber
  • Laurent Hascoët
  • Arthur Vidard
  • Benjamin Dauvergne
چکیده

The ocean general circulation model OPA is developed by the LODYC team at Paris VI university. OPA has recently undergone a major rewriting, migrating to FORTRAN95, and its adjoint code needs to be rebuilt. For earlier versions, the adjoint of OPA was written by hand at a high development cost. We use the Automatic Differentiation tool TAPENADE to build mechanicaly the tangent and adjoint codes of OPA. We validate the differentiated codes by comparison with divided differences, and also with an identical twin experiment. We apply state-of-the-art methods to improve the performance of the adjoint code. In particular we implement the Griewank and Walther's binomial checkpointing algorithm which gives us an optimal trade-off between time and memory consumption. We apply a specific strategy to differentiate the iterative linear solver that comes from the implicit time stepping scheme

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Enabling user-driven Checkpointing strategies in Reverse-mode Automatic Differentiation

Abstract. This paper presents a new functionality of the Automatic Differentiation (AD) Tool tapenade. tapenade generates adjoint codes which are widely used for optimization or inverse problems. Unfortunately, for large applications the adjoint code demands a great deal of memory, because it needs to store a large set of intermediates values. To cope with that problem, tapenade implements a su...

متن کامل

Generating efficient derivative code with TAF: Adjoint and tangent linear Euler flow around an airfoil

FastOpt’s new automatic differentiation tool TAF is applied to the two-dimensional Navier-Stokes solver NSC2KE. For a configuration that simulates the Euler flow around a NACA airfoil, TAF has generated the tangent linear and adjoint models as well as the second derivative (Hessian) code. Owing to TAF’s capability of generating efficient adjoints of iterative solvers, the derivative code has a ...

متن کامل

Interfacing OpenAD and Tapenade

Development of a capable algorithmic differentiation (AD) tool requires large developer effort to provide the various flavors of derivatives, to experiment with the many AD model variants, and to apply them to the candidate application languages. Considering the relatively small size of the academic teams that develop AD tools, collaboration between them is a natural idea. This collaboration ca...

متن کامل

3D Modeling of Wind-Driven Circulation In The Northern Indian Ocean During Monsoon

Abstract The purpose of this research is to design and identify some of the natures and characteristics of high-resolution surface currents in the Northern Indian Ocean. The pattern of 3D circulation of the Wind-driven surface currents, Sea surface temperature (SST) and Sea Surface Salinity (SSS) distribution in the Northern Indian Ocean using The MIT general circulation model (MITgcm) with ho...

متن کامل

Optimal Boundary Conditions for ORCA-2 Model

A 4D-Var data assimilation technique is applied to a ORCA-2 configuration of the NEMO in order to identify the optimal parametrization of the boundary conditions on the lateral boundaries as well as on the bottom and on the surface of the ocean. The influence of the boundary conditions on the solution is analyzed as in the assimilation window and beyond the window. It is shown that optimal cond...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • CoRR

دوره abs/0711.4444  شماره 

صفحات  -

تاریخ انتشار 2007