The installation guide distinguishes between two modes, namely running the model and developing the model.
After downloading the zip-package SoNOMoDe-CMOT2012_run.zip extract its content to a location of your choice.
Although parameters can be set through XML files (see Parameter Definition) the database is useful in order to apply shipped parameter sets and in order to analyse simulation results (e.g. by application of shipped R-scripts).
In case you cannot set up the database you need to by-pass parameter reading from the database. By-passing is enabled by setting SQL_TBLNAME_PARAMS in the DB Settings XML file to "NOT DEFINED" (which is already set):
<SQL_TBLNAME_PARAMS>NOT DEFINED</SQL_TBLNAME_PARAMS>
Furthermore, these parameter settings are required in the ./config/param/Parameters.xml file (they are contained but need to be uncommented):
<de.cesr.sesamgim.param.GInitialisersPa:INITIALISER_AGENTS>de.cesr.sesamgim.init.agent.GFileAgentInitialiser</de.cesr.sesamgim.param.GInitialisersPa:INITIALISER_AGENTS> <de.cesr.sesamgim.param.GBasicPa:INIT_PARAM_ID>0</de.cesr.sesamgim.param.GBasicPa:INIT_PARAM_ID>
Note: This way it is not possible to set milieu-specific parameters like preference or network properties since these require complex data types that are not easily to define in XML structures.
The SQL file ./config/sql/InitDatabase.sql should be executed in order to add required tables to your preferred MySQL database. It contains both:
Make sure adapting the table name parameters in SqlPa, for instance using an XML parameter definition in PreParameters.xml (again, see ParMa for instructions).
Adapt the database configuration files ./config/DBSettings.xml and ./config/DBSettingsSocNet.xml.
See section Usage for instructions on parameter setting. There is also information about batch runs, logging etc.
This packages comes with execution scripts in order to run the model.
Besides custom parameter settings via XML files you need to define the parameter set ID to run in ./config/batch/batch_params.xml. Furthermore, you might need to adapt java memory settings to your specific hardware.
To achieve a working environment you should also download the zip file for running Sonomode and init a database according to the instructions above.
Do not forget to adapt the database configuration files ./config/DBSettings.xml and ./config/DBSettingsSocNet.xml.