ADIFOR: Automatic differentiation in a source translator environment
- Argonne National Lab., IL (United States)
- Rice Univ., Houston, TX (United States). Center for Research on Parallel Computation
The numerical methods employed in the solution of many scientific computing problems require the computation of derivatives of a function f: R{sup n} {yields} R{sup m}. ADIFOR (Automatic Differentiation in FORtran) is a source transformation tool that accepts Fortran 77 code for the computation of a function and writes portable Fortran 77 code for the computation of the derivatives. In contrast to previous approaches, ADIFOR views automatic differentiation as a source transformation problem and employs the data analysis capabilities of the ParaScope Fortran programming environment. Experimental results show that ADIFOR can handle real- life codes and that ADIFOR-generated codes are competitive with divided-difference approximations of derivatives. In addition, studies suggest that the source-transformation approach to automatic differentation may improve the time required to compute derivatives by orders of magnitude.
- Research Organization:
- Argonne National Lab., IL (United States)
- Sponsoring Organization:
- USDOE; National Science Foundation (NSF); USDOE, Washington, DC (United States); National Science Foundation, Washington, DC (United States)
- DOE Contract Number:
- W-31109-ENG-38
- OSTI ID:
- 5066528
- Report Number(s):
- ANL/CP-75497; CONF-920760-5; ON: DE92016185
- Resource Relation:
- Conference: International symposium on symbolic and algebraic computation, Berkeley, CA (United States), 27-29 Jul 1992
- Country of Publication:
- United States
- Language:
- English
Similar Records
ADIFOR: Fortran source translation for efficient derivatives. ADIFOR Working Note No. 4
ADIFOR: Fortran source translation for efficient derivatives