Installation
============

Included software:
1. SINTEF LSMG (Least Squares Approximation of Scattered Data with B-Splines, Version 1.1)

Required software:
1. any C/C++ and MPI
2. GSL (GNU Scientific Library, version 1.11)
3. any CBLAS (Basic Linear Algebra Subprograms) implementations -
   C interface (for GSL and routines)
4. Boost (The Boost C++ libraries: Smart Pointers) -
   (for SINTEF LSMG)
5. Gnuplot (An Interactive Plotting Program) -
   optional (for performance diagrams)

GSL
If GSL is intalled in a non-default directory
$ export LD_LIBRARY_PATH=DIR/lib:$LD_LIBRARY_PATH

For users
---------

Download the latest package from http://hcl.ucd.ie/project/fupermod

$ tar -zxvf fupermod-X.X.X.tar.gz
$ cd fupermod-X.X.X
$ ./configure
$ make all install

Configuration
-------------

Packages:
  --with-gsl-dir=DIR      GNU Scientific Library directory
  --with-boost-dir=DIR    The Boost C++ libraries directory
  --with-cblas=NAME       CBLAS (Basic Linear Algebra Subprograms)
                          implementations: gsl, atlas, goto, netlib, acml
                          (default: gsl)
  --with-goto-dir=DIR     Goto BLAS directory
  --with-atlas-dir=DIR    Automatically Tuned Linear Algebra Software
                          directory
  --with-netlib-dir=DIR   Netlib CBLAS directory
  --with-acml-dir=DIR     AMD Core Math Library directory

Check configure options:
$ ./configure -h

For developers
--------------

Required software:
1. Subversion
2. GNU autotools
3. Doxygen, Graphviz and any TeX - optional (for reference manual)

$ svn co https://hcl.ucd.ie/repos/fupermod/trunk fupermod
$ cd fupermod
$ svn log -v > ChangeLog
$ autoreconf --install --force
$ ./configure --enable-debug
$ make all dist
