Installing SOD

SOD is currently distributed in tar and zip formats. After downloading the most recent version, untarring or unzipping it will result in a directory structure like the following:

SOD_HOME

SOD is effectively installed at this point, and you can certainly run it from within the sod directory with ./bin/sod.sh. However, SOD's scripts use the SOD_HOME environment variable to find SOD's libraries. In order to run sod from another directory, you can either set SOD_HOME as an environment variable or set it in the scripts in the bin directory. Changing the scripts is the recommended method.

To set it in the script, cd into the bin directory. If you're on a Unix-like platform, open up sod.sh in a text editor. On Windows, open up sod.bat for editing. You will also need to edit sodeditor.sh or sodeditor.bat. Near the beginning of these files is the SOD_HOME variable. It's currently set to '.' so you can run SOD from the sod directory. Set the value to the path to SOD's directory. For example, if SOD was installed in /usr/local/sod-2.0, then you would do this for Unix:
SOD_HOME=/usr/local/sod-2.0
and this for windows:
set SOD_HOME=c:\usr\local\sod-2.0
The scripts are smart enough to append lib or bin as needed.

Lastly, you should either add sod.sh and sodeditor.sh or sod.bat and sodeditor.bat to your system PATH.

Now SOD can be run from any directory, which makes segregating results from runs easier. Once you've done that, SOD is officially installed. If you're not too worn out, now might be a good time to go on to the strategy file via editor section to see various neat things SOD can do.