next up previous
Next: Schemes to Piggyback Delay Up: Implementation Previous: Implementation

MPI Profiling Support

MPI supports creation of portable profiling and tracing tools using its profiling interface, PMPI. This interface allows a tool to interpose a library between the application and the MPI substrate and intercept one or more MPI calls. MPI provides a name-shifted interface to all its calls. For example, an MPI call such as MPI_Send() is also available as PMPI_Send(). Both are guaranteed by the MPI standard to provide the same functionality. Furthermore, if a tool defines an MPI_Send() call, it takes precedence over the MPI library's MPI_Send() call (this is done by using weak bindings for defining the library's calls). The tool can then define one or more MPI bindings and create measurement timers and start and stop them around the name-shifted version of the corresponding MPI call. Every MPI implementation must implement this profiling interface to conform to the MPI standard. This mechanism allows vendors of parallel systems to optimize the implementation of MPI to their target platforms and at the same time expose the hooks for tracking MPI performance to tool builders without providing them access to their proprietary source code.


next up previous
Next: Schemes to Piggyback Delay Up: Implementation Previous: Implementation
Scott Biersdorff 2007-02-02