mirror of
https://github.com/mindthemath/fenics.git
synced 2025-05-11 11:24:37 -06:00
fenics built from source using multi-arch docker images for modern python versions
2019.2.0.dev0.txt | ||
algorithm.patch | ||
boost.patch | ||
builds.txt | ||
create_publishing_plan.sh | ||
Dockerfile | ||
Dockerfile-2019.1.0 | ||
Makefile | ||
patches.patch | ||
petsc-slepc.patch | ||
README.md |
fenics installation
Compiles and installs the python bindings for dolfin
and mshr
.
Primarily for use as a base image (reflecting the desired python version).
Batteries: petsc
, slepc
, boost
, blas
, lapack
, fortran
, eigen3
Also includes: numpy
and scipy
make
docker run --rm -ti fenics bash
There is also the option to build the latest release
make 2019.1.0.post0
patches
Some patches needed to be applied to successfully compile.
On bullseye
, petsc
causes problems which are fixed by using 2019.1.0.post0
.
There is an unused patch for petsc
and slepsc
which is included "just in case" it becomes useful at a future date.
TODO
- github actions to publish images automatically (cross-platform)
- build (with env vars?) for different base-python images (or separate dockerfiles)
- slim down images (can we remove the source directories after installation if we combine the python and C++ steps?) (can we use the
slim
version of the images?) - combine Dockerfiles (make env variables for dolfin version + python version), use makefile to control different options
- cover all python versions shown by following output (list built from docker hub):
echo 3.6.{9..13}-buster 3.{7..8}.{4..10}-buster {3.6.{14..15},3.{7..8}.{11..12},3.9.{6..9},3.10.{0..1}}-{bullseye,buster} | sort
contributions
Are welcome; see TODO.