Official Brian2 · source model package

standalone multiple processes

This example shows how to run several, independent simulations in standalone mode using multiple processes to run the

Execution

Run this model

Choose a model size and computing resource when you're ready.

Brian2 Python

Original source

Original Brian2 example

This is an unmodified snapshot of an official Brian2 example. Open it in Notebook for a local experiment, or fork it into My Workspace to edit and publish as a model. Notebook execution needs a kernel and is not available yet.

Official exampleUnmodified source

Companion files are included in CPU sandbox submissions and package downloads.

Download source packageOriginal Python + companion files · ZIP
Last CPU checkDid not complete

RuntimeError: C++ source did not execute a simulation in the main process

Companion files6
  • .gitignore
  • STDP_standalone.py
  • cuba_openmp.py
  • simple_case.py
  • simple_case_build.py
  • standalone_multiplerun.py
Python imports5
  • brian2
  • matplotlib
  • multiprocessing
  • numpy
  • time
Source
Brian2 contributors · official example ↗
License
CeCILL 2.1
Revision
ecd72a361f54
Source SHA-256
0d944d106b40ea97…

CPU Python runs inside a disposable, resource-limited Brian2-Atlas container. Unsupported features fail explicitly; a successful run is not scientific validation. Apple GPU remains limited to reviewed adaptations.

Python source

standalone_multiple_processes.pyPython · 71 lines
Read-only preview · Open in Notebook or fork this model to edit.