Difference: HowToGuides (11 vs. 12)

Revision 122011-02-05 - mavc

Line: 1 to 1
 

How-To Guides

Line: 6 to 6
 

Running ExperimentRunner

Jan 28, 2011
  1. Clone the git repository located at ssh://[name]@okanagan.cs.ubc.ca/ubc/cs/project/arrow/git/smac.git - the experiment runner is
Changed:
<
<
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/
 
  1. You will need a directory with the following directories or links:
Changed:
<
<
    • algorithms/ containing
>
>
    • algorithms/ containing algorithm executables/wrappers.
 
    • features/ containing .csv instance feature files.
    • instances/ containing instances.
    • targetalgs/ containing target algorithm wrappers.
Changed:
<
<
>
>
These are all available from /ubc/cs/project/arrow/mavc/workspace/smac/
 
  1. 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
Line: 17 to 16
 
  1. 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
Deleted:
<
<
 
Changed:
<
<
    1. Running locally:
    2. Running on Arrow:
    3. Running on Westgrid:

  1. The Experiment Runner requires classes from HAL. You can grab HAL from
>
>
    1. Running locally: See Running Locally
    2. Running on Arrow: See Running on Arrow
    3. Running on Westgrid: See Running on Westgrid
  1. 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
 
  1. Export jar to the directory structure, from right-click -> export -> Runnable Jar. This requires a Run Configuration, which you can
Changed:
<
<
create by running ExperimentRunner.java from Eclipse.
>
>
create by running ExperimentRunner.java from Eclipse. Alternatively, run it from Eclipse.
 
  1. Run the .jar with the command java -Xmx[##] -jar experimentrunner.jar
    • [##] Set this to a reasonable number (e.g. -Xmx512m or -Xmx1g)
Added:
>
>
 

Running Locally

Added:
>
>
 

Running on Arrow

Added:
>
>
  • Some considerations for running on Arrow
    1. Using the correct SSHExecutionManager for the HAL environment.

 

Running on Westgrid

Added:
>
>
  • There are some special considerations for running on Westgrid
    1. Installing Ruby (for ParamILS and wrapper scripts)
    2. Installing MCR (for SMAC)
    3. Setting up Directory Structure
 

Monitoring with Hal

  1. Start HAL with the command * java -jar hal.jar *. This will create a Hal.json file.
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback