Installation

Prerequisites

RBniCS requires:

  • FEniCS (>= 2018.1.0, python 3), with PETSc, SLEPc, petsc4py and slepc4py for computations during the offline stage;

  • numpy and scipy for computations during the online stage.

Additional requirements are automatically handled during the setup.

Installation and usage

From source

Simply clone the RBniCS public repository:

git clone https://github.com/RBniCS/RBniCS.git

and install the package by typing

cd RBniCS
python3 -m pip install .

RBniCS on Google Colab

You can run RBniCS online on Google Colab by running our Jupyter notebooks interactively in any web browser without any required installation. See our Tutorials page for more information.

RBniCS on ARGOS

You can run RBniCS online on ARGOS, the Advanced Reduced Groupware Online Simulation platform, by running standalone apps interactively in any web browser without any required installation. See our Tutorials page for more information.

RBniCS docker image

If you want to try RBniCS out but do not have FEniCS already installed, you can pull our docker image from DockerHub. All required dependencies are already installed. RBniCS tutorials and tests are located at /root/RBniCS