Installation¶
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¶
Dependencies¶
DOLFIN requires a compiler that supports the C++11 standard.
The required and optional DOLFIN dependencies are listed below.
Required¶
- Boost (http://www.boost.org), with the following compiled Boost
components
- filesystem
- iostreams
- program_options
- timer
- CMake (https://cmake.org)
- Eigen3 (http://eigen.tuxfamily.org)
- FFC (https://bitbucket.org/fenics-project/ffc)
- pkg-config (https://www.freedesktop.org/wiki/Software/pkg-config/)
- zlib
Required for Python interface¶
- Python (including header files)
- SWIG (http://www.swig.org)
- NumPy (http://www.numpy.org)
- ply (https://github.com/dabeaz/ply)
Optional¶
Optional for the Python interface¶
- petsc4py
- slepc4py
- mpi4py
- Matplotlib
[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 |