#173 Package FEniCS components
Closed: Fixed 4 years ago by zbyszek. Opened 5 years ago by mhough.

URL: https://fenicsproject.org

FEniCS consists of Python components FIAT, dijitso, UFL, FFC, and C++/Python components DOLFIN and mshr.

Requires python, cmake, pybind11

Subcomponents have their own dependencies

dolfin requires boost, cmake, eigen3, python-ffc, python3 and zlib. python-dolfin additionally requires matplotlib, numpy and python-ply. The optional dolfin requirements, HDF5, MPI, ParMETIS, PETSc, SCOTCH, PT-SCOTCH, SLEPc, Suitesparse and Trilinos could be all rolled into the MPI version has all HPC-related. Optional for the python interface are mpi4py, petsc4py, slepc4py which again could be confined to the alternative MPI build.

mshr requires CGAL and tetgen and are currently built from source with mshr. CGAL in turn, needs GMP and MPFR if we switch to the system-provided version.

This issue can serve for overall systems integration. Is this the proper way to do this?

BTW, dolfin is also a requirement of the octave-forge package fem-fenics. Is it simple to repackage an octave-forge package as an octave-fem-fenics rpm?


mshr requires CGAL and tetgen and are currently built from source with mshr. CGAL in turn, needs GMP and MPFR if we switch to the system-provided version.

CGAL and tetgen are already in Fedora.

Interesting project but they need much time for packaging.

I'm working on python-fiat, python-pytest-cases, python-decopath, python-makefun, python-ffc.

https://bugzilla.redhat.com/show_bug.cgi?id=1759687
https://bugzilla.redhat.com/show_bug.cgi?id=1759715
https://bugzilla.redhat.com/show_bug.cgi?id=1759883

This gives a working fenics import under python3 and I can do the demo plots and save a figure... I didn't implement the mpi-enabled version yet. In principle it shouldn't be too hard, because all the dependencies are there.

Some other optional components are missing too: dolfin doesn't detect PETSc (maybe a version mismatch, cmake doesn't exactly make it easy diagnose anything). mshr is also missing. Please take a look an let me know which of the missing bits would be most worthwhile to add.

Metadata Update from @zbyszek:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

4 years ago

Login to comment on this ticket.

Metadata