Quick Start

The Sparkle package offers an extensive Command Line Interface (CLI) to allow for easy interaction with the platform. If you haven’t installed the package already, see the Install Sparkle page.

Note

Sparkle currently relies on Slurm, but in some cases works locally as well. Sparkle also relies on RunSolver, which is a Linux based program. Thus Sparkle can only run on Linux based systems in many cases.

To initialise a new Sparkle platform, select a (preferably new / empty) directory, and run in the terminal:

sparkle initialise

This sets up various default directories and files for Sparkle to use that you can customise later. Note that if you wish to download the files for the Tutorials, you can run the command with the flag:

sparkle initialise --download-examples

Due to the examples containing various algorithms and their executables, but also entire datasets, it is about 300MB large. Now you might receive a few warnings during the inialisation, lets go through a few of them:

  • “Could not find Java as an executable”: One of the algorithm configurators Sparkle has to offer (SMAC2) is build on Java. Make sure your system has Java version 1.8.0_402 installed.

  • “RunSolver was not compiled succesfully”: Sparkle uses RunSolver to monitor algorithms and their meta statistics, such as CPU and Wallclock time. RunSolver needs various libraries to be compiled. You can run the make file in the Sparkle package components section (sparkle/Components/runsolver/src/Makefile) to inspect what your system is missing for the compilation to work.