MPI(1) MPI MPI(1) NAME MPI - Introduction to the Message-Passing Interface DESCRIPTION MPI stands for Message Passing Interface. MPI is a specification (like C or Fortran) and there are a number of implementations. The rest of this man(1,5,7) page describes the use of the MPICH implementation of MPI. GETTING STARTED Add MPI to your path % set(7,n,1 builtins) path = ( $path /usr/local/mpi/bin ) for the csh and tcsh shells, or % export path=$path:/usr/local/mpi/bin for sh , ksh , and bash shells. Compute pi to a given resolution on 8 processes % mpiexec -n 8 /usr/local/mpi/examples/cpi You can compile and link(1,2) your own MPI programs with the commands mpicc , mpif77 , mpicxx , and mpif90 : % mpicc -o cpi cpi.c % mpif77 -o fpi fpi.f % mpicxx -o cxxpi cxxpi.cxx % mpif790 -o pi3f90 pi3f90.f90 using the source code from /usr/local/mpi/examples . DOCUMENTATION PDF documentation can be found in(1,8) directory /usr/local/mpi/doc/ . These include an installation manual ( install.pdf ) and a user's man- ual ( usermanual.pdf ). Man pages exist for every MPI subroutine and function. The man(1,5,7) 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(1,3,5) of the stan- dard, information on other libraries that use MPI, and pointers to other MPI resources. VERSION MPICH2 version(1,3,5) 1.0 LICENSE Copyright 2002 University of Chicago. See the file(1,n) COPYRIGHT for details. The source code is freely available by anonymous ftp from ftp.mcs.anl.gov in(1,8) 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 MPI-specific suggestions and bug reports should be sent to mpich2-maint@mcs.anl.gov . LOCATION manpage.txt 3/2/2005 MPI(1)