Installation

Quick Install

Install using git clone:

git clone https://bitbucket.org/simula_cbc/cbcflow.git
cd cbcflow
python setup.py install

Install using pip:

pip install git+https://bitbucket.org/simula_cbc/cbcflow.git

Dependencies

The installation of cbcflow requires the following environment:
  • Python 2.7
  • Numpy
  • Scipy
  • (FEniCS) 1.3.0

To install FEniCS, please refer to the FEniCS download page. cbcflow follows the same version numbering as FEniCS, so make sure you install the correct FEniCS version. Backwards compatibility is not guaranteed.

In addition, cbcflow can utlize other libraries for added functionality
  • fenicstools 1.3.0 (highly recommended, tools to inspect parts of a solution)
  • pytest >2.4.0 (required to run test suite)

fenicstools can be installed using pip:

pip install https://github.com/mikaem/fenicstools/archive/v1.3.0.zip