Pi Cluster Hat: Getting Started

800 views
Skip to first unread message

Kevin Lemus

unread,
Nov 20, 2016, 1:25:13 PM11/20/16
to ClusterHAT
Hey everyone! I recently purchased the cluster hat and I've got it all set up with four raspberry pi zeros, a pi 3 controller, and a fancy case w/ cooling fan I've just finished designing and 3D printing. The pi's are running the easy install images listed on the cluster hat website for controller, p1, 2, 3, and 4.

Now that the hardware is set up, I'm finding it difficult to get started learning how to communicate from controller to pi zero or how to even get started with usb gadget mode. I'm fairly experienced with Linux and programming (C, C++, java, assembly, etc.) and was wondering if anyone could provide me with resources to get started using the cluster. Any help would be appreciated! Thank you!

Chris Burton

unread,
Dec 3, 2016, 4:49:14 PM12/3/16
to ClusterHAT
Hi,

Hey everyone! I recently purchased the cluster hat and I've got it all set up with four raspberry pi zeros, a pi 3 controller, and a fancy case w/ cooling fan I've just finished designing and 3D printing. The pi's are running the easy install images listed on the cluster hat website for controller, p1, 2, 3, and 4.

Now that the hardware is set up, I'm finding it difficult to get started learning how to communicate from controller to pi zero or how to even get started with usb gadget mode.


You can communicate with the Pi Zeros over the network (or via serial if you wanted) as you would any other cluster of Ethernet connected machines.
 

I'm fairly experienced with Linux and programming (C, C++, java, assembly, etc.) and was wondering if anyone could provide me with resources to get started using the cluster. Any help would be appreciated! Thank you!  


It really depends on what you're trying to achieve or learn about, I'd assume you'll find something related to your interests with a search.

For Python there are things like https://wiki.python.org/moin/ParallelProcessing , you can get implementations of MPI for most languages, for C and client-server type things you could look the Cosm SDK http://www.mithral.com/cosm/ - I might be biased towards this one ;), then there are things like distcc if your into compiling, etc.

Chris.

Paul Brown

unread,
Jan 28, 2017, 5:23:19 PM1/28/17
to ClusterHAT
I found this book very useful:
https://www.packtpub.com/hardware-and-creative/raspberry-pi-super-cluster
It goes through how to setup the software of the cluster as well as using MPI and Hadoop.

So far I've only used it for MPI, with Python and C++, but right now I'm trying to find where I put it so I can work through the Hadoop section!
Reply all
Reply to author
Forward
0 new messages