12.07.2015 Views

DOLFIN User Manual - FEniCS Project

DOLFIN User Manual - FEniCS Project

DOLFIN User Manual - FEniCS Project

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>DOLFIN</strong> <strong>User</strong> <strong>Manual</strong>Hoffman, Jansson, Logg, Wellslibraries, you need to install FIAT and FFC if you want to define your ownvariational forms.Installing Libxml2Libxml2 is a library used by <strong>DOLFIN</strong> to parse XML data files. Libxml2 canbe obtained fromhttp://xmlsoft.org/Packages are available for most Linux distributions. For Debian users, thepackage to install is libxml2-dev.Installing PETScPETSc is a library for the solution of linear and nonlinear systems, functioningas the backend for the <strong>DOLFIN</strong> linear algebra classes. <strong>DOLFIN</strong> dependson PETSc version 2.3.1 (or 2.3.0), which can be obtained fromhttp://www-unix.mcs.anl.gov/petsc/petsc-2/Follow the installation instructions on the PETSc web page. Normally, youshould only have to perform the following simple steps in the PETSc sourcedirectory:# export PETSC_DIR=‘pwd‘# ./config/configure.py --with-clanguage=cxx --with-shared=1# make allAdd --download-hypre=yes to configure.py if you want to install Hyprewhich provides a collection of preconditioners, including algebraic multigrid(AMG).98

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!