Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anishmprasad/super-pi
A Pi based super-powered cluster computer ( Distributed system )
https://github.com/anishmprasad/super-pi
algorithm
Last synced: 7 days ago
JSON representation
A Pi based super-powered cluster computer ( Distributed system )
- Host: GitHub
- URL: https://github.com/anishmprasad/super-pi
- Owner: anishmprasad
- License: apache-2.0
- Created: 2020-08-22T05:31:20.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-09-08T18:34:37.000Z (2 months ago)
- Last Synced: 2024-09-09T08:45:20.925Z (2 months ago)
- Topics: algorithm
- Language: Makefile
- Homepage:
- Size: 64.4 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# super-pi
A Pi based super-powered cluster computer ( Distributed system )
# Prerequisite
- 3 x RPI 4 Model B 8GB with Heat Sink
- 3 x Samsung Evo plus
- 3 x Type C Cable
- 1 x Network Switch
- 1 x 6 Node Cluster case
- 4 x RJ 45 Category 6
- 1 x mini HDMI to VGA / HDMI# Algorithm
- The Bully Algorithm
- The Ring Algorithm# Algorithm Reference
- https://github.com/ZacharyMcGee/mpi-bully-algorithm
- https://www.meccanismocomplesso.org/en/clusters-and-parallel-programming-with-mpi-and-raspberry-pi/
- https://www.geeksforgeeks.org/election-algorithm-and-distributed-processing/
- https://www.ukessays.com/essays/information-technology/comparisons-with-the-bully-algorithm-information-technology-essay.php
# Reference
- https://magpi.raspberrypi.org/articles/build-a-raspberry-pi-cluster-computer
- https://www.mpich.org/downloads/
- https://makezine.com/projects/build-a-compact-4-node-raspberry-pi-cluster/
- https://magpi.raspberrypi.org/articles/build-a-raspberry-pi-cluster-computer
- https://www.techworm.net/2018/03/learn-build-supercomputer-raspberry-pi-3-cluster.html
- https://community.particle.io/t/raspberry-pi-electron-master-slave-communication/33052
- https://www.geeksforgeeks.org/election-algorithm-and-distributed-processing/
- https://www.ukessays.com/essays/information-technology/comparisons-with-the-bully-algorithm-information-technology-essay.php
- https://www.ques10.com/p/19537/compare-bully-election-algorithm-with-ring-algor-1/
- https://linuxhint.com/setup_hostname_ubuntu_2004/
- https://superuser.com/questions/185678/connect-to-linux-by-name-rather-than-ip
- https://www.open-mpi.org/doc/v4.0/man1/mpic++.1.php
- https://medium.com/@glmdev/building-a-raspberry-pi-cluster-784f0df9afbd
- https://www.nagafm.com/2020/07/02/how-to-create-ssh-alias-in-linux/
# Sleep ubuntu
- https://askubuntu.com/questions/47311/how-do-i-disable-my-system-from-going-to-sleep
- `sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target`
# Steps
- `ssh-keygen -R 192.168.0.16`
- `ssh [email protected]`
- `vim /Users/{username / ghost}/.ssh/known_hosts`# Utils
- `arp -a` // to get all ip address in the network
- `htop` // An interactive system-monitor process-viewer and process-manage
- `nmap -sn 192.168.1.1/12` // for scan all ports 1 - 12 range
- `key : anishmprasad`# WIFI Connection
- nmcli dev wifi list // show available network
- nmcli dev wifi connect "" password "" // connect wifi
- nmcli connection modify "" connection.autoconnect yes // autoconnect
- sudo systemctl restart NetworkManager // restart
- nmcli connection show --active // network status- Deco Reserved IP
- 192.168.68.58 (RPI 1)
- 192.168.68.71 (RPI 2)
- 192.168.68.69 (RPI 3)# Steps
## Machine 1 ( 01 )
- sudo apt-get install gfortran
- cd tools && tar -xzf openmpi-4.0.5.tar.gz && cd openmpi-4.0.5 && ./configure
- sudo apt install ntpdate -y## Machine 2 ( 02 )
- sudo apt-get install gfortran
- cd tools && tar -xzf openmpi-4.0.5.tar.gz && cd openmpi-4.0.5 && ./configure
- sudo apt install ntpdate -y## Machine 3 ( 03 )
- sudo apt-get install gfortran
- cd tools && tar -xzf openmpi-4.0.5.tar.gz && cd openmpi-4.0.5 && ./configure
- sudo apt install ntpdate -y# Licence
Apache - 2.0