Next | Prev | Top | Contents | Index

Appendix B: Converting PVM Applications to MPI


PVM and MPI are two popular message-passing libraries that are in use across a variety of platform. MPI assimilates the most attractive features of a number of existing message-passing systems, including PVMs (see "Choosing Between MPI and PVM").

Silicon Graphics has adopted MPI as the message-passing model for the POWER CHALLENGEarray and other Array products, and provides a low-latency, high-bandwidth implementation of MPI for these systems. Programmers are encouraged to write new message-passing applications using MPI, and to port existing applications to MPI when that is feasible.

Many existing message-passing applications use the PVM library, owing to its widespread use for the last five years. In order to support this application base, Silicon Graphics, Inc. also supports PVM for Array systems. However, the design of the MPI interface is such that the performance of the MPI implementation on these systems will always be better than the performance of PVM. To obtain best performance, porting parallel programs from PVM to MPI is recommended.

This appendix covers the following main topics:


Differences Between PVM and MPI
Comparing Library Routines
Converting a PVM Program to an MPI Program
Example Programs

Next | Prev | Top | Contents | Index