Skip to content

Aratz/pyurdme

 
 

Repository files navigation

PyURDME

PyURDME is a modeling and simulation toolkit for spatial stochastic simulations. It makes use of a modified version of the core solver of URDME (www.urdme.org) for mesocopic simulations via the Reaction-Diffusion Master Equation (RDME), and builds on Dolfin/FeniCS (http://fenicsproject.org) for geometric modeling, meshing and Finite Element Assembly.

Currently supported (tested) platforms are MacOSX >= 10.8 and Ubuntu >= 12.04.

Dependencies

To install and use pyurdme, you need to satisfy the following dependencies. Below we point at suggested ways to satisfy them for OSX and Ubuntu.

Note: We strongly recommend using the appropriate package manager or binary installer for your platform to satisfy the above dependencies. However, we understand that some users prefer a non-system-wide installation of python packages, such as if using virtualenv. If one of the above listed dependencies is not satisfied, setuptools will try to install it from the PyPI index. For numpy, scipy, matplotlib, h5py this involves building from source. Due to the many non-python dependencies, you will likely need to install development versions of certain libraries (such as freetype and libpng). An easy way to satisfy the dependencies for Ubuntu is

sudo apt-get build-dep python-numpy python-scipy python-matplotlib

If you do not mind system-wide installations, we provide a script to install all dependecies for Ubuntu, see detailed instructions below.

Installation

Ubuntu

For Ubuntu, we provide a script that will install pyurdme and all dependecies. The install script must be run as root

git clone https://github.com/pyurdme/pyurdme
cd pyurdme
sudo ./install_ubuntu.sh

If you want to manage the dependencies yourself, after installing them do:

git clone https://github.com/pyurdme/pyurdme.git
cd pyurdme
sudo python setup.py install 

or simply

sudo pip install https://github.com/pyurdme/pyurdme/tarball/master

OSX

git clone https://github.com/pyurdme/pyurdme.git
cd pyurdme
sudo python setup.py install 

or simply

sudo pip install https://github.com/pyurdme/pyurdme/tarball/master

About

Python API for URDME solvers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 67.3%
  • C 15.1%
  • Python 11.5%
  • Jupyter Notebook 5.5%
  • Makefile 0.5%
  • Shell 0.1%