file: 00README

This is the root directory for the MIT Cardiovascular Simulator sources.
Each subdirectory contains code for a module of the main program.  The nl
and plot directories are written as widgets to the X Toolkit, Xt, but presently
are used only by the Cardiovascular Simulator.  

To compile and install cvsim, check the values for BINDIR, CVLIB, TMPDIR,
XLIBDIR, and CFLAGS (all defined in 'Makefile') and change them if necessary,
then type 'make'.  Using the default values for BINDIR and CVLIB, you will
need root permissions in order to do this successfully.  This process has been
tested under GNU/Linux, Mac OS X, and Solaris.

Under MS-Windows, install Cygwin (http://www.cygwin.com/), including the
optional gcc, make, and xorg-x11-devel packages.  Detailed instructions for
installing Cygwin can be found at http://physionet.org/physiotools/cygwin/.
Run 'make' in this directory to compile and install cvsim.

On Athena, use the preconfigured 'Makefile.athena' instead of 'Makefile' (type
'make -f Makefile.athena') to install cvsim in subdirectories of your home
directory; make sure in this case that ~/bin is in your PATH.  This process
has been tested on Athena 9.3.18.

To run cvsim once it has been installed, start the X server if it is not
already running, then type 'cvsim'.

The original version of this code was written by Bob Sah in 1983.  George
Moody rewrote the simulation routines and the GUI in the course of porting
cvsim to MIT's Project Athena in 1984.  Tim Davis rewrote significant
parts of cvsim in 1991, including the simulation routines and the GUI
(the previous GUI predated the X Window System).  George Moody ported it to
Linux in 1998;  except for the build process, this code has not been
significantly altered since then.  For further information, please contact
Prof. Roger Mark (rgmark@mit.edu).
