Skip to content
makaijozsef edited this page Mar 28, 2015 · 3 revisions

Eclipse Installation

  1. Download Eclipse Kepler Modeling: http://eclipse.org/downloads/packages/eclipse-modeling-tools/keplersr2
  2. Install the following plugins to the downloaded Eclipse

Clone from Git

  1. Clone this repository with EGit (or normal Git client): https://github.com/FTSRG/incqueryd-allocation.git
  2. Import the following projects to an Eclipse workspace:
  • hu.bme.mit.incqueryd.allocation.csp
  • hu.bme.mit.incqueryd.arch.inventory.model
  • hu.bme.mit.incqueryd.arch.model
  • hu.bme.mit.incqueryd.arch.util
  • hu.bme.mit.incqueryd.queries
  1. Create an Eclipse Run Configuration for the main class hu.bme.mit.incqueryd.csp.main.AllocationMain in the csp project.
  • The program takes arguments like: -recipe C:\Users\Jozsef\git\incqueryd\hu.bme.mit.incqueryd.queries\recipes\SwitchSensor.rdfiq.recipe -inventory C:\Users\Jozsef\git\incqueryd\hu.bme.mit.incqueryd.queries\inventory\Vcl.inventory -objectiveFunction communication -architecture D:\hello.arch -stats C:\Users\Jozsef\switchSensorStats.txt
  • First one is a recipe file, they can be found in the queries project, for the first try use the above one.
  • Second one is and inventory file, they can be found in the queries project, as well.
  • Third one is the optimization target, which can be cost or communication.
  • Fourth one is the destination of the output architecture file. Be careful, it's always overwritten!
  • Fifth one is the statistics file for the query and the graph, that will be used for heuristics. One for a small SwitchSensor query can be found in the queries project. Will try to add more of those for more queries and more sizes.
  1. Run the program and if it isn't working contact József Makai for help.
Clone this wiki locally