A parallel implemention of the Varys algorithm coded in Haskell.
To learn more about the Varys algorithm see this paper:
https://dl.acm.org/doi/10.1145/2619239.2626315
Created by Etesam Ansari & YunLan Li
stack install
stack build
stack exec ParVarys-exe
- To add a package I think you have to first add it to extra-deps section of the stack.yaml
- Then you have to add it to the dependencies section of the package.yaml
- You may also want to add it to the executable dependencies section
stack install --flag gtk:have-quartz-gtk threadscope
threadscope --test ch8
This should launch a window
For more information see this: https://wiki.haskell.org/ThreadScope
This command runs the ParVarys executable using 4 cores, and generates the
event log ParVarys-exe.eventlog
:
stack exec ParVarys-exe -- +RTS -N4 -lf
To visualize the event log using threadscope
threadscope ParVarys-exe.eventlog &