Publication | Open Access
ADIFOR–Generating Derivative Codes from Fortran Programs
437
Citations
23
References
1992
Year
Numerical AnalysisEngineeringDerivative CodesComputational ToolsNumerical ComputationDerivative-free OptimizationModeling And SimulationParallel ComputingCompilersPortable Fortran 77Automatic DifferentiationComputer ScienceComputational ScienceFortran 77Program AnalysisAlgebraic MethodMathematical FoundationsParallel ProgrammingNumerical Methods
Numerical methods for scientific computing require accurate and efficient derivative computation, which is critical for robustness and speed. ADIFOR transforms Fortran 77 programs into derivative code by applying source‑level automatic differentiation and leveraging ParaScope’s data‑analysis to handle arbitrary code and exploit computational context. Experiments demonstrate that ADIFOR handles real‑life Fortran codes, produces derivative code competitive with divided‑difference methods, and can reduce derivative computation time by orders of magnitude.
The numerical methods employed in the solution of many scientific computing problems require the computation of derivatives of a function f R n →R m . Both the accuracy and the computational requirements of the derivative computation are usually of critical importance for the robustness and speed of the numerical solution. Automatic Differentiation of FORtran (ADIFOR) 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. ADIFOR employs the data analysis capabilities of the ParaScope Parallel Programming Environment, which enable us to handle arbitrary Fortran 77 codes and to exploit the computational context in the computation of derivatives. 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 differentiation may improve the time to compute derivatives by orders of magnitude.
| Year | Citations | |
|---|---|---|
Page 1
Page 1