We have prepared a docker container to make it easier to test the Alloy Analyzer with support for HyperPardinus.
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
Inside the container, just move into the benchmarks folder:
cd benchmarks
Then, to reproduce either our low-level benchmarks or our high-level benchmarks, run one of the following:
./benchs.py doLow
./benchs.py doHigh
./benchs.py doAblation --group=low --mode=Exp
./benchs.py doAblation --group=low --mode=Sym
./benchs.py doAblation --group=high --mode=Exp
./benchs.py doAblation --group=high --mode=Sym
If you get a ncurses error, please make sure that your terminal window is as large as possible.
Any errors arising when running each benchmark are written to the logs folder.
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.
- Install the XQuartz X server.
- Go to
XQuartz > Preferences > Securityand checkAllow connections from network clients. - Launch the X11 server with
xhost +. - Set the
DISPLAYvariable withexport DISPLAY=host.docker.internal:0.
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