Quick start

You probably want to read the FEniCS download and installation web page if you just want to get FEniCS installed as quickly and effortlessly as possible.

Building from source


DOLFIN requires a compiler that supports the C++11 standard.

The required and optional DOLFIN dependencies are listed below.


Required for Python interface


  • HDF5 (with MPI support enabled if building DOLFIN with MPI support)
  • MPI
  • ParMETIS [1]
  • PETSc (strongly recommended) [2]
  • SCOTCH and PT-SCOTCH [1]
  • SLEPc
  • Suitesparse [1]
  • Trilinos

Optional for the Python interface

  • Matplotlib (required for plotting)
  • mpi4py
  • petsc4py
  • slepc4py
[1](1, 2, 3) It is strongly recommended to use the PETSc build system to download and configure and build these libraries.
[2]Its is recommended to configuration with ParMETIS, PT-SCOTCH, MUMPS and Hypre using the --download-parmetis --download-ptscotch --download-suitesparse --download-mumps --download-hypre