| 1 | ============= |
|---|
| 2 | About Sumatra |
|---|
| 3 | ============= |
|---|
| 4 | |
|---|
| 5 | Sumatra is a tool for managing and tracking projects based on numerical |
|---|
| 6 | simulation and/or analysis, with the aim of supporting reproducible research. |
|---|
| 7 | It can be thought of as an automated electronic lab notebook for computational |
|---|
| 8 | projects. |
|---|
| 9 | |
|---|
| 10 | It consists of: |
|---|
| 11 | |
|---|
| 12 | * a command-line interface, smt, for launching simulations/analyses with |
|---|
| 13 | automatic recording of information about the experiment, annotating these |
|---|
| 14 | records, linking to data files, etc. |
|---|
| 15 | * a web interface with a built-in web-server, smtweb, for browsing and |
|---|
| 16 | annotating simulation/analysis results. |
|---|
| 17 | * a Python API, on which smt and smtweb are based, that can be used in your own |
|---|
| 18 | scripts in place of using smt, or could be integrated into a GUI-based |
|---|
| 19 | application. |
|---|
| 20 | |
|---|
| 21 | Sumatra is currently alpha code, and should be used with caution and frequent |
|---|
| 22 | backups of your records. |
|---|
| 23 | |
|---|
| 24 | For documentation, see http://packages.python.org/Sumatra/ and http://neuralensemble.org/sumatra/ |
|---|
| 25 | |
|---|
| 26 | |
|---|
| 27 | Intended functionality (not all implemented yet): |
|---|
| 28 | |
|---|
| 29 | * launch simulations and analyses, and record various pieces of information, |
|---|
| 30 | including: |
|---|
| 31 | |
|---|
| 32 | - the executable (identity, version) |
|---|
| 33 | - the script (identity, version) |
|---|
| 34 | - the parameters |
|---|
| 35 | - the duration (execution time) |
|---|
| 36 | - console output |
|---|
| 37 | - links to all data (whether in files, in a database, etc.) produced by |
|---|
| 38 | the simulation/analysis |
|---|
| 39 | - the reason for doing the simulation/analysis |
|---|
| 40 | - the outcome of the simulation/analysis |
|---|
| 41 | |
|---|
| 42 | * allow browsing/searching/visualising the results of previous experiments |
|---|
| 43 | * allow the re-running of previous simulations/analyses with automatic |
|---|
| 44 | verification that the results are unchanged |
|---|
| 45 | * launch single or batch experiments, serial or parallel |
|---|
| 46 | |
|---|
| 47 | |
|---|
| 48 | ============ |
|---|
| 49 | Requirements |
|---|
| 50 | ============ |
|---|
| 51 | |
|---|
| 52 | Sumatra requires Python versions 2.5, 2.6 or 2.7. The web interface requires |
|---|
| 53 | Django (>= 1.2) and the django-tagging package. |
|---|
| 54 | Sumatra requires that you keep your own code in a version control |
|---|
| 55 | system (currently Subversion, Mercurial, Git and Bazaar are supported). If you |
|---|
| 56 | are already using Mercurial or Bazaar there is nothing else to install. If you |
|---|
| 57 | are using Subversion you will need to install the pysvn package. If you using |
|---|
| 58 | Git, you will need to install git-python bindings. |
|---|
| 59 | |
|---|
| 60 | |
|---|
| 61 | ============ |
|---|
| 62 | Installation |
|---|
| 63 | ============ |
|---|
| 64 | |
|---|
| 65 | These instructions are for Unix, Mac OS X. They may work on Windows as well, but |
|---|
| 66 | it hasn't been tested. |
|---|
| 67 | |
|---|
| 68 | If you have downloaded the source package, Sumatra-0.3.0.tar.gz:: |
|---|
| 69 | |
|---|
| 70 | $ tar xzf Sumatra-0.3.0.tar.gz |
|---|
| 71 | $ cd Sumatra-0.3.0 |
|---|
| 72 | # python setup.py install |
|---|
| 73 | |
|---|
| 74 | The last step may have to be done as root. |
|---|
| 75 | |
|---|
| 76 | |
|---|
| 77 | Alternatively, you can install directly from the Python Package Index:: |
|---|
| 78 | |
|---|
| 79 | $ pip install sumatra |
|---|
| 80 | |
|---|
| 81 | or:: |
|---|
| 82 | |
|---|
| 83 | $ easy_install sumatra |
|---|
| 84 | |
|---|