Requirements:

- oofem installed. It can be obtained from www.oofem.org.
- Examples require oofem python module compiled. The python oofem module
  can be found in python directory of oofem installation. 
  Follow README file in this directory on how to compile
  python module using bjam.
- MayaVi installation (http://code.enthought.com/projects/mayavi/)

To run examples:

- To run examples you should set PYTHONPATH to contain paths to directory 
  containing mupif source directory and to oofem python directory:

  export PYTHONPATH=$PYTHONPATH:/home/user:/home/user/oofem/trunk/python

- Set LD_LIBRARY_PATH to point to boost generated libraries of oofem 
  python module. This path can be best obtained from "bjam -d+2" 
  when compiling oofem python module.

  export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/bp/oofem/trunk/python/bin/gcc-4.2.3/debug/:/home/bp/apps/boost_1_35_0/libs/:/home/bp/apps/boost_1_35_0/bin.v2/libs/python/build/gcc-4.2.3/debug/

- Run the tests using MayaVi or python as:
  "mayavi2 test01.py" or
  "python test01.py"

