A differentiation-enabled Fortran 95 compiler
A differentiation-enabled Fortran 95 compiler
复制标题
支持微分的 Fortran 95 编译器
DOI:
--
复制
发表时间:
2005
期刊:
影响因子:
--
通讯作者:
J. Riehme
中科院分区:
文献类型:
--
作者:
U. Naumann;J. Riehme
The availability of first derivatives of vector functions is crucial for the robustness and efficiency of a large number of numerical algorithms. An upcoming new version of the differentiation-enabled NAGWare Fortran 95 compiler is described that uses programming language extensions and a semantic code transformation known as automatic differentiation to provide Jacobians of numerical programs with machine accuracy. We describe a new user interface as well as the relevant algorithmic details. In particular, we focus on the source transformation approach that generates locally optimal gradient code for single assignments by vertex elimination in the linearized computational graph. Extensive tests show the superiority of this method over the current overloading-based approach. The robustness and convenience of the new compiler-feature is illustrated by various case studies.