Building a Raspberry Pi Supercomputer (2021)
Building a Raspberry Pi Supercomputer (2021)
Building
Raspberry PI
Supercomputers
Federico LucifredI
me me me
Things I worked on
# passwd
# vi /etc/password
$ passwd #update password
# vi /etc/sudoers
federico ALL=(ALL) NOPASSWD: ALL
auto wlan0
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
auto eth0
iface eth0 inet static
address 10.1.10.240
netmask 255.255.255.0
gateway 10.1.10.1
dns-nameservers 10.1.10.1 8.8.8.8
/etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=US
network={
ssid="Red Hat Guest"
psk="Shadowman33"
}
network={
ssid="scale-public-fast"
psk="pasadena"
}
ssh-import-id on GitHub
restartAllNodes.sh
stopAllNodes.sh
testAllNodes.sh
resize_rpi.sh
some examples:
# vi /etc/exports
/export 10.1.10.0/24(rw,sync)
# mkdir /export
# chown federico:federico /export
$ sudo vi /etc/fstab
pc0:/export /export nfs defaults 0 0
$ cd Pimoroni/blinkt/examples
$ larson.py
$ parallel-ssh -h ~/nodes /export/larson.py
$ cpu_load.py
$ stress -c 2
flucifredi@acm.org
@0xF2
Federico Lucifredi MMXXi
(c) 2021 Federico Lucifredi
(CC)Attribution-Noncommercial-
No Derivative Works 3.0