Common SpiNNaker Front end functions
Project description
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
DataSpecification
PACMAN
SpiNNMan
spalloc
These dependencies can be installed using pip
:
pip install numpy
pip install SpiNNUtilities SpiNNMachine DataSpecification 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:
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for SpiNNFrontEndCommon-1!7.0.0a5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d31d6c800649058da14117c145718d11299d2b3fdf09751d01dfe43f413cc77b |
|
MD5 | f722687adc5c30865a27bf976c6cea1b |
|
BLAKE2b-256 | 2000f4e4b706e3817695f4fb0ec9df9ba6e9d13282b3588021b705fadca5b3b0 |
Hashes for SpiNNFrontEndCommon-1!7.0.0a5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d8d52544f8ee89b1eef4b7d124bd352e1fe9d0bb5f884914d0b271b4429410c |
|
MD5 | 2675bcd88e82fad97e48592eb0ced4b3 |
|
BLAKE2b-256 | b3aaff4e881dbe474f66baf4800cb28d35fdea03e5f09bf86d8004d03c96f292 |