Movatterモバイル変換


[0]ホーム

URL:


PDF, PPTX3,156 views

Introducing HPC with a Raspberry Pi Cluster

The document discusses the implementation of High-Performance Computing (HPC) using a Raspberry Pi cluster in educational settings, highlighting the author's background, inspirations, and teaching materials. It details the author's personal project, 'Tweety Pi', and various demonstrations utilizing Raspberry Pi for HPC training, alongside challenges and feedback from teaching experiences. Future work includes enhancements in configuration management and public engagement initiatives using HPC for research applications.

Related topics:

Embed presentation

Download as PDF, PPTX
Introducing HPC with a Raspberry Pi ClusterColin Sauzé <cos@aber.ac.uk>Research Software EngineerSuper Computing Wales ProjectAberystwyth UniversityA practical use of and good excuse to build Raspberry Pi Clusters
Overview● About Me● Inspirations● Why teach HPC with Raspberry Pi?● My Raspberry Pi cluster● Experiences from teaching● Future Work
About Me● Research Software Engineer withSupercomputing Wales project– 4 university partnership to supplyHPC systems– Two physical HPCs● PhD in Robotics– Experience with Linux on singleboard computers– Lots of Raspberry Pi projects
Inspiration #1: Los Alamos National Laboratory● 750 node cluster● Test system for softwaredevelopment● Avoid tying up the real cluster
Inspiration #2: Wee Archie/Archlet● EPCC’s Raspberry Pi Cluster● Archie: 18x Raspberry Pi 2’s(4 cores each)● Archlet: smaller 4 or 5 nodeclusters.● Used for outreach demos.● Setup instructions:https://github.com/EPCCed/wee_archletImage fromhttps://raw.githubusercontent.com/EPCCed/wee_archlet/master/images/IMG_20170210_132818620.jpg
Inspiration #3: Swansea’s Raspberry Pi Cluster● 16x Raspberry Pi 3s● CFD demo using a Kinectsensor● Demoed at the SwanseaFestival of Science 2018
Why Teach with a Raspberry Pi cluster?● Avoid loading real clusters doing actual research– Less fear from learners that they might break something● Resource limits more apparent● More control over the environment● Hardware less abstract● No need to have accounts on a real HPC
My Cluster● “Tweety Pi”– 10x Raspberry Pi model Bversion 1s– 1x Raspberry Pi 3 ashead/login node– Raspbian Stretch● Head node acts as WiFiaccess point– Internet via phone or laptop
Demo Software● British Science Week 2019– Simple Pi with Monte Carlo methods demo– MPI based– GUI to control how many jobs launch and showqueuing● Swansea CFD demo– Needs more compute power– 16x Raspberry Pi 3 vs 10x Raspberry Pi 1● Wee Archie/Archlet Demos– Many demos available●I only found this recently– https://github.com/EPCCed/wee_archie
Making a realistic HPC environment● MPICH● Slurm● Quotas on home directories● NFS mounted home directories● Software modules● Network booting compute nodes
Network booting hack● No PXE boot support on original Raspberry Pi (or Raspberry PiB+ and 2)● Kernel + bootloader on SD card● Root filesystem on NFS– Cmdline.txt contains:● console=tty1 root=/dev/nfs nfsroot=10.0.0.10:/nfs/node_rootfs,vers=3 ro ip=dhcp elevator=deadline rootwait● SD cards can be identical, small 50mb image, easy to replace
Teaching Materials● Based on Introduction to HPC with Super Computing Wales carpentry stylelesson:– What is an HPC?– Logging in– Filesystems and transferring data– Submitting/monitoring jobs with Slurm– Profiling– Parallelising code, Amdahl’s law– MPI– HPC Best Practice
Experiences from Teaching – STFC SummerSchool● New PhD students in solarphysics– Not registered at universitiesyet, no academic accounts● 15 people each time– 1st time using HPC for many– Most had some Unixexperience● Subset of Super ComputingWales introduction to HPCcarpentry lesson
Feedback● Very Positive●A lot seemed to enjoy playing around with SSH/SCP– First time using a remote shell for some– Others more adventurous than they might have been on a real HPC● Main complaint was lack of time (only 1.5 hours)– Only got as far as covering basic job submission– Quick theoretical run through of MPI and Amdahl’s law– Probably have 3-4 hours of material●Queuing became very apparent– 10 nodes, 15 users– “watch squeue” running on screen during practical parts
Problems● Slurm issues on day 1– Accidentally overwrote a system user when creating accounts● WiFi via Laptop/phone slow– When users connect to the cluster its their internet connection too– Relied on this for access to course notes
Experiences from teaching – SupercomputingWales Training● Approximately 10 people– Mix of staff and research students– Mixed experience levels– All intending to use a real HPC● Simultaneously used Raspberry Pi and real HPC– Same commands run on both● Useful backup system for those with locked accounts● Feedback good– Helped make HPC more tangible
Future Work● Configuration management tool(Ansible/Chef/Puppet/Salt etc) insteadof script for configuration● CentOS/Open HPC stack instead ofRaspbian● Public engagement demo whichfocuses on our research– Analysing satellite imagery– Simulate the monsters from MonsterLab(https://monster-lab.org/)
More Information● Setup instructions and scripts -https://github.com/colinsauze/pi_cluster● Teaching material -https://github.com/SCW-Aberystwyth/Introduction-to-HPC-with-RaspberryPi● Email me: cos@aber.ac.uk

Recommended

PDF
CUDA-Python and RAPIDS for blazing fast scientific computing
PDF
State of ARM-based HPC
PDF
Exploring the Programming Models for the LUMI Supercomputer
PDF
High-Performance and Scalable Designs of Programming Models for Exascale Systems
PDF
Introduction to GPUs in HPC
PDF
Programming Models for Exascale Systems
PDF
A Library for Emerging High-Performance Computing Clusters
PDF
ARM HPC Ecosystem
PDF
Lustre Best Practices
PDF
Utilizing AMD GPUs: Tuning, programming models, and roadmap
PDF
Getting started with AMD GPUs
PDF
TAU E4S ON OpenPOWER /POWER9 platform
PDF
Microsoft Project Olympus AI Accelerator Chassis (HGX-1)
PDF
A PCIe Congestion-Aware Performance Model for Densely Populated Accelerator S...
PPTX
AI OpenPOWER Academia Discussion Group
PDF
BXI: Bull eXascale Interconnect
PDF
IBM HPC Transformation with AI
PDF
Energy Efficient Computing using Dynamic Tuning
PDF
OpenCAPI-based Image Analysis Pipeline for 18 GB/s kilohertz-framerate X-ray ...
PPT
Welcome to the 2016 HPC Advisory Council Switzerland Conference
PDF
Evaluating GPU programming Models for the LUMI Supercomputer
PDF
ARM and Machine Learning
PDF
Huawei’s requirements for the ARM based HPC solution readiness - Joshua Mora
 
PDF
DOME 64-bit μDataCenter
PDF
SCFE 2020 OpenCAPI presentation as part of OpenPWOER Tutorial
PDF
Assisting User’s Transition to Titan’s Accelerated Architecture
PDF
OpenHPC: A Comprehensive System Software Stack
PDF
Deep Learning on ARM Platforms - SFO17-509
 
PPT
Raspberry Pi Cluster Test Bed
PPTX
High performance computing for research

More Related Content

PDF
CUDA-Python and RAPIDS for blazing fast scientific computing
PDF
State of ARM-based HPC
PDF
Exploring the Programming Models for the LUMI Supercomputer
PDF
High-Performance and Scalable Designs of Programming Models for Exascale Systems
PDF
Introduction to GPUs in HPC
PDF
Programming Models for Exascale Systems
PDF
A Library for Emerging High-Performance Computing Clusters
PDF
ARM HPC Ecosystem
CUDA-Python and RAPIDS for blazing fast scientific computing
State of ARM-based HPC
Exploring the Programming Models for the LUMI Supercomputer
High-Performance and Scalable Designs of Programming Models for Exascale Systems
Introduction to GPUs in HPC
Programming Models for Exascale Systems
A Library for Emerging High-Performance Computing Clusters
ARM HPC Ecosystem

What's hot

PDF
Lustre Best Practices
PDF
Utilizing AMD GPUs: Tuning, programming models, and roadmap
PDF
Getting started with AMD GPUs
PDF
TAU E4S ON OpenPOWER /POWER9 platform
PDF
Microsoft Project Olympus AI Accelerator Chassis (HGX-1)
PDF
A PCIe Congestion-Aware Performance Model for Densely Populated Accelerator S...
PPTX
AI OpenPOWER Academia Discussion Group
PDF
BXI: Bull eXascale Interconnect
PDF
IBM HPC Transformation with AI
PDF
Energy Efficient Computing using Dynamic Tuning
PDF
OpenCAPI-based Image Analysis Pipeline for 18 GB/s kilohertz-framerate X-ray ...
PPT
Welcome to the 2016 HPC Advisory Council Switzerland Conference
PDF
Evaluating GPU programming Models for the LUMI Supercomputer
PDF
ARM and Machine Learning
PDF
Huawei’s requirements for the ARM based HPC solution readiness - Joshua Mora
 
PDF
DOME 64-bit μDataCenter
PDF
SCFE 2020 OpenCAPI presentation as part of OpenPWOER Tutorial
PDF
Assisting User’s Transition to Titan’s Accelerated Architecture
PDF
OpenHPC: A Comprehensive System Software Stack
PDF
Deep Learning on ARM Platforms - SFO17-509
 
Lustre Best Practices
Utilizing AMD GPUs: Tuning, programming models, and roadmap
Getting started with AMD GPUs
TAU E4S ON OpenPOWER /POWER9 platform
Microsoft Project Olympus AI Accelerator Chassis (HGX-1)
A PCIe Congestion-Aware Performance Model for Densely Populated Accelerator S...
AI OpenPOWER Academia Discussion Group
BXI: Bull eXascale Interconnect
IBM HPC Transformation with AI
Energy Efficient Computing using Dynamic Tuning
OpenCAPI-based Image Analysis Pipeline for 18 GB/s kilohertz-framerate X-ray ...
Welcome to the 2016 HPC Advisory Council Switzerland Conference
Evaluating GPU programming Models for the LUMI Supercomputer
ARM and Machine Learning
Huawei’s requirements for the ARM based HPC solution readiness - Joshua Mora
 
DOME 64-bit μDataCenter
SCFE 2020 OpenCAPI presentation as part of OpenPWOER Tutorial
Assisting User’s Transition to Titan’s Accelerated Architecture
OpenHPC: A Comprehensive System Software Stack
Deep Learning on ARM Platforms - SFO17-509
 

Similar to Introducing HPC with a Raspberry Pi Cluster

PPT
Raspberry Pi Cluster Test Bed
PPTX
High performance computing for research
PPTX
PDF
Accessible hpc for everyone with docker and containers
PDF
PDF
PDF
OpenNebulaconf2017US: Rapid scaling of research computing to over 70,000 cor...
PPTX
Presentation 2 Spring 2016 FINAL fat cut (1)
PDF
PPTX
HannaRaspberryPi
PDF
HPC Cluster Computing from 64 to 156,000 Cores 
PDF
PDF
Cheap HPC
PPTX
Senior Design: Raspberry Pi Cluster Computing
PDF
High Performance Computing in a Nutshell
PDF
PERFORMANCE AND ENERGY-EFFICIENCY ASPECTS OF CLUSTERS OF SINGLE BOARD COMPUTERS
PDF
PERFORMANCE AND ENERGY-EFFICIENCY ASPECTS OF CLUSTERS OF SINGLE BOARD COMPUTERS
PDF
R&D work on pre exascale HPC systems
PDF
PDF
Uber cloud at ucc dresden dec 2013
Raspberry Pi Cluster Test Bed
High performance computing for research
Accessible hpc for everyone with docker and containers
OpenNebulaconf2017US: Rapid scaling of research computing to over 70,000 cor...
Presentation 2 Spring 2016 FINAL fat cut (1)
HannaRaspberryPi
HPC Cluster Computing from 64 to 156,000 Cores 
Cheap HPC
Senior Design: Raspberry Pi Cluster Computing
High Performance Computing in a Nutshell
PERFORMANCE AND ENERGY-EFFICIENCY ASPECTS OF CLUSTERS OF SINGLE BOARD COMPUTERS
PERFORMANCE AND ENERGY-EFFICIENCY ASPECTS OF CLUSTERS OF SINGLE BOARD COMPUTERS
R&D work on pre exascale HPC systems
Uber cloud at ucc dresden dec 2013

More from inside-BigData.com

PDF
Major Market Shifts in IT
PDF
Preparing to program Aurora at Exascale - Early experiences and future direct...
PPTX
Transforming Private 5G Networks
PDF
The Incorporation of Machine Learning into Scientific Simulations at Lawrence...
PDF
How to Achieve High-Performance, Scalable and Distributed DNN Training on Mod...
PDF
Evolving Cyberinfrastructure, Democratizing Data, and Scaling AI to Catalyze ...
PDF
HPC Impact: EDA Telemetry Neural Networks
PDF
Biohybrid Robotic Jellyfish for Future Applications in Ocean Monitoring
PDF
Machine Learning for Weather Forecasts
PPTX
HPC AI Advisory Council Update
PDF
Fugaku Supercomputer joins fight against COVID-19
PDF
HPC at Scale Enabled by DDN A3i and NVIDIA SuperPOD
PDF
Versal Premium ACAP for Network and Cloud Acceleration
PDF
Zettar: Moving Massive Amounts of Data across Any Distance Efficiently
PDF
Scaling TCO in a Post Moore's Era
PDF
Overview of HPC Interconnects
PDF
Efficient Model Selection for Deep Neural Networks on Massively Parallel Proc...
PDF
Data Parallel Deep Learning
PDF
Making Supernovae with Jets
PDF
Adaptive Linear Solvers and Eigensolvers
Major Market Shifts in IT
Preparing to program Aurora at Exascale - Early experiences and future direct...
Transforming Private 5G Networks
The Incorporation of Machine Learning into Scientific Simulations at Lawrence...
How to Achieve High-Performance, Scalable and Distributed DNN Training on Mod...
Evolving Cyberinfrastructure, Democratizing Data, and Scaling AI to Catalyze ...
HPC Impact: EDA Telemetry Neural Networks
Biohybrid Robotic Jellyfish for Future Applications in Ocean Monitoring
Machine Learning for Weather Forecasts
HPC AI Advisory Council Update
Fugaku Supercomputer joins fight against COVID-19
HPC at Scale Enabled by DDN A3i and NVIDIA SuperPOD
Versal Premium ACAP for Network and Cloud Acceleration
Zettar: Moving Massive Amounts of Data across Any Distance Efficiently
Scaling TCO in a Post Moore's Era
Overview of HPC Interconnects
Efficient Model Selection for Deep Neural Networks on Massively Parallel Proc...
Data Parallel Deep Learning
Making Supernovae with Jets
Adaptive Linear Solvers and Eigensolvers

Recently uploaded

PPTX
"Feelings versus facts: why metrics are more important than intuition", Igor ...
 
PDF
Agentic Intro and Hands-on: Build your first Coded Agent
PDF
Accessibility & Inclusion: What Comes Next. Presentation of the Digital Acces...
PDF
[BDD 2025 - Full-Stack Development] PHP in AI Age: The Laravel Way. (Rizqy Hi...
PPTX
Guardrails in Action - Ensuring Safe AI with Azure AI Content Safety.pptx
PDF
KMWorld - KM & AI Bring Collectivity, Nostalgia, & Selectivity
PDF
[BDD 2025 - Artificial Intelligence] Building AI Systems That Users (and Comp...
PDF
So You Want to Work at Google | DevFest Seattle 2025
PDF
Top Crypto Supers 15th Report November 2025
PDF
The Evolving Role of the CEO in the Age of AI
PDF
Transforming Content Operations in the Age of AI
PDF
Parallel Computing BCS702 Module notes of the vtu college 7th sem 4.pdf
PDF
[DevFest Strasbourg 2025] - NodeJs Can do that !!
PPTX
kernel PPT (Explanation of Windows Kernal).pptx
PDF
How Much Does It Cost To Build Software
PDF
MuleSoft Meetup: Dreamforce'25 Tour- Vibing With AI & Agents.pdf
PDF
How Much Does It Cost to Build an eCommerce Website in 2025.pdf
PDF
[BDD 2025 - Full-Stack Development] Agentic AI Architecture: Redefining Syste...
PPTX
The power of Slack and MuleSoft | Bangalore MuleSoft Meetup #60
PPTX
MuleSoft AI Series : Introduction to MCP
"Feelings versus facts: why metrics are more important than intuition", Igor ...
 
Agentic Intro and Hands-on: Build your first Coded Agent
Accessibility & Inclusion: What Comes Next. Presentation of the Digital Acces...
[BDD 2025 - Full-Stack Development] PHP in AI Age: The Laravel Way. (Rizqy Hi...
Guardrails in Action - Ensuring Safe AI with Azure AI Content Safety.pptx
KMWorld - KM & AI Bring Collectivity, Nostalgia, & Selectivity
[BDD 2025 - Artificial Intelligence] Building AI Systems That Users (and Comp...
So You Want to Work at Google | DevFest Seattle 2025
Top Crypto Supers 15th Report November 2025
The Evolving Role of the CEO in the Age of AI
Transforming Content Operations in the Age of AI
Parallel Computing BCS702 Module notes of the vtu college 7th sem 4.pdf
[DevFest Strasbourg 2025] - NodeJs Can do that !!
kernel PPT (Explanation of Windows Kernal).pptx
How Much Does It Cost To Build Software
MuleSoft Meetup: Dreamforce'25 Tour- Vibing With AI & Agents.pdf
How Much Does It Cost to Build an eCommerce Website in 2025.pdf
[BDD 2025 - Full-Stack Development] Agentic AI Architecture: Redefining Syste...
The power of Slack and MuleSoft | Bangalore MuleSoft Meetup #60
MuleSoft AI Series : Introduction to MCP

Introducing HPC with a Raspberry Pi Cluster

  • 1.
    Introducing HPC witha Raspberry Pi ClusterColin Sauzé <cos@aber.ac.uk>Research Software EngineerSuper Computing Wales ProjectAberystwyth UniversityA practical use of and good excuse to build Raspberry Pi Clusters
  • 2.
    Overview● About Me●Inspirations● Why teach HPC with Raspberry Pi?● My Raspberry Pi cluster● Experiences from teaching● Future Work
  • 3.
    About Me● ResearchSoftware Engineer withSupercomputing Wales project– 4 university partnership to supplyHPC systems– Two physical HPCs● PhD in Robotics– Experience with Linux on singleboard computers– Lots of Raspberry Pi projects
  • 4.
    Inspiration #1: LosAlamos National Laboratory● 750 node cluster● Test system for softwaredevelopment● Avoid tying up the real cluster
  • 5.
    Inspiration #2: WeeArchie/Archlet● EPCC’s Raspberry Pi Cluster● Archie: 18x Raspberry Pi 2’s(4 cores each)● Archlet: smaller 4 or 5 nodeclusters.● Used for outreach demos.● Setup instructions:https://github.com/EPCCed/wee_archletImage fromhttps://raw.githubusercontent.com/EPCCed/wee_archlet/master/images/IMG_20170210_132818620.jpg
  • 6.
    Inspiration #3: Swansea’sRaspberry Pi Cluster● 16x Raspberry Pi 3s● CFD demo using a Kinectsensor● Demoed at the SwanseaFestival of Science 2018
  • 7.
    Why Teach witha Raspberry Pi cluster?● Avoid loading real clusters doing actual research– Less fear from learners that they might break something● Resource limits more apparent● More control over the environment● Hardware less abstract● No need to have accounts on a real HPC
  • 8.
    My Cluster● “TweetyPi”– 10x Raspberry Pi model Bversion 1s– 1x Raspberry Pi 3 ashead/login node– Raspbian Stretch● Head node acts as WiFiaccess point– Internet via phone or laptop
  • 9.
    Demo Software● BritishScience Week 2019– Simple Pi with Monte Carlo methods demo– MPI based– GUI to control how many jobs launch and showqueuing● Swansea CFD demo– Needs more compute power– 16x Raspberry Pi 3 vs 10x Raspberry Pi 1● Wee Archie/Archlet Demos– Many demos available●I only found this recently– https://github.com/EPCCed/wee_archie
  • 10.
    Making a realisticHPC environment● MPICH● Slurm● Quotas on home directories● NFS mounted home directories● Software modules● Network booting compute nodes
  • 11.
    Network booting hack●No PXE boot support on original Raspberry Pi (or Raspberry PiB+ and 2)● Kernel + bootloader on SD card● Root filesystem on NFS– Cmdline.txt contains:● console=tty1 root=/dev/nfs nfsroot=10.0.0.10:/nfs/node_rootfs,vers=3 ro ip=dhcp elevator=deadline rootwait● SD cards can be identical, small 50mb image, easy to replace
  • 12.
    Teaching Materials● Basedon Introduction to HPC with Super Computing Wales carpentry stylelesson:– What is an HPC?– Logging in– Filesystems and transferring data– Submitting/monitoring jobs with Slurm– Profiling– Parallelising code, Amdahl’s law– MPI– HPC Best Practice
  • 13.
    Experiences from Teaching– STFC SummerSchool● New PhD students in solarphysics– Not registered at universitiesyet, no academic accounts● 15 people each time– 1st time using HPC for many– Most had some Unixexperience● Subset of Super ComputingWales introduction to HPCcarpentry lesson
  • 14.
    Feedback● Very Positive●Alot seemed to enjoy playing around with SSH/SCP– First time using a remote shell for some– Others more adventurous than they might have been on a real HPC● Main complaint was lack of time (only 1.5 hours)– Only got as far as covering basic job submission– Quick theoretical run through of MPI and Amdahl’s law– Probably have 3-4 hours of material●Queuing became very apparent– 10 nodes, 15 users– “watch squeue” running on screen during practical parts
  • 15.
    Problems● Slurm issueson day 1– Accidentally overwrote a system user when creating accounts● WiFi via Laptop/phone slow– When users connect to the cluster its their internet connection too– Relied on this for access to course notes
  • 16.
    Experiences from teaching– SupercomputingWales Training● Approximately 10 people– Mix of staff and research students– Mixed experience levels– All intending to use a real HPC● Simultaneously used Raspberry Pi and real HPC– Same commands run on both● Useful backup system for those with locked accounts● Feedback good– Helped make HPC more tangible
  • 17.
    Future Work● Configurationmanagement tool(Ansible/Chef/Puppet/Salt etc) insteadof script for configuration● CentOS/Open HPC stack instead ofRaspbian● Public engagement demo whichfocuses on our research– Analysing satellite imagery– Simulate the monsters from MonsterLab(https://monster-lab.org/)
  • 18.
    More Information● Setupinstructions and scripts -https://github.com/colinsauze/pi_cluster● Teaching material -https://github.com/SCW-Aberystwyth/Introduction-to-HPC-with-RaspberryPi● Email me: cos@aber.ac.uk

[8]ページ先頭

©2009-2025 Movatter.jp