Skip to main content

A collection of tools for developing SpiNNaker applications

Project description

The Rig Logo PyPi version Documentation Build Status Coverage Status

Rig is a Python library which contains a collection of complementary tools for developing applications for the massively-parallel SpiNNaker architecture. First and foremost, Rig aims to present a light-weight, well tested and well documented interface for SpiNNaker application developers.

Quick-start

The latest stable release can be installed from the Python Package Index using:

pip install rig

The corresponding documentation is available on ReadTheDocs.

See DEVELOP.md for information on how to get involved in Rig development or install the latest development version.

Overview

Rig does not mandate any particular application work flow but rather provides a set of common utilities with well-defined, composable interfaces. Developers are encouraged to use whatever subset of these tools they consider useful.

The utilities provided by Rig can be broken down approximately as follows:

  • Data packaging for SpiNNaker

    • type_casts: conversion functions between common Python and Numpy data types and the fixed-point types used by SpiNNaker.

    • bitfield.BitField: an abstraction for flexibly defining routing keys for SpiNNaker applications ranging from the trivial to those involving multiple external devices with conflicting routing key formats.

  • Graph-to-machine mapping

    • place_and_route: a suite of algorithms for mapping graph-like problems onto the SpiNNaker hardware, allocating on-chip resources and generating routing tables.

    • geometry: utility functions for working with SpiNNaker’s hexagonal torus topology.

  • Execution control and machine management

    • machine_control.MachineController: a high-level interface to SpiNNaker machines. Can be used to boot machines, load and control applications, and more.

    • machine_control.BMPController: a high-level interface to the Board Management Processors (BMPs) found in large SpiNNaker installations. Can be used to control system power and read diagnostic information such as temperature and FPGA status.

  • Standalone utility applications

    • rig-boot: No-nonsense command line utility for booting SpiNNaker systems.

    • rig-power: No-nonsense command line utility for power-cycling SpiNNaker systems.

    • rig-info: No-nonsense command line utility to get high-level information about a SpiNNaker system, e.g. “what is it running, is it on fire?”.

    • rig-discover: No-nonsense command line utility for discovering the IP of connected, unbooted SpiNNaker boards.

    • rig-iobuf: No-nonsense command line utility for reading IOBUF messages from a SpiNNaker application.

    • rig-ps: No-nonsense command line utility for listing all applications (and their locations) in a SpiNNaker machine.

    • rig-counters: No-nonsense command line utility which can non-intrusively monitor a SpiNNaker system for dropped packets.

Python Version Support

Rig is tested against the following versions of Python:

  • 2.7

  • 3.4

  • 3.5

Other versions may or may not work.

Contributors

See CONTRIBUTORS.md for a list of all the folk who’ve contributed to Rig.

License

Rig is licensed under the GNU General Public License Version 2.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rig-0.8.2.tar.gz (136.3 kB view details)

Uploaded Source

File details

Details for the file rig-0.8.2.tar.gz.

File metadata

  • Download URL: rig-0.8.2.tar.gz
  • Upload date:
  • Size: 136.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for rig-0.8.2.tar.gz
Algorithm Hash digest
SHA256 0d3429219d616e75389fad50de80f0d550c17ed8a59b394bd370b3940d2e51b3
MD5 9c017770d7517d85fc1bd4fa530064e5
BLAKE2b-256 cca2f17192097a1be07534398cab55e2285988a069c6cfdff2dd5b5985433c2d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page