1. Installation

1.1. Dependencies

The installation of cbcpost requires the following environment:

  • Python 2.7
  • Numpy
  • Scipy
  • Any dbm compatible database (dbhash, dbm or gdbm)
  • FEniCS
  • fenicstools (optional but highly recommended, tools to inspect parts of a solution)

To install FEniCS, please refer to the FEniCS download page.

To install fenicstools, please refer to the github page.

cbcpost and fenicstools follows the same version numbering as FEniCS, so make sure you install the matching versions. Backwards compatibility is not guaranteed (and quite unlikely).

In addition, to run the test suite

  • pytest >2.4.0
  • docutils

1.2. Installing

Get the software with git and install using pip:

git clone https://bitbucket.org/simula_cbc/cbcpost.git
cd cbcpost
pip install .

See the pip documentation for more installation options.