1. (Optional) Build and run a simple test program:
% cd examples/basic
% make cpi
% ../../bin/mpirun -np 4 cpi
At this point you have run an MPI program on your system. If you have
trouble, see Section In Case of Trouble
.
2. (Optional) Put the distribution through its complete acceptance test
(See Section Thorough Testing
for how to do this).
3. (Optional) If you wish to install mpich in a public place so
that others may use it, use
% make installto install mpich into the directory specified by the --prefix option to configure. Installation will consist of an include, lib, bin, sbin, www, and man directories and a small examples directory. Should you wish to remove the installation, you can run the script sbin/mpiuninstall.
4. (Optional) At this point you can announce to your users how to compile
and run MPI programs, using the installation you have just built in
/usr/local/mpich-1.2.5/ (or wherever you have installed it). See
Section Programming Tools
for commands they can use. They can also copy
the Makefile in /usr/local/mpich-1.2.5/examples and adapt it for their
own use.