Processing MPI Datatypes Outside MPI

  • Robert Ross
  • Robert Latham
  • William Gropp
  • Ewing Lusk
  • Rajeev Thakur
Conference paper

DOI: 10.1007/978-3-642-03770-2_11

Part of the Lecture Notes in Computer Science book series (LNCS, volume 5759)
Cite this paper as:
Ross R., Latham R., Gropp W., Lusk E., Thakur R. (2009) Processing MPI Datatypes Outside MPI. In: Ropo M., Westerholm J., Dongarra J. (eds) Recent Advances in Parallel Virtual Machine and Message Passing Interface. EuroPVM/MPI 2009. Lecture Notes in Computer Science, vol 5759. Springer, Berlin, Heidelberg

Abstract

The MPI datatype functionality provides a powerful tool for describing structured memory and file regions in parallel applications, enabling noncontiguous data to be operated on by MPI communication and I/O routines. However, no facilities are provided by the MPI standard to allow users to efficiently manipulate MPI datatypes in their own codes.

We present MPITypes, an open source, portable library that enables the construction of efficient MPI datatype processing routines outside the MPI implementation. MPITypes enables programmers who are not MPI implementors to create efficient datatype processing routines. We show the use of MPITypes in three examples: copying data between user buffers and a “pack” buffer, encoding of data in a portable format, and transpacking. Our experimental evaluation shows that the implementation achieves rates comparable to existing MPI implementations.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Springer-Verlag Berlin Heidelberg 2009

Authors and Affiliations

  • Robert Ross
    • 1
  • Robert Latham
    • 1
  • William Gropp
    • 2
  • Ewing Lusk
    • 1
  • Rajeev Thakur
    • 1
  1. 1.Mathematics and Computer Science DivisionArgonne National LaboratoryArgonneUSA
  2. 2.Computer Science DepartmentUniversity of Illinois at Urbana-ChampaignUrbanaUSA

Personalised recommendations