Readme.md 852 B
Clone the repository
git clone https://gitlab.engr.illinois.edu/owenw2/distributed-systems-mps.git
Enter mp1 directory
cd distributed-systems-mps/mp1
Initialize virtual environment
python -m venv ./venv
python -m ensurepip --upgrade
pip3 install numpy
pip3 install pandas
pip3 install matplotlib
source /venv/bin/activate
Starting node with generated data
chmod +x mp1_node
run this first to allow for the running of bash files
python3 -u gentx.py 0.5 | ./mp1_node <node_identifier> <config_file_path>
- node_identifier - unique string used to identify node
- config_file_path - path of configuration file containing node information
Repeat this process for all nodes
Generating graphs
python graph.py
- generate graphs from the node after it has received inputs