MPI:Documentation

What is LAM/MPI?
LAM/MPI is a high-performance, freely available, open source implementation of the MPI standard that is researched, developed, and maintained at the Open Systems Lab at Indiana University. LAM/MPI supports all of the MPI-1 Standard and much of the MPI-2 standard. More information about LAM/MPI, including all the source code and documentation, is available from the main LAM/MPI web site.

http://www.lam-mpi.org/using/docs/

Starting LAM
Executing the lamboot command with the -v (verbose) flag and the name of the LAM hostfile. The hostfile contains a list of the hostnames for each node that LAM will be started on. The current LAM hostfile is at.

Note that LAM must be started as the admin user, and not as root.

Determining the status of LAM
The lamnodes command is a useful tool for determining which nodes are in the current LAM universe.

Stopping LAM
Execute the lamhalt command. This command does not require any arguments.

Useful Links

 * http://www.cs.stolaf.edu/projects/bw/pub/trap.c An example program with MPI used locally for introducing MPI programming


 * http://www.dartmouth.edu/~rc/classes/intro_mpi/index.html Overview of Dartmouth MPI class with some helpful examples


 * http://www.mpi-forum.org/docs/docs.html Official MPI documentation


 * http://www-unix.mcs.anl.gov/mpi/ Argonne National Laboratory MPI site


 * http://www.lam-mpi.org/tutorials/one-step/datatypes.php Useful tutorial on passing arrays and structs with MPI


 * http://www.lam-mpi.org/tutorials/one-step/collectives.php Collective communication commands(i.e. MPI_Bcast)


 * Parallel Programming with MPI by Peter S. Pacheco, ISBN 155-8603395