Skip to content

dajuno/fenics-archlinux-build

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FEniCS build scripts

Note

THIS INSTALLS LEGACY FEniCS 2019 FROM BITBUCKET

Build DOLFIN/FEniCS, mshr and PETSc/SLEPc within a Python virtualenv, using system packages for OpenMPI, OpenBLAS, LAPACK, HDF5, etc, from the Arch Linux official repository. (Build scripts originally inspired by Jack Hale.)

Dependencies on ArchLinux

Note

Updates of the system packages such as hdf5 are likely to break dolfin. A better solution than this mix of compiled and packaged dependencies could be to manually compile all dependencies.

System packages

  • openmpi
  • hdf5-openmpi
  • openblas-lapack
  • eigen
  • pybind11
  • doxygen
  • cython
  • jupyter
  • cmake

Python packages:

  • python-mpi4py
  • python-h5py
  • python-sympy

For mshr:

  • gmp
  • mpfr

Compiled from source

  • Boost 1.73
  • PETSc 3.13 with suitesparse, mumps, ...
  • SLEPc 3.13

Instructions

  1. Configure and run build_all.sh:

    ./build_all.sh |& tee build.log
  2. Load the FEniCS environment (modules, environment variables, python venv) with:

    source $PREFIX/share/dolfin/dolfin.conf

    where $PREFIX is as specified in build_all.sh.

  3. Test the installation with the Poisson example:

    and in parallel:

    mpirun -n 4 python3 test_poisson.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published