Parasim is a tool for robustness analysis. For information not covered in this README visit the Parasim wiki.
- Runtime: Java (7+), octave (simulation framework is based on octave)
- Building: gradle (available through wrapper)
You can download latest Parasim prebuilt as a zip archive in the release section [LINK NEEDED]. Then use bin/parasim (Unix) or bin/parasim.bat (Windows) to execute Parasim.
Note: In the latest version of Parasim, all distributed components have been deprecated. However, the shared memory parallelisation should be still usable.
Parasim can be executed either in GUI mode (no command line arguments), or in command line mode (argument -t or --terminal).
Command Line Options
--versionPrint parasim version and exits.
--helpPrint command line (condensed) options and exits.
--confing <file>Specify parasim configuration file (other than default).
--experiment <file>(mandatory) Specify file containing experiment specification (see experiment file format).
--resultDo not execute experiment, only print result contained in file specified by experiment file (see above). Note: This will result in error when the result file is not present.
--csv <file>Specify destination file for CSV export.
--batchDisable result plotting.
--server[Deprecated] Start Parasim server only.
--terminalUse command line interface.
parasim.sh -e experiment.properties
Execute experiment described in
experiment.properties (see experiment file format) and plot result.
parasim.sh -e experiment.properties -r
Load result from file referenced in
experiment.properties and plot it. Do not execute the experiment.
Note: The result file must exist, i.e. the experiment has already had to be executed.
To build and test Parasim, run:
./gradlew clean build
You can also use
assemble to build without testing or
check to explicitly run tests.
If you want to run Parasim directly, withouth creating distribution binaries, use:
If you want to create the distribution archive, run:
The distribution .zip will then be located in the application/build/distributions folder. Alternatively, you can generated the contents of the .zip file into application/build/install by calling:
Finally, to regenerate license headers use gradle commands
(If you have your own Gradle insallation, you can run gradle instead of ./gradlew)