Extending compile-time reverse mode and exploiting partial separability in ADIFOR. ADIFOR Working Note No. 7
Author(s) -
Christian Bischof,
M. El-Khadiri
Publication year - 1992
Publication title -
osti oai (u.s. department of energy office of scientific and technical information)
Language(s) - English
Resource type - Reports
DOI - 10.2172/10114303
Subject(s) - subroutine , automatic differentiation , compiler , computation , computer science , fortran , separable space , partial derivative , source code , function (biology) , mode (computer interface) , algorithm , python (programming language) , computational science , parallel computing , programming language , mathematics , operating system , mathematical analysis , evolutionary biology , biology
The numerical methods employed in the solution of many scientific computing problems require the computation of the gradient of a function f: R{sup n} {yields} R. ADIFOR is a source translator that, given a collection of subroutines to compute f, generates Fortran 77 code for computing the derivative of this function. Using the so-called torsion problem from the MINPACK-2 test collection as an example, this paper explores two issues in automatic differentiation: the efficient computation of derivatives for partial separable functions and the use of the compile-time reverse mode for the generation of derivatives. We show that orders of magnitudes of improvement are possible when exploiting partial separability and maximizing use of the reverse mode.
Accelerating Research
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom
Address
John Eccles HouseRobert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom