Skip to content

dajuno/fenics-centos-build

Repository files navigation

FEniCS build scripts

Build PETSc, SLEPc, DOLFIN/FENICS, mshr within a Python virtualenv, using system dependencies for OpenMPI, BLAS, LAPACK, HDF5, etc. (credits: inspired by https://bitbucket.org/unilucompmech/fenics-gaia-cluster)

Dependencies on CentOS 8.1 (default)

  • openmpi-devel
  • hdf5-openmpi-devel
  • lapack-devel
  • openblas-devel
  • boost-devel
  • eigen3-devel
  • pybind11-devel
  • python36-devel
  • doxygen

For mshr:

  • gmp-devel
  • mpfr-devel

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:

        python3 test_poisson.py

    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