-
Notifications
You must be signed in to change notification settings - Fork 1
Home
makaijozsef edited this page Mar 28, 2015
·
3 revisions
- Download Eclipse Kepler Modeling: http://eclipse.org/downloads/packages/eclipse-modeling-tools/keplersr2
- Install the following plugins to the downloaded Eclipse
- Xtend 2.7.1 and Xcore 1.2.2 (latest) from http://download.eclipse.org/modeling/tmf/xtext/updates/composite/releases/
- EMF-IncQuery 0.9.1 from http://download.eclipse.org/incquery/updates/release/
- Sesame 2.8.0 (latest) from http://ghillairet.github.io/p2/
- Apache Commons Exec 1.1.0 from http://download.eclipse.org/tools/orbit/downloads/drops/R20140525021250/repository/
- Mondo utils (eu.mondo.eu.mondo.utils or eu.mondo.utils, name will be fixed in the future) latest version from https://build.inf.mit.bme.hu/jenkins/job/IncQuery-D_Tooling_Dependencies_Update_Site/lastSuccessfulBuild/artifact/hu.bme.mit.incqueryd.tooling/hu.bme.mit.incqueryd.tooling.dependencies/target/repository/
- Clone this repository with EGit (or normal Git client): https://github.com/FTSRG/incqueryd-allocation.git
- 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
- 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.
- Run the program and if it isn't working contact József Makai for help.