...
首页> 外文期刊>Computer physics communications >The efficiency of geophysical adjoint codes generated by automatic differentiation tools
【24h】

The efficiency of geophysical adjoint codes generated by automatic differentiation tools

机译:自动微分工具生成的地球物理伴生代码的效率

获取原文
获取原文并翻译 | 示例
           

摘要

The accuracy of numerical models that describe complex physical or chemical processes depends on the choice of model parameters. Estimating an optimal set of parameters by optimization algorithms requires knowledge of the sensitivity of the process of interest to model parameters. Typically the sensitivity computation involves differentiation of the model, which can be performed by applying algorithmic differentiation (AD) tools to the underlying numerical code. However, existing AD tools differ substantially in design, legibility and computational efficiency. In this study we show that, for geophysical data assimilation problems of varying complexity, the performance of adjoint codes generated by the existing AD tools (i) Open_AD, (ii) Tapenade, (iii) NAGWare and (iv) Transformation of Algorithms in Fortran (TAF) can be vastly different. Based on simple test problems, we evaluate the efficiency of each AD tool with respect to computational speed, accuracy of the adjoint, the efficiency of memory usage, and the capability of each AD tool to handle modern FORTRAN 90-95 elements such as structures and pointers, which are new elements that either combine groups of variables or provide aliases to memory addresses, respectively. We show that, while operator overloading tools are the only ones suitable for modern codes written in object-oriented programming languages, their computational efficiency lags behind source transformation by orders of magnitude, rendering the application of these modern tools to practical assimilation problems prohibitive. In contrast, the application of source transformation tools appears to be the most efficient choice, allowing handling even large geophysical data assimilation problems. However, they can only be applied to numerical models written in earlier generations of programming languages. Our study indicates that applying existing AD tools to realistic geophysical problems faces limitations that urgently need to be solved to allow the continuous use of AD tools for solving geophysical problems on modern computer architectures. (C) 2015 Elsevier B.V. All rights reserved.
机译:描述复杂的物理或化学过程的数值模型的准确性取决于模型参数的选择。通过优化算法估计最佳参数集需要了解感兴趣的过程对参数建模的敏感性。通常,灵敏度计算涉及模型的微分,这可以通过将算法微分(AD)工具应用于基础数字代码来执行。但是,现有的AD工具在设计,易读性和计算效率方面存在很大差异。在这项研究中,我们表明,对于复杂程度各异的地球物理数据同化问题,现有AD工具(i)Open_AD,(ii)Tapenade,(iii)NAGWare和(iv)Fortran中的算法转换生成的伴随代码的性能(TAF)可以有很大的不同。基于简单的测试问题,我们在计算速度,伴随的准确性,内存使用效率以及每种AD工具处理现代FORTRAN 90-95元素(例如结构和结构)的能力方面评估每种AD工具的效率。指针,它们是新元素,分别组合变量组或为内存地址提供别名。我们证明了,尽管运算符重载工具是唯一适用于以面向对象的编程语言编写的现代代码的工具,但它们的计算效率却落后于源代码转换数个数量级,这使得这些现代工具在实际同化问题上的应用令人望而却步。相反,源转换工具的应用似乎是最有效的选择,甚至可以处理大量的地球物理数据同化问题。但是,它们只能应用于以早期编程语言编写的数值模型。我们的研究表明,将现有的AD工具应用于实际的地球物理问题面临着迫切需要解决的局限性,以允许继续使用AD工具来解决现代计算机体系结构上的地球物理问题。 (C)2015 Elsevier B.V.保留所有权利。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号