The code in this directory demonstrate the basic InterComm functionality
needed to couple two parallel programs.  The different examples are 
written in both C and Fortran, each using either PVM or MPI to achieve
parallelism.

The Makefile in this directory was automatically generated during package 
configuraion and should point to the installed locations of the needed 
header files and libraries.  It can be used as a template for other 
projects.  By default, this Makefile will build the PVM examples which
can then be used to communicate with each other.  This can be done with
the following steps:

	gmake
	gmake install
	pvm
	pvm>spawn -4 cpvmexample
	pvm>spawn -8 fpvmexample
	pvm>halt	

The two programs will then run to completion without any output, unless
there is an error.

If the package was configured with MPI as well, the MPI examples may
be build and run with:

	gmake mpi
	mpirun -np 8 cmpiexample &
	mpirun -np 4 fmpiexample &

Again, there will be no ouput if there is no error.

Alternatively, you can also couple the cpvmexample with the cmpiexample, or
the fpvmexample with the fmpiexample.

The source files for these programs are:

	cpvmexample.c:

	This code uses a translation table type data distribution
	and is meant to communicate with either the fpvmexample or
	the cmpiexample.

	fpvmexample.f:
	
	This code uses a block decomposition data distribution and
	is meant to communicate with either the fmpiexample or the 
	cpvmexample.

	cmpiexample.c:

	This code uses a block decomposition data distribution and
	is meant to communicate with either the cpvmexample or the
	fmpiexample.

	fmpiexample.f:

	This code uses a translation table type data distribution
	and is meant to communicate with either the cmpiexample or
	the fpvmexample.
