Skip to main content

Challenges and Opportunities in Using Automatic Differentiation with Object-Oriented Toolkits for Scientific Computing

  • Conference paper
  • 1098 Accesses

Part of the book series: Lecture Notes in Computational Science and Engineering ((LNCSE,volume 30))

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

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   139.00
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   179.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. 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.

    Google Scholar 

  2. 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.

    Google Scholar 

  3. 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.

  4. 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.

  5. 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.

    Article  MATH  Google Scholar 

  6. 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.

    Article  Google Scholar 

  7. 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).

    Google Scholar 

  8. 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.

    Article  Google Scholar 

  9. 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.

    Google Scholar 

  10. G. D. Byrne and A. C. Hindmarsh. PVODE, an ODE solver for parallel computers. Int. J. High Perf. Comput. Appl., 13:354–365, 1999.

    Article  Google Scholar 

  11. 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.

    Article  Google Scholar 

  12. P. Fischer. Projection techniques for iterative solution of Ax = b with successive right-hand sides. Comput. Methods Appl. Mech. Engng., 163:193–204, 1998.

    Article  MATH  Google Scholar 

  13. M. Gertz, 2000. Personal communication.

    Google Scholar 

  14. 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.

    Article  MathSciNet  MATH  Google Scholar 

  15. A. Griewank. On automatic differentiation. In Mathematical Progmmming: Recent Developments and Applications, pages 83–108, Amsterdam, 1989. Kluwer Academic Publishers.

    Google Scholar 

  16. A. Griewank. Evaluating Derivatives: Principles and Techniques of Algorithmic Differentiation. SIAM, Philadelphia, 2000.

    MATH  Google Scholar 

  17. 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.

    Google Scholar 

  18. 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.

    Article  Google Scholar 

  19. 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.

    Google Scholar 

  20. 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.

    Google Scholar 

  21. P. D. Hovland and L. C. McInnes. Parallel simulation of compressible flow using automatic differentiation and PETSc. Parallel Computing, 27:503–519, 2001.

    Article  MATH  Google Scholar 

  22. 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.

    Google Scholar 

  23. 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.

    Google Scholar 

  24. S. Li and L. Petzold. Design of new DASPK for sensitivity analysis. Technical Report TRCS99-28, University of California at Santa Barbara, 1999.

    Google Scholar 

  25. D. P. O’Leary. The block conjugated gradient algorithm and related methods. Linear Algebm Appl., 29:293–322, 1980.

    Article  MathSciNet  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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

Publish with us

Policies and ethics