vasc / dips

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dips

Library Dependencies

Dips depends on the following libraries:

These libraries should be saved to the lib folder or otherwise be available in the classpath.

Compile

Dips depends on Java 6 and Scala 2.9.1.

sbt is the recommend buid tool.

The prefered way to compile is using sbt, once sbt is installed simply run:

sbt compile

To package Dips to a jar (no dependencies will be added) run:

sbt package

It is also possible to perform the compilation using the scalac compiler.

Run

The simples way to run Dips is:

sbt run

This will take care of all dependencies and run the simulator. However it lacks flexibility.

The prefered way to run the simulator is, from the root of the project:

java -classpath lib/*:target/scala-2.9.1.final/dips_2.9.1-1.0-alpha.jar dips.Dips

Default port is 7653.

Secondary instancies of the simulator must receive the host and port of one already running instance:

java -classpath lib/*:target/scala-2.9.1.final/dips_2.9.1-1.0-alpha.jar dips.Dips -h <host> -p <port>

In order for the simulator to actually perform a simulation it must be configured, this command will and run a distributed simulation:

java -classpath lib/*:target/scala-2.9.1.final/dips_2.9.1-1.0-alpha.jar dips.Coordinator -h <host> -p <port> <configfile>

About


Languages

Language:Java 58.8%Language:TeX 29.3%Language:Scala 8.7%Language:Python 2.0%Language:Shell 0.9%Language:Gnuplot 0.2%