Copyright Notice:

The documents distributed by this server have been provided by the contributing authors as a means to ensure timely dissemination of scholarly and technical work on a noncommercial basis. Copyright and all rights therein are maintained by the authors or by other copyright holders, notwithstanding that they have offered their works here electronically. It is understood that all persons copying this information will adhere to the terms and constraints invoked by each author's copyright. These works may not be reposted without the explicit permission of the copyright holder.

Publications of SPCL

J. Willcock, T. Hoefler, N. Edmonds, A. Lumsdaine:

 AM++: A Generalized Active Message Framework

(Vol , Nr. , In Proceedings of the 19th international conference on Parallel architectures and compilation techniques, presented in Vienna, Austria, pages 401--410, ACM, ISSN: , ISBN: 978-1-4503-0178-7, Sep. 2010, )

Publisher Reference


Active messages have proven to be an effective approach for certain communication problems in high performance computing. Many MPI implementations, as well as runtimes for Partitioned Global Address Space languages, use active messages in their low-level transport layers. However, most active message frameworks have low-level programming interfaces that require significant programming effort to use directly in applications and that also prevent optimization opportunities. In this paper we present AM++, a new user-level library for active messages based on generic programming techniques. Our library allows message handlers to be run in an explicit loop that can be optimized and vectorized by the compiler and that can also be executed in parallel on multicore architectures. Runtime optimizations, such as message combining and filtering, are also provided by the library, removing the need to implement that functionality at the application level. Evaluation of AM++ with distributed-memory graph algorithms shows the usability benefits provided by these library features, as well as their performance advantages.

ACM Stats


download article:
download slides:


  author={Jeremiah Willcock and Torsten Hoefler and Nicholas Edmonds and Andrew Lumsdaine},
  title={{AM++: A Generalized Active Message Framework}},
  booktitle={Proceedings of the 19th international conference on Parallel architectures and compilation techniques},
  location={Vienna, Austria},