Skip to main content

Native Handling of Message-Passing Communication in Data-Flow Analysis

  • Conference paper
  • First Online:
Recent Advances in Algorithmic Differentiation

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

Abstract

Automatic Differentiation by program transformation uses static data-flow analysis to produce efficient code. This data-flow analysis must be adapted for parallel programs with Message-Passing communication. Starting from a context-sensitive and flow-sensitive data-flow analysis scheme initially devised for sequential codes, we extend this scheme for parallel codes. This extension is independent of the particular analysis and does not require a modification of the code’s internal representation, i.e. the flow graph. This extension relies on an accurate matching of communication points, which can’t be found automatically in general, and thus new user directives prove useful.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 109.99
Price excludes VAT (USA)
  • Durable hardcover 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

Institutional subscriptions

References

  1. Bronevetsky, G.: Communication-sensitive static dataflow for parallel message passing applications pp. 1–12 (2009). DOI  URL http://dx.doi.org/10.1109/CGO.2009.32

  2. C.Faure, P.Dutto: Extension of odyssée to the mpi library -reverse mode. Rapport de recherche 3774, INRIA, Sophia Antipolis (1999)

    Google Scholar 

  3. Gopalakrishnan, G., Kirby, R.M., Siegel, S., Thakur, R., Gropp, W., Lusk, E., de Supinski, B., Schulz, M., Bronevetsky, G.: Formal analysis of mpi based parallel programs: Present and future. Communications of the ACM (2011)

    Google Scholar 

  4. Gropp, W., Lusk, E., Skjellum, A.: Using MPI: Portable Parallel Programming with the Message Passing Interface, 2nd edition. MIT Press, Cambridge, MA (1999)

    Google Scholar 

  5. Hascoët, L., Naumann, U., Pascual, V.: “To be recorded” analysis in reverse-mode automatic differentiation. Future Generation Computer Systems 21(8), 1401–1417 (2005). DOI 10.1016/j.future.2004.11.009

    Google Scholar 

  6. Kreaseck, B., Strout, M.M., Hovland, P.: Depth analysis of mpi programs. ANL/MCS-P1754-0510 (2010)

    Google Scholar 

  7. Muchnick, S.S.: Advanced Compiler Design and Implementation. Morgan Kaufmann (1997)

    Google Scholar 

  8. Pacheco, P.S.: Parallel programming with MPI. Morgan Kaufmann Publishers Inc. (1996)

    Google Scholar 

  9. Shires, D., Pollock, L., Sprenkle, S.: Program flow graph construction for static analysis of mpi programs. In: Parallel and Distributed Processing Techniques and Applications, pp. 1847–1853 (1999)

    Google Scholar 

  10. Strout, M.M., Kreaseck, B., Hovland, P.D.: Data-flow analysis for mpi programs. In: Proceedings of the International Conference on Parallel Processing (ICPP) (2006)

    Google Scholar 

  11. Utke, J., Hascoët, L., Heimbach, P., Hill, C., Hovland, P., Naumann, U.: Toward adjoinable MPI. In: Proceedings of the 10th IEEE International Workshop on Parallel and Distributed Scientific and Engineering, PDSEC-09 (2009). http://doi.ieeecomputersociety.org/10.1109/IPDPS.2009.5161165

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Valérie Pascual .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2012 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Pascual, V., Hascoët, L. (2012). Native Handling of Message-Passing Communication in Data-Flow Analysis. In: Forth, S., Hovland, P., Phipps, E., Utke, J., Walther, A. (eds) Recent Advances in Algorithmic Differentiation. Lecture Notes in Computational Science and Engineering, vol 87. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-30023-3_8

Download citation

Publish with us

Policies and ethics