Skip to content

SpiNNakerManchester/spalloc

Repository files navigation

Spalloc: SpiNNaker machine allocation client

PyPi version Documentation Build Status Coverage Status

Spalloc is a Python library and set of command-line programs for requesting SpiNNaker machines from a spalloc server.

To get started, see the quick-start below or refer to the documentation.

Quick-start

Step 1: Install spalloc:

$ pip install spalloc

Step 2: Write a configuration file indicating your email address and the spalloc server's address (run python -m spalloc.config to discover what to call your config file on your machine):

[spalloc]
hostname = my_server
owner = [email protected]

Step 3: Request a system using the command-line interface, e.g. a three-board machine:

$ spalloc 3

Animated GIF showing the typical execution of a spalloc call.

...or request one from Python...

>>> from spalloc_client import Job
>>> with Job(3) as j:
...     my_boot(j.hostname, j.width, j.height)
...     my_application(j.hostname)