skip to main content
10.1145/377792.377842acmconferencesArticle/Chapter ViewAbstractPublication PagesicsConference Proceedingsconference-collections
Article

Bringing together automatic differentiation and OpenMP

Authors Info & Claims
Published:17 June 2001Publication History

ABSTRACT

Derivatives of almost arbitrary functions can be evaluated efficiently by automatic differentiation whenever the functions are given in the form of computer programs in a high-level programming language such as Fortran, C, or C++. Furthermore, in contrast to numerical differentiation where derivatives are approximated, automatic differentiation generates derivatives that are accurate up to machine precision. The so-called forward mode of automatic differentiation computes derivatives by carrying forward a gradient associated with each intermediate variable simultaneously with the evaluation of the function itself. It is shown how software tools implementing the technology of automatic differentiation can benefit from simple concepts of shared memory programming to parallelize the gradient operations. The feasibility of our approach is demonstrated by numerical experiments. They were performed with a code that was generated automatically by the Adifor system and augmented with OpenMP directives.

References

  1. 1.J. Benary. Parallelism in the reverse mode. In M. Berz, C. Bischof, G. Corliss, and A. Griewank, editors, Computational Differentiation: Techniques, Applications, and Tools, pages 137-148, Philadelphia, 1996. SIAM.Google ScholarGoogle Scholar
  2. 2.M. Berz, C. Bischof, G. Corliss, and A. Griewank. Computational Differentiation: Techniques, Applications, and Tools. SIAM, Philadelphia, 1996.Google ScholarGoogle Scholar
  3. 3.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. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. 4.C. Bischof, A. Griewank, and D. Juedes. Exploiting parallelism in automatic differentiation. In E. Houstis and Y. Muraoka, editors, Proceedings of the 1991 International Conference onSupercomputing, pages 146-153, Baltimore, Md., 1991. ACM Press. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. 5.C. H. Bischof. Issues in parallel automatic differentiation. In A. Griewank and G. Corliss, editors, Automatic Differentiation of Algorithms, pages 100-113, Philadelphia, PA, 1991. SIAM.Google ScholarGoogle Scholar
  6. 6.C. H. Bischof, H. M. B. ucker, B. Lang, A. Rasch, and J. W. Risch. On the Use of a Differentiated Finite Element Package for Sensitivity Analysis. In V. Alexandrov, J. Dongarra, and C. Tan, editors, Proc. Intl. Conf. Computational Science, San Francisco, May 28-30, 2001, 2001. To appear. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. 7.A. Carle and M. Fagan, 2000. Private communication.Google ScholarGoogle Scholar
  8. 8.R. Chandra, R. Menon, L. Dagum, D. Kohr, D. Maydan, and J. McDonald. Parallel Programming in OpenMP. Morgan Kaufman Publishers, San Mateo, CA, 2000. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. 9.G. Corliss, A. Griewank, C. Faure, L. Hasco.et, and U. Naumann, editors. Automatic Differentiation 2000: From Simulation to Optimization. Springer, 2001. To appear. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. 10.H. Fischer. Automatic differentiation: Parallel computation of function, gradient and Hessian matrix. Parallel Computing, 13:101-110, 1990.Google ScholarGoogle ScholarCross RefCross Ref
  11. 11.A. Griewank. Evaluating Derivatives: Principles and Techniques of Algorithmic Differentiation. SIAM, Philadelphia, 2000. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. 12.A. Griewank and G. Corliss. Automatic Differentiation of Algorithms. SIAM, Philadelphia, 1991.Google ScholarGoogle Scholar
  13. 13.J. Obdrzalek and M. Bull. JOMP Application Program Interface, Version 0.1. EPCC, University of Edinburgh, August 2000. Draft.Google ScholarGoogle Scholar
  14. 14.OpenMP Architecture Review Board. OpenMP C and C++ Application Program Interface, Version 1.0, October 1998.Google ScholarGoogle Scholar
  15. 15.OpenMP Architecture Review Board. OpenMP Fortran Application Program Interface, Version 2.0, November 2000.Google ScholarGoogle Scholar

Index Terms

  1. Bringing together automatic differentiation and OpenMP

          Recommendations

          Comments

          Login options

          Check if you have access through your login credentials or your institution to get full access on this article.

          Sign in
          • Published in

            cover image ACM Conferences
            ICS '01: Proceedings of the 15th international conference on Supercomputing
            June 2001
            510 pages
            ISBN:158113410X
            DOI:10.1145/377792

            Copyright © 2001 ACM

            Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

            Publisher

            Association for Computing Machinery

            New York, NY, United States

            Publication History

            • Published: 17 June 2001

            Permissions

            Request permissions about this article.

            Request Permissions

            Check for updates

            Qualifiers

            • Article

            Acceptance Rates

            ICS '01 Paper Acceptance Rate45of133submissions,34%Overall Acceptance Rate584of2,055submissions,28%

          PDF Format

          View or Download as a PDF file.

          PDF

          eReader

          View online with eReader.

          eReader