Abstract
The increased use of object-oriented toolkits in large-scale scientific simulation presents challenges and new opportunities for the use of automatic (or algorithmic) differentiation (AD) techniques, especially in the context of optimization. Because object-oriented toolkits use well-defined interfaces and data structures, there is potential for simplifying the AD process. Furthermore, derivative computation can be improved by exploiting high-level information about numerical and computational abstractions. However, challenges to the successful use of AD with these toolkits also exist. Among the greatest challenges is balancing the desire to limit the scope of the AD process with the desire to minimize the work required of a user. We discuss our experiences in integrating AD with the PETSc, PVODE, and TAO toolkits and our plans for future research and development in this area.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
References
J. Abate, S. Benson, L. Grignon, P. Hovland, L. McInnes, and B. Norris. Integrating automatic differentiation with object-oriented toolkits for highperformance scientific computing. In G. Corliss, C. Faure, A. Griewank, L. Hascoet, and U. Naumann, editors, Automatic Differentiation of Algorithms: Prom Simulation to Optimization, pages 173–178. Springer, New York, 2002.
S. Balay, W. D. Gropp, L. C. McInnes, and B. F. Smith. Efficient management of parallelism in object oriented numerical software libraries. In E. Arge, A. M. Bruaset, and H. P. Langtangen, editors, Modern Software Tools in Scientific Computing, pages 163–202. Birkhauser Press, 1997.
S. Balay, W. D. Gropp, L. C. McInnes, and B. F. Smith. PETSc 2.0 users manual. Technical Report ANL-95/11 — Revision 2.0.28, Argonne National Laboratory, March 2000. See http://www.mcs.anl.gov/petsc.
S. Benson, L. C. McInnes, and J. Moré. TAO users manual. Technical Report ANL/MCS-TM-242, Mathematics and Computer Science Division, Argonne National Laboratory, 2000. See http://www.mcs.anl.gov/tao.
S. Benson, L. C. McInnes, and J. More. A case study in the performance and scalability of optimization algorithms. ACM Transactions on Mathematical Software, 27:361–376, 2001.
C. Bischof, A. Carle, P. Khademi, and A. Mauer. ADIFOR 2.0: Automatic differentiation of Fortran 77 programs. IEEE Computational Science & Engineering, 3(3):18–32, 1996.
C. Bischof and A. Griewank. Tools for the automatic differentiation of computer programs. In ICIAM/GAMM 95: Issue 1: Numerical Analysis, Scientific Computing, Computer Science, pages 267–272, 1996. Special Issue of Zeitschrift für Angewandte Mathematik und Mechanik (ZAMM).
C. Bischof, L. Roh, and A. Mauer. ADIC — An extensible automatic differentiation tool for ANSI-C. Software—Practice and Experience, 27(12):1427–1456, 1997.
C. H. Bischof, H. M. Bucker, and P. D. Hovland. On combining computational differentiation and toolkits for parallel scientific computing. In A. Bode, T. Ludwig, W. Karl, and R. Wismüller, editors, Euro-Par 2000 — Parallel Processing, Proceedings of the 6th International Euro-Par Conference, Munich, Germany, August/September 2000, volume 1900 of Lecture Notes in Computer Science, pages 86–94, Berlin, 2000. Springer.
G. D. Byrne and A. C. Hindmarsh. PVODE, an ODE solver for parallel computers. Int. J. High Perf. Comput. Appl., 13:354–365, 1999.
M. C. Ferris, M. P. Mesnier, and J. J. Morë. NEOS and Condor: Solving optimization problems over the Internet. ACM Trans. Math. Software, 26(1):118, Mar. 2000.
P. Fischer. Projection techniques for iterative solution of Ax = b with successive right-hand sides. Comput. Methods Appl. Mech. Engng., 163:193–204, 1998.
M. Gertz, 2000. Personal communication.
D. Goldfarb and P. L. Toint. Optimal estimation of Jacobian and Hessian matrices that arise in finite difference calculations. Mathematics of Computation, 43:69–88, 1984.
A. Griewank. On automatic differentiation. In Mathematical Progmmming: Recent Developments and Applications, pages 83–108, Amsterdam, 1989. Kluwer Academic Publishers.
A. Griewank. Evaluating Derivatives: Principles and Techniques of Algorithmic Differentiation. SIAM, Philadelphia, 2000.
A. Griewank and C. Faure. Piggyback differentiation and optimization. In L. T. Biegler, O. Ghattas, M. Heinkenschloss, and B. van Bloemen Waanders, editors, Large-ScalePDE-Constmined Optimization, volume 30 of Lecture Notes in Computational Science and Engineering. Springer-Verlag, Heidelberg, 2003.
W. D. Gropp, D. E. Keyes, L. C. McInnes, and M. D. Tidriri. Globalized Newton-Krylov-Schwarz algorithms and software for parallel implicit CFD. Int. J. High Performance Computing Applications, 14:102–136, 2000.
P. Hovland, B. Norris, L. Roh, and B. Smith. Developing a derivative-enhanced object-oriented toolkit for scientific computations. In Proceedings of the SIAM Workshop on Object Oriented Methods for Inter-operable Scientific and Engineering Computing, pages 129–137. SIAM, October 1998.
P. Hovland, B. Norris, and B. Smith. Making automatic differentiation truly automatic: Coupling PETSc with ADIC. In P. M. A. Sloot, C. J. K. Tan, J. J. Dongarra, and A. G. Hoekstra, editors, Computational Science — ICCS 2002, Proceedings of the International Conference on Computational Science, Amsterdam, The Netherlands, April 21–24, 2002. Part II, volume 2330 of Lecture Notes in Computer Science, pages 1087–1096, Berlin, 2002. Springer.
P. D. Hovland and L. C. McInnes. Parallel simulation of compressible flow using automatic differentiation and PETSc. Parallel Computing, 27:503–519, 2001.
S. L. Lee, A. C. Hindmarsh, and P. N. Brown. User documentation for SensPVODE, a variant of PVODE for sensitivity analysis. Technical Report UCRLMA-140211, Lawrence Livermore National Laboratory, 2000.
S. L. Lee and P. D. Hovland. Sensitivity analysis using parallel ODE solvers and automatic differentiation in C: SensPVODE and ADIC. In G. Corliss, C. Faure, A. Griewank, L. Hascoët, and U. Naumann, editors, Automatic Differentiation of Algorithms: Prom Simulation to Optimization, pages 223–229. Springer, New York,2002.
S. Li and L. Petzold. Design of new DASPK for sensitivity analysis. Technical Report TRCS99-28, University of California at Santa Barbara, 1999.
D. P. O’Leary. The block conjugated gradient algorithm and related methods. Linear Algebm Appl., 29:293–322, 1980.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2003 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Hovland, P., Lee, S., McInnes, L., Norris, B., Smith, B. (2003). Challenges and Opportunities in Using Automatic Differentiation with Object-Oriented Toolkits for Scientific Computing. In: Biegler, L.T., Heinkenschloss, M., Ghattas, O., van Bloemen Waanders, B. (eds) Large-Scale PDE-Constrained Optimization. Lecture Notes in Computational Science and Engineering, vol 30. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-55508-4_8
Download citation
DOI: https://doi.org/10.1007/978-3-642-55508-4_8
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-05045-2
Online ISBN: 978-3-642-55508-4
eBook Packages: Springer Book Archive