Volunteer Computing Platform for Evolutionary Algorithms
This repository houses the primary components of VolPE, i.e. the master and the worker applications.
- Install
podmanand the Go toolchain - Setup podman appropriately
- Download this repository
- Export the environment variable
CONTAINER_HOST. Value can be determined by runningpodman info -f json | jq .host.remoteSocket.path. The output from the command must be modified as follows.If the output is"/run/user/1000/podman/podman.sock", the following command must be used to export the env. var.
export CONTAINER_HOST=unix:///xyz.sock
The following are instructions to get the master application up and running in different platforms:
cdinto themaster/folder and rungo run .
The following are instructions to get the worker application up and running in different platforms:
- Set the
VOLPE_MASTERenvironment variable to the IP address where the master is accessible, with port 8000 by default. For example, if the master is accessible at IP address 192.168.0.2:
export VOLPE_MASTER=192.168.0.2:8080
cdinto theworker/folder and rungo run .
To change the firewall configs in WSL do
mkdir -p ~/.config/containers nano ~/.config/containers/containers.conf
And add this line
[network] firewall_driver = "iptables"
NOTE Shutdown the WSL. And reboot. Only then the changes reflect
wsl --shutdown # Shutdown wsl wsl -d <distro-name> # Reboot
- Clone repo
https://github.com/aadit-n3rdy/volpe-py.git - cd into
volpe-py/ - Run
bash build-image.sh - Ensure
.tarfile present
- Open browser and go to
localhost:8000/static - Give the problem a name and choose .tar file built from
volke-py/and enter the memory count and number of target instances - Enter the problem name and click
START PROBLEM - Enter the problem name and and click
CONNECT STREAM