Please report installation problems to gibbs@brown.edu.

 If you can't get the installation procedure to work, conbtact 
gibbs@brown.edu and we might be able to supply you with a compiled version.

-- TO INSTALL --
Extract the files by typing:

tar -xvzf gibbs-3.1.tar.gz 

Or

gunzip < gibbs-3.1.tar.gz | tar -xvf -

Binaries for Linux and Cygwin are included. To install from source, you 
need make and a C compiler installed and available on the path.

Note: We have compiled this software several versions of gcc starting with 
2.95 under various operating systems and the Sun C compiler on Solaris and
Solaris.x86. The Microsoft C/C++ compiler that comes with Microsoft Visual 
Studio treats long double as a double. This can cause problems since Gibbs
uses long double in a couple of places. For MS Windows, we recommend not
using the Microsoft compiler for building Gibbs.

The default installation will try to install the Gibbs binary in the 
/usr/local/bin directory, so you will need write access to that directory. 
Change to the gibbs-3.1 directory and type:

./configure
make
make install

If you don't have write access to /usr/local/bin, install the binary file in 
a local directory. Type:

./configure --bindir=/my_path
make
make install

or simply don't run "make install" and copy the Gibbs binary to the 
appropriate directory. my_path should be the complete path name of the 
target directory. The install routines have problems with path names that 
contain spaces. For paths containing spaces, encose the full path name in 
quotes.

If you get a warning about the use of tempnam after the make step, ignore it.

If you plan to keep multiple versions of Gibbs in a binary directory, 
for example, Cygwin and Linux versions, use --program-suffix=name on the 
./configure command lines. For example,

./configure --program-suffix=.linux

will cause "make install" to install Gibbs.linux in your binary directory.

To create the MPI version of Gibbs, use 
add "--enable-mpi=yes --program-suffix=.MPI" (no quotes) to the 
./configure command line.

The MPI configuration assumes that your MPI compiler is named mpicc 
and is on the search path. If it is not, specify the appropriate compiler on
 the command line. For example, if your shell is csh, use

env CC=/opt/mich/gnu/bin/mpicc ./configure --enable-mpi=yes --program-suffix=.MPI

See the documentation for your shell to see how to specify variables on the
command line.

To create a debugging version, add 
"--enable-debug=yes --program-suffix=.debug" to the ./configure command line.

"make clean" will remove the binary and all object files from the current 
directory.

If all else fails, try
make -f make.default

