Raspberry Pi parallel computing and cluster computing experiment
3 minutes read (About 380 words)
We are going to use 4 Raspberry Pis to build a parallel computing cluster based on MPI protocol. As usual, we are going to install Raspbian OS for every RPi machine:
Building programming environment
Raspbian Installation
1 2
7za x 2019-09-26-raspbian-buster.zip dd bs=4M if=2019-07-10-raspbian-buster.img of=/dev/sdX status=progress conv=fsync
To enable SSH, placing a file name ssh without any extension on the boot partition(rather than /boot/ on rootfs partition) of SD card.
deb http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ buster main non-free contrib deb-src http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ buster main non-free contrib
/etc/apt/sources.list.d/raspi.list
1
deb http://mirrors.tuna.tsinghua.edu.cn/raspberrypi/ buster main ui
Upgrade system
1 2
sudo apt update sudo apt upgrade # It may take a long time
Comments
shortname
for Disqus. Please set it in_config.yml
.