| How-To Guides
|
| Running ExperimentRunner
Jan 28, 2011
- Clone the git repository located at ssh://[name]@okanagan.cs.ubc.ca/ubc/cs/project/arrow/git/smac.git - the experiment runner is
|
|
< < | currently only located in the [smac working copy] branch. |
> > | currently only located in the [smac working copy] branch. The files are also available from /ubc/cs/project/arrow/mavc/workspace/smac/ |
|
- You will need a directory with the following directories or links:
|
|
< < | |
> > |
-
- algorithms/ containing algorithm executables/wrappers.
|
|
-
- features/ containing .csv instance feature files.
- instances/ containing instances.
- targetalgs/ containing target algorithm wrappers.
|
|
< < | |
> > | These are all available from /ubc/cs/project/arrow/mavc/workspace/smac/ |
|
- Set the db name.
- If you used a MySQL Database, you will need to get the MySQL plugin from the HAL Website ssh://[name]@okanagan.cs.ubc.ca/ubc/cs/project/arrow/git/mysql-hal.git
|
|
- Set the db name.
- If you used a MySQL Database, you will need to get the MySQL plugin from the HAL Website ssh://[name]@okanagan.cs.ubc.ca/ubc/cs/project/arrow/git/mysql-hal.git
|
|
< < | |
|
-
|
|
< < |
-
- Running locally:
- Running on Arrow:
- Running on Westgrid:
- The Experiment Runner requires classes from HAL. You can grab HAL from
|
> > |
-
- Running locally: See Running Locally
- Running on Arrow: See Running on Arrow
- Running on Westgrid: See Running on Westgrid
- The Experiment Runner requires classes from HAL. You can grab HAL from ssh://[name]@okanagan.cs.ubc.ca/ubc/cs/project/arrow/git/hal.git
|
|
- Export jar to the directory structure, from right-click -> export -> Runnable Jar. This requires a Run Configuration, which you can
|
|
< < | create by running ExperimentRunner.java from Eclipse. |
> > | create by running ExperimentRunner.java from Eclipse. Alternatively, run it from Eclipse. |
|
- Run the .jar with the command java -Xmx[##] -jar experimentrunner.jar
- [##] Set this to a reasonable number (e.g. -Xmx512m or -Xmx1g)
|
|
> > | |
| Running Locally |
|
> > |
|
| Running on Arrow |
|
> > |
- Some considerations for running on Arrow
- Using the correct SSHExecutionManager for the HAL environment.
|
| Running on Westgrid |
|
> > |
- There are some special considerations for running on Westgrid
- Installing Ruby (for ParamILS and wrapper scripts)
- Installing MCR (for SMAC)
- Setting up Directory Structure
|
|
Monitoring with Hal
- Start HAL with the command * java -jar hal.jar *. This will create a Hal.json file.
|