arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 0711.4444cs.MScs.CE
收藏

用自动微分工具TAPENADE建立海洋环流模式OPA的切线和伴随码

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

Moulay Hicham Tber, Laurent Hascoet, Arthur Vidard, Benjamin Dauvergne

摘要:

海洋环流模式OPA是由巴黎第六大学LODYC小组开发的。OPA最近经历了一次重大的重写,迁移到FORTRAN 95,其伴随代码需要重建。对于早期版本,OPA的伴随是手工编写的,开发成本很高。我们使用自动微分工具TAPENADE来机械地构造OPA的切线和伴随码。我们验证的差异代码比较除差异,并与同卵双生子实验。我们应用国家的最先进的方法来提高伴随码的性能。特别是,我们实现了Griewank和Walther的二项式检查点算法,这给了我们一个最佳的时间和内存消耗之间的权衡。我们采用一种特殊的策略来区分来自隐式时间步进方案的迭代线性求解器

英文摘要:

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

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑