Requirements
------------

dolfin-grade2 uses a SCons-based build system. You will there need
SCons to build and install dolfin-grade2. SCons is available as a
package for most operating systems.  Alternatively, it can be found at
www.scons.org.

dolfin-grade2 depends on the current development version (0.8.1)
of DOLFIN, available at http://www.fenics.org/wiki/DOLFIN.

The library has used other codes to generate various header files.  To
regenerate these header files, the following software packages are
needed:
  UFC (version 1.1)
    available at http://www.fenics.org/wiki/UFC
  FIAT (version 0.3.4)
    available at http://www.fenics.org/wiki/FIAT
  FFC  (version 0.5.1)
    available at http://www.fenics.org/wiki/FFC



Simple build and install
--------------------------

In the dolfin-grade2 top directory, type

  scons

This will build the dolfin-grade2 library in source, there is
currently no system-wide install.

The demos can be built with the same command in the demo directory.

Customised builds
-----------------

Various options for building are printed to the screen by typing

  scons -h

