Fetching contributors…
Cannot retrieve contributors at this time
53 lines (31 sloc) 2.01 KB

KaSim logo


Join the chat at https://gitter.im/Kappa-Dev/KaSim

KaSim is a stochastic simulator for rule-based models written in Kappa. KaSa is a static analyser for Kappa models.

User manual

The reference manual is available online in pdf and html;

The latex sources are available in the man/ directory. To compile the manuel, in addition of a decent LaTeX distribution you need gnuplot and graphviz to generate images (make sure that dot is in the PATH of your OS). To generate the pdf of the manuel type

make doc


To compile KaSim, you need the OCaml native compiler version 4.02.3 or above and the findib library. To check whether you have them, type

ocamlfind ocamlopt -version

If you use a package manager (or opam, the OCaml package manager), OCaml compilers and findlib are really likely provided by it. Else, OCaml native compilers can be downloaded on INRIA's website. The Windows bundle contains findlib. Findlib sources are available on camlcity.org.

To create KaSim binaries, simply type

make bin/KaSim

This should produce KaSim binaries. You will need your own plotting program (like gnuplot) to visualize curves.


In order to run a simulation of 1000 rule applications, type

bin/KaSim kappa_file_1 ... kappa_file_n -e 1000 -p 1000 -o data_file

This will produce a data file of 1000 point (-p option) containing the trajectory that was produced during the simulation.


bin/KaSim --help

for a complete list of options.