Line 27: | Line 27: | ||
StartProB.sh tcl | StartProB.sh tcl | ||
On Windows, you will also have a subfolder called "Microsoft.VC80.CRT" containing the DLLs for the C runtime. Also, the binary is called "ProBWin" and not "prob". | On Windows, you will also have a subfolder called "Microsoft.VC80.CRT" containing the DLLs for the C runtime. Also, the binary is called "ProBWin" and not "prob". | ||
* Be sure that you have Tcl/Tk installed (see, e.g., http://www.tcl.tk/software/tcltk/). With the latest version of ProB, you have to install Tcl/Tk version 8. | * Be sure that you have Tcl/Tk installed (see, e.g., http://www.tcl.tk/software/tcltk/). | ||
* To load your own B machines you also need Java runtime | With the latest version of ProB, you | ||
have to install Tcl/Tk version 8.5. | |||
For example, you can find a correct version of Tcl/Tk athttp://downloads.activestate.com/ActiveTcl/releases/8.5.18.0/ . | |||
* To load your own B machines you also need Java 7 or newer runtime or better JDK. | |||
* Note: you can skip this step if you do not wish to use the visualization commands. Install the "dot" program and "dotty" viewer from AT&T's Graphviz package (http://www.graphviz.org/ or http://www.research.att.com/sw/tools/graphviz/). By default, ProB will open the "dotty" program to visualize the graphs, but postscript viewers (such as gv) are also supported. So, you do not need to install dotty if you don't want to; but it is probably easiest to install the entire Graphviz package. | * Note: you can skip this step if you do not wish to use the visualization commands. Install the "dot" program and "dotty" viewer from AT&T's Graphviz package (http://www.graphviz.org/ or http://www.research.att.com/sw/tools/graphviz/). By default, ProB will open the "dotty" program to visualize the graphs, but postscript viewers (such as gv) are also supported. So, you do not need to install dotty if you don't want to; but it is probably easiest to install the entire Graphviz package. | ||
* Change to the ProB directory and then start up prob. In Windows you can simply double-click on the ProBWin Application. On Mac OS X you may have to type 'limit data unlimited' (in tcsh) or 'ulimit -d unlimited' (in bash) before launching ProB using the Terminal Application. The distribution contains a script StartProB.sh which does this for you (note you may have to do chmod u+x StartProB.sh before launching it from the command-line). | * Change to the ProB directory and then start up prob. In Windows you can simply double-click on the ProBWin Application. On Mac OS X you may have to type 'limit data unlimited' (in tcsh) or 'ulimit -d unlimited' (in bash) before launching ProB using the Terminal Application. The distribution contains a script StartProB.sh which does this for you (note you may have to do chmod u+x StartProB.sh before launching it from the command-line). |
Both the standalone ProB Tcl/Tk and probcli can be downloaded together (within a Zip archive or tarball together with examples) from our Downloads page. The online ProB Logic Calculator requires no installation; just type in predicates and expressions into the web page.
There is also a plugin for Atelier B, in order to use the standalone ProB Tcl/Tk Version on Atelier B projects. It comes bundled with ProB Tcl/Tk.
ProB is used within a few other tools, such as iUML-B or SafeCap.
We are also developing a new Java-based API called ProB 2.0, which is a high-level wrapper for the command-line version probcli.
The standalone version Tcl/Tk of ProB contains a richer set of features than the Rodin version and also works on other formalisms than Event-B (e.g., classical B, Z, CSP, B||CSP, Promela, ...). If you want to do animation and model checking of Event-B models, the Rodin version might be enough. The Rodin version contains a translation tool from Rodin into Event-B package files that can be used within the standalone version of ProB. Use the probcli version if you want to write batch scripts or prefer working from the command-line.
Note: we have specific Windows_Installation_Instructions. These here are the generic instructions.
examples lib prob StartProB.sh tcl
On Windows, you will also have a subfolder called "Microsoft.VC80.CRT" containing the DLLs for the C runtime. Also, the binary is called "ProBWin" and not "prob".
With the latest version of ProB, you have to install Tcl/Tk version 8.5. For example, you can find a correct version of Tcl/Tk athttp://downloads.activestate.com/ActiveTcl/releases/8.5.18.0/ .
general you should install at least 8.5. You also need the 64 bit version of Tcl/Tk for 64 bit versions of ProB.
Note: you can use the "Pick" button to locate the dot program and the dot viewer. See more information about the Graphical Viewer here.
The following movie shows how to install the ProB Rodin Plugin.
<swf width="800" height="600">http://www.stups.uni-duesseldorf.de/ProB/Install.swf</swf>