Skip to content

About

Docker and benchmarks for the HyperPardinus tool

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Alloy + HyperPardinus

We have prepared a docker container to make it easier to test the Alloy Analyzer with support for HyperPardinus.

Benchmarks

There are containers for arm64 and for amd64. The correct one is chosen automatically, otherwise use --platform=<platform>.

Run in interactive mode:

sudo docker run -it hyperalloy/hyperalloy /bin/bash

The container starts in the benchmarks folder already.

The low-suite's Alloy models (.als) are derived, you can regenerate them at once with:

./genalloy.py

Then, to reproduce either our low-level benchmarks or our high-level benchmarks, run one of the following:

./benchs.py --mode=low
./benchs.py --mode=high
./benchs.py --mode=low  --ablation=Exp
./benchs.py --mode=low  --ablation=Sym
./benchs.py --mode=high --ablation=Exp
./benchs.py --mode=high --ablation=Sym

Add --row=<benchmark> / --col=<column> to run a single cell. If you get a ncurses error, enlarge the terminal window or use --headless to skip the curses UI. Results are written to report.txt. Any errors arising when running each benchmark are written to the logs folder.

GUI

To experiment with the GUI, you will have to setup a X server in your host machine, which will depend on your host OS. First make sure that you have a X server running, and set the DISPLAY env variable accordingly.

On Mac

  1. Install the XQuartz X server.
  2. Go to XQuartz > Preferences > Security and check Allow connections from network clients.
  3. Launch the X11 server with xhost +.
  4. Set the DISPLAY variable with export DISPLAY=host.docker.internal:0.

Launching the GUI

To launch the GUI, just run the container, which will call the Alloy Analyzer by default:

sudo docker run --net=host --env="DISPLAY" -it hyperalloy/hyperalloy

About

Docker and benchmarks for the HyperPardinus tool

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages