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

Moulay Hicham Tber 1, * Laurent Hascoet 1, 2 Arthur Vidard 3 Benjamin Dauvergne 1
* Auteur correspondant
1 TROPICS - Program transformations for scientific computing
CRISAM - Inria Sophia Antipolis - Méditerranée
3 MOISE - Modelling, Observations, Identification for Environmental Sciences
Inria Grenoble - Rhône-Alpes, LJK - Laboratoire Jean Kuntzmann, INPG - Institut National Polytechnique de Grenoble
Abstract : 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
Liste complète des métadonnées

Littérature citée [1 références]  Voir  Masquer  Télécharger

https://hal.inria.fr/inria-00192415
Contributeur : Rapport de Recherche Inria <>
Soumis le : jeudi 29 novembre 2007 - 10:05:44
Dernière modification le : mercredi 11 avril 2018 - 01:59:34
Document(s) archivé(s) le : mardi 21 septembre 2010 - 15:28:39

Fichiers

RR-6372.pdf
Fichiers produits par l'(les) auteur(s)

Identifiants

  • HAL Id : inria-00192415, version 2
  • ARXIV : 0711.4444

Collections

Citation

Moulay Hicham Tber, Laurent Hascoet, Arthur Vidard, Benjamin Dauvergne. Building the Tangent and Adjoint codes of the Ocean General Circulation Model OPA with the Automatic Differentiation tool TAPENADE. [Research Report] RR-6372, INRIA. 2007, pp.28. 〈inria-00192415v2〉

Partager

Métriques

Consultations de la notice

444

Téléchargements de fichiers

156