Create your own Raspberry supercomputer with Raspberry Pi 3 cluster for parallel computing using this tutorial.
Table Of Contents
How to build raspberry pi supercomputer with raspberry pi cluster?
Moving forward, the next step is to choose the programming language.
you might download the zip file.
See the version used below (4.4)
DownloadWin32DiskImager installer.
You need this to burn Raspbian image to your SD card.
DownloadPuTTYSSH client to connect to your RPis.
Plug the Ethernet cable and return to your gear to dive into the Pi remotely.
Open acommand promptand jot down ping raspberrypi.
By default, the RPis are named raspberrypi and can be easily spotted on the web link.
Once you ping it, you will be able to see the IP address of the equipment.
Save this IP address for later use, as you will need it in PuTTY.
Then, you will have to clone this SD card and put them into the other RPis.
or you’re free to name them the way you want.
pi01:
Use anetwork scannerto find the IP address of the newly added unit.
Now, you gotta store each IP address into a host file also known as machinefile.
This file contains the hosts which start the processes on.
*In parallel computing, multiple computers or even multiple processor cores within the same computer are called nodes.
Configuring SSH keys for each RPi
Now, you better be able to command each RPi without using users/passwords.
By doing this, MPI will be able to communicate with each equipment without bothering about credentials.
Each authorized_keys file on each unit should contain 3 keys (as stated in the architecture diagram above).
Now, the system is ready for testing.
Note: If your IP address changes, thekeyswill be invalid and the steps will have to be repeated.
you could also build your ownpocket-sizeRaspberry Pi powered Linux computer.
do let us know if you know of any other uses of Raspberry Pi.
we will surely write a tutorial about it.
Source:thundaxsoftware
Read More
source: www.techworm.net