A client for the spalloc_server SpiNNaker machine partitioning and allocation system.


Keywords
spinnaker, allocation, packing, management, supercomputer, python
License
Apache-2.0
Install
pip install spalloc==1!7.1.0

Documentation

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 = jdh@cs.man.ac.uk

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)