Home
|
Download
|
Tutorial
|
Pi Programs
|
Book
Download πVC (the original version)
πVC is licensed under GPL3.
Download to run: precompiled binaries
πVC is precompiled for Linux 2.6/i686 and Mac OS X (version 10.4,
for PowerPC). If you require a different platform, I will work with
you to get it compiled in exchange for the resulting binary.
- Download pivc.tar.gz.
- tar xzf pivc.tar.gz. The root directory of πVC is
pivc.
- cd pivc. Run ./configure, which generates a script
pivc/bin/piVC to run πVC.
- Download the Yices SMT solver.
Copy the yices binary into pivc/bin/Linux or
pivc/bin/Darwin, depending on your platform.
- Run pivc/bin/piVC. (From pivc, type ./bin/piVC &.)
- Optional: If you are an instructor installing πVC on a
cluster for students and would like to have students email solutions
directly to you from πVC, edit the $email variable of
pivc/bin/piVC to point to your email address. After proving
a program correct, a student will be asked via a prompt if she would
like to have the valid program sent to you. Requires
sendmail.
Trouble?
- Check your platform. Is it Linux 2.6/i686 or Mac OS X (10.4, PowerPC)?
- Is the user interface not working? Perhaps you need to edit the
$java variable of pivc/bin/piVC to point to your
preferred JVM.
- Did you copy the pivc directory to another location
after running configure? Rerun ./pivc/configure to
generate a new execution script.
Download to hack: source code
Compiling πVC requires O'Caml
and Java.
- Verify that your system has ocamlc, ocamlopt,
and javac.
- Download pivc-source.tar.gz.
- tar xzf pivc-source.tar.gz. The root directory of the
πVC source code is pivc.
- Modify the variables OCAML and JAVA of
Makefile and Makefile.opt to reflect your system.
OCAML should point to the directory that contains O'Caml's
libraries. JAVA should point to the directory that
contains javac.
- Type make for bytecode and make -f Makefile.opt
for a native binary. (The O'Caml executable is pvc; the
GUI is in the jar-file gui/Pi.)
- Type make install to create the pivc directory hierarchy
with root pivc.
- Copy the pivc directory structure to the desired location.
- cd pivc. Run ./configure, which generates a script
pivc/bin/piVC to run πVC.
- Download the Yices SMT solver.
Copy the yices binary into pivc/bin/Linux or
pivc/bin/Darwin, depending on your platform.
- Run pivc/bin/piVC. (From pivc, type ./bin/piVC &.)
Home
|
Download
|
Tutorial
|
Pi Programs
|
Book
© 2007, Aaron Bradley and Zohar Manna
Direct questions, comments, and cool Pi programs to arbrad{Shift+2}cs.stanford.edu.
Development of πVC was supported by the National Science Foundation
under Grant Nos. CSR-0615449 and CNS-0411363, by Navy/ONR contract
N00014-03-1-0939, and by a Sang Samuel Wang Stanford Graduate
Fellowship. Any opinions, findings, and conclusions or
recommendations expressed in this material are those of the authors
and do not necessarily reflect the views of the National Science
Foundation or the Navy/ONR.