Skip to main content

PyPi version Python Build Status C Build Status Documentation Status Coverage Status

This package provides functionality which are common to front ends that translate application level programs into executables which run on a SpiNNaker machine.

Requirements

In addition to a standard Python installation, this package depends on:

numpy
SpiNNUtilities
SpiNNMachine
PACMAN
SpiNNMan
spalloc

These dependencies can be installed using pip:

pip install numpy
pip install SpiNNUtilities SpiNNMachine PACMAN SpiNNMan spalloc

If you want to use the spinnaker_router_provenance_mapper command line tool to visualise the traffic on SpiNNaker boards caused by your simulations, you should install this package using:

pip install "SpiNNFrontEndCommon[plotting]"

This will additionally install matplotlib and seaborn to do the actual plotting, as well as configuring the script.

Visualising SpiNNaker Board Network Traffic

To get plots of the traffic in your simulation, use the spinnaker_router_provenance_mapper command line tool (installed as described above), passing in the name of a provenance database (usually called provenance.sqlite3 and created within the run's reporting folders) that contains the raw data. This will produce a number of graphs as images in your current directory; those have fixed file-names.

spinnaker_router_provenance_mapper my_code/.../provenance.sqlite3

An example of the sort of map that might be produced is:

External_P2P_Packets

The P2P traffic being mapped is mainly used for system boot and control. The white square is due to a chip on that SpiNNaker board being marked as deactivated.

Documentation

SpiNNFrontEndCommon python documentation
SpiNNFrontEndCommon C documentation

Combined python documentation

Release files for SpiNNFrontEndCommon 1!7.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for SpiNNFrontEndCommon 1!7.4.1
File Size Uploaded
spinnfrontendcommon-1!7.4.1.tar.gz 277.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for SpiNNFrontEndCommon 1!7.4.1
File Interpreter ABI Platform
spinnfrontendcommon-1!7.4.1-py3-none-any.whl Python 3 none any Details

Total release size: 728.6 kB

Release files / spinnfrontendcommon-1!7.4.1.tar.gz

Download URL spinnfrontendcommon-1!7.4.1.tar.gz
Size 277.2 kB
Tags Source
SHA-256 checksum
How to use checksums
af10a9b9d740edfb089263a594de71f9907271b26e174254d08612b1c3786a9c
BLAKE2b-256 checksum
How to use checksums
0406cc1bc0c99f5b4a9757fabe86ca2968f7556a9c651de3b76ada9745cad804
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12

Release files / spinnfrontendcommon-1!7.4.1-py3-none-any.whl

Download URL spinnfrontendcommon-1!7.4.1-py3-none-any.whl
Size 451.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ac2e74d46a1b64345464d660a3d03cb5542f26c029a42dcf3ad06dec60a9c3f4
BLAKE2b-256 checksum
How to use checksums
e9978e4ac3938820c4c9a7d707ab4794f7cce6c3849b6c96d290880e4a130b41
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page