MPI

Introduction to the Message-Passing Interface

Description

MPI stands for Message Passing Interface. , simply

MPI is a specification (like C or Fortran) and there are a number of implementations. The rest of this man page describes the use of the MPICH implementation of MPI.

Getting started

Add MPI to your path

        % set path = ( $path /usr/local/mpi/bin )
Compute pi to a given resolution on 8 processors or threads
        % mpiexec -n 8 /usr/local/mpi/examples/cpi

You can compile and link your own MPI programs with the commands mpicc, mpif77, and mpicxx:

        % mpicc -o cpi cpi.c
        % mpif77 -o fpi fpi.f
        % mpicxx -o cxxpi cxxpi.cxx

Documentation

Postscript documentation can be found in directory /usr/local/mpi/doc/. These include an introductory guide (guide.ps) and a user manual (manual.ps).

Man pages exist for every MPI subroutine and function. The man pages are also available on the Web at http://www.mcs.anl.gov/mpi/www. Additional on-line information is available at http://www.mcs.anl.gov/mpi, including a hypertext version of the standard, information on other libraries that use MPI, and pointers to other MPI resources.

Version

MPICH2 version 0.92

License

Copyright 20028 University of Chicago See COPYRIGHT for details. The source code is freely available by anonymous ftp from ftp.mcs.anl.gov in pub/mpi/mpich2-beta.tar.gz .

Files

/usr/local/mpi/                 MPI software directory
/usr/local/mpi/COPYRIGHT        Copyright notice
/usr/local/mpi/README           various notes and instructions
/usr/local/mpi/bin/             binaries, including mpiexec and mpicc
/usr/local/mpi/examples         elementary MPI programs
/usr/local/mpi/doc/             documentation
/usr/local/mpi/include/         include files
/usr/local/mpi/lib/             library files

Contact

For comments regarding the local installation of MPI, please send mail to support@mcs.anl.gov. MPI-specific suggestions and bug reports should be sent directly to mpi-bugs@mcs.anl.gov.

Location:manpage.txt