This is a step by step guide on how to set up a miniHPC using Raspberry Pis.
Flash an SD card as described in episode 2 and give it a name of «nodename»002 where «nodename» is the name that you use for all your nodes in your HPC.
Run and update and an upgrade
sudo apt update -y
sudo apt full-upgrade -y
Open /boot/firmware/config.txt
and add the following two lines at the bottom in the [all]
section.
dtoverlay=disable-wifi
dtoverlay=disable-bt
Save the file and reboot
sudo mkdir /sharedfs
sudo apt-get install -y slurmd slurm-client munge vim ntp ntpdate
/etc/hosts
from the login node to the compute node/etc/slurm/slurm.conf
/etc/munge/munge.key
from the login node to the compute nodeproc /proc proc defaults 0 0
PARTUUID=3e3e7392-01 /boot/firmware vfat defaults 0 2
PARTUUID=3e3e7392-02 / ext4 defaults,noatime 0 1
192.168.5.101:/sharedfs /sharedfs nfs defaults 0 0
192.168.5.101:/home /home nfs defaults 0 0
mkdir essi
cd essi
wget https://raw.githubusercontent.com/EESSI/eessi-demo/main/scripts/install_cvmfs_eessi.sh
sudo bash ./install_cvmfs_eessi.sh
echo "source /cvmfs/software.eessi.io/versions/2023.06/init/bash" | sudo tee -a /etc/profile