Hybrid Poisson example
----------------------

VERSION:0.3.8

0. prerequisites
----------------

source MPI or Cluster Tools environment.

% source <path to mpi>/bin64/mpivars.sh
e.g.
% source /opt/intel/impi/4.0.3/bin64/mpivars.sh

or 

% source <path to ICS>/ictvars.sh
e.g.
% source /opt/intel/ics/2012.0.032/ictvars.sh

1. Compile and Link
-------------------

% make

Flags may be adapted. Currently "-openmp" is activated for adding OpenMP.


2. Run
------

% mpirun -f <hosts-file> -genv OMP_NUM_THREADS T -n N ./poisson.x

with T: number of Threads and N: number of MPI processes.

<host-file>: name of the file containing host names (one per line)

3. Flags
--------

"-print": prints out result file with default name "out"

(works currently only in sequential mode!)

out may be used as reference file (see next item)

"-compare": compares result with reference file "out_ref.txt"

(works currently only in sequential mode!)

"-n x" change size of grid. Default is x=1000

"-iter x" change number of max iterations. Default is x= 4000

"-prows x" change number of processor rows. Default is computed 

4. Changes
----------

Version : Description
---------------------

0.3.4 : exchange2 with SEND IRECV combination
