ANNarchy Build Status

ANNarchy (Artificial Neural Networks architect) is a parallel and hybrid simulator for distributed rate-coded or spiking neural networks. The core of the library is written in C++ and distributed using openMP or CUDA. It provides an interface in Python for the definition of the networks. It is released under the GNU GPL v2 or later.

The latest source code is available at:

The documentation is available online at:

A forum for discussion is set at:!forum/annarchy


If you use ANNarchy for your research, we would appreciate if you cite the following paper:

Vitay J, Dinkelbach HÜ and Hamker FH (2015). ANNarchy: a code generation approach to neural simulations on parallel hardware. Frontiers in Neuroinformatics 9:19. doi:10.3389/fninf.2015.00019


  • Julien Vitay (
  • Helge Ülo Dinkelbach (
  • Fred Hamker (


Using pip, you can install the latest stable release:

pip install ANNarchy

Using the source code, ANNarchy can be installed using one of the following commands:

  • With administrator permissions:
sudo python install
  • In the home directory:
python install --user
  • To install it in another repertory (e.g. /path/to/repertory):
export PYTHONPATH=$PYTHONPATH:/path/to/repertory/lib/python2.7/dist-packages
python install --prefix=/path/to/repertory

The export command (for bash, adapt it to your interpreter) should be placed into the .bashrc or .bash_profile file in the home directory.


  • GNU/Linux
  • MacOS X (with limitations)


  • g++ >= 4.7 or clang++ >= 3.4
  • python 2.7 or >= 3.3 with development files
  • cython >= 0.19
  • setuptools >= 0.6
  • numpy >= 1.8
  • sympy >= 0.7.4
  • scipy >= 0.12
  • matplotlib >= 1.3


  • lxml >= 3.0
  • PyQtGraph >= 0.9.8
  • pandoc > 1.17