Message Passing Toolkit (MPT) is a software package that supports interprocess data exchange for applications that use concurrent, cooperating processes on a single host or on multiple hosts. Data exchange is done through message passing, which is the use of library calls to request data delivery from one process to another or between groups of processes.
The MPT package contains the following components and the appropriate accompanying documentation:
Message Passing Interface (MPI). MPI is a standard specification for a message passing interface, allowing portable message passing programs in Fortran and C languages.
The SHMEM programming model. The SHMEM programming model is a distributed, shared-memory model that consists of a set of SGI-proprietary message-passing library routines. These routines help distributed applications efficiently transfer data between cooperating processes. The model is based on multiple processes having separate address spaces, with the ability for one process to access data in another process' address space without interrupting the other process. The SHMEM programming model is not a standard like MPI, so SHMEM applications developed on other vendors' hardware might or might not work with the SGI SHMEM implementation.
This chapter provides an overview of the MPI software that is included in the toolkit. This overview includes a description of the MPI-2 Standard features that are provided, a description of the basic components of MPI, and a description of the basic features of MPI. Subsequent chapters address the following topics:
MPI was created by the Message Passing Interface Forum (MPIF). MPIF is not sanctioned or supported by any official standards organization. Its goal was to develop a widely used standard for writing message passing programs.
SGI supports implementations of MPI that are released as part of the Message Passing Toolkit. The MPI Standard is documented online at the following address:
http://www.mcs.anl.gov/mpi |
The SGI MPI implementation is compliant with the 1.0, 1.1, and 1.2 versions of the MPI Standard specification. In addition, the following MPI-2 features (with section numbers from the MPI-2 Standard specification) are provided:
| Feature | Section |
| MPI-2 parallel I/O | 9 |
| A subset of MPI-2 one-sided communication routines (put/ get model) | 6 |
| MPI spawn functionality | 5.3 |
| MPI_Alloc_mem/MPI_Free_mem | 4.11 |
| Transfer of handles | 4.12.4 |
| MPI-2 replacements for deprecated MPI-1 functions | 4.14.1 |
| Extended language bindings for C++ and partial Fortran 90 support | 10.1, 10.2.4 |
| Generalized requests | 4.5.2 |
| New attribute caching functions | 8.8 |
|
The MPI library is provided as a dynamic shared object (DSO) (a file with a name that ends in .so). The basic components that are necessary for using MPI are the libmpi.so library, the include files, and the mpirun command.
Profiling support is included in the libmpi.so library. Profiling support replaces all MPI_Xxx prototypes and function names with PMPI_Xxx entry points.
The SGI MPI implementation offers a number of significant features that make it the preferred implementation to use on SGI hardware:
Data transfer optimizations for NUMAlink, including single-copy data transfer
Use of hardware fetch operations (fetchops), where available, for fast synchronization and lower latency for short messages
Optimized MPI-2 one-sided commands
Interoperability with the SHMEM (LIBSMA) programming model
High performance communication support for partitioned systems via XPMEM