1. Installation

1.1. Quick Install

Install using git clone:

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

Install using pip:

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

1.2. Dependencies

The installation of cbcpost requires the following environment:
  • Python 2.7
  • Numpy
  • Scipy
  • dbhash, dbm or gdbm
  • FEniCS 1.4.0 or newer

To install FEniCS, please refer to the FEniCS download page. cbcpost follows the same version numbering as FEniCS, so make sure you install the correct FEniCS version. Backwards compatibility is not guaranteed (and quite unlikely).

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

fenicstools can be installed using pip:

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