Skip to content

Install

Jeff Chin edited this page Mar 24, 2021 · 12 revisions

^Navigate back to wiki home

Installing BORING

There are 3 different ways to install, listed from easiest, to still easy.

Option 1) Run from Google CoLab

(If you don't want to install anything, and want to run everything from the cloud)

Option 2) Pip installing from github

(If you want to use the code but not modify any of the source)

from the terminal:

pip install git+https://github.com/jcchin/boring.git

Option 3) Clone and setting up in Developer Mode

(If you want to actively modify/develop from the source code)

from the terminal navigate to a path to save the source code

git clone https://github.com/jcchin/boring.git

from the terminal navigate to the top folder (containing setup.py) and type:

pip install -e .

Installing FENICS

Option 1) Run from Google CoLab

(If you don't want to install anything, and want to run everything from the cloud)

Option 2 (Mac OS): Install with Anaconda

conda create -n fenicsproject # create a conda environment

conda activate fenicsproject # activate the environment

conda install -c conda-forge fenics # install packages

conda install -c conda-forge mshr

conda install matplotlib

if fenics/mshr/dolphin has an import or image error, a different version of fenics/mshr may be needed

run conda search mshr -c conda-forge then try working back from the latest build

as an example, the following version was required to be compatible with my environment conda install -c conda-forge mshr=2019.1.0=py37h6914226_4

Option 3 (All Others): https://fenicsproject.org/download/