0. Prerequisites

It will need the mex compiler from matlab.  It should be in
your <MATLAB>/bin directory.  Where <MATLAB> is wherever you
have installed MATLAB.  It will also need the MPI c++ compiler from your
MPI implementation (this is going to be mpicxx, or mpic++, or mpiCC).  
That should bein the <MPI>/bin directory
where <MPI> is whereever you have installed your MPI implementation.
In other words, both these directories need to be in your path.

1. The MATLAB bits

You will find the MATLAB bits in the PSPM_MATLAB_FILES
directory.  Just copy them over to wherever you want
them and add the directory to your Matlab path.

2. The binary

Standard sort of GNU distribution (well kinda).

at the command line, type

configure 
make
make install

a. the only real option for configure that you might set is
the --prefix or --exec-prefix option to install the binary
into different places if you're running on a heterogenous
system.  You will need to tell the MATLAB PSPM interface
(found in PSPM_MATLAB_FILES) where the binary is for a 
particular host/architecture.  Refer to the PSPM_defaults.m
file for more info

b. during configuration, it'll try to guess the version
of matlab.  It does this by starting up matlab.  
It needs the version of matlab because some stuff in 
matlab v 6.1 doesn't work in v 6.5 (and later).  It's not gonna work
in versions before 6.1 period (at least not for now).
The easiest way is probably just to have matlab in your path.
If, however, this causes problems (and on some systems
this check seems to cause configure to hang) then specify
your matlab version on the command line with:
--with-matlab=6.5
or
--with-matlab=6.1
The configure script tries to be smart and if it doesn't
find matlab in your path then it will check to see if
you specified it on the command line, if you haven't
then it defaults to version 6.5.  If you have a version
later than 6.5, just tell it 6.5

3. Configuring it

Well the only thing you really have to configure (and you
_do_ have to) is the MATLAB interface.  Specifically,
the PSPM_defaults.m file.  Tell it what MPI implementation
you're using.  Currently, the package supports
MPICH (1 or 2) and LAM/MPI (cuz they are free).  If you have
a different version, then it should work as well.  The main
reason you're specifying the version is because the command to
start a MPI program can be different depending on the version.
Therefore, if your version uses mpiexec or mpirun, then it should
be just fine.  Then tell it what architectures you're running on, 
how many processes to launch per architecture, and where the binary 
for each architecture is.  More is explained within the file
itself.

Sincere apologies if you have any trouble.  I've tried to
make it as user friendly as possible.  Send me an email
if you have trouble.
