Spartacus User Guide
This guide covers installation and usage of Spartacus. For documentation on developing Spartacus, see the README file that comes with the distribution.
Prerequisites
Spartacus has been developed primarily for GNU/Linux but can also run on Windows, MacOS, and other operating systems for which GTK+ is available.
Installation
Before installing Spartacus, ensure that Python (version 2.5 or later), PyGTK (version 2.0 or later), and numpy are properly installed on your system. To install Spartacus on Linux, execute the commands
$ tar -xzf spartacus-0.1.0.tar.gz $ cd spartacus-0.1.0/ $ python setup.py build $ python setup.py install # requires root priviledges
Consult the distutils installation guide for customized installation options.
Starting Spartacus
Either double click the program icon on the desktop, or invoke spartacus from the terminal. If started from the terminal, spartacus can run in interactive mode (using a graphical interface), or in non-interactive batch mode.
$ spartacus [-ox] [MODELFILE] [-- MODEL OPTIONS] $ spartacus -v # print current version and quit
If spartacus is invoked with the option -x
, a model file must be provided.
If the option -o
is given, spartacus will dump out observabled to standard
out. Two dashes (--
) mark arbitrary options that can be passed to a model file.
Using Spartacus
- The graphical user interface
- Writing model definitions
- Programming with spartacus