The Register® — Biting the hand that feeds IT

Feeds

New guide: Bake your own Raspberry Pi Lego-crust cluster

'And here's one we made earlier!'

Pics Scientists at the University of Southampton have built a "supercomputer" from Raspberry Pis lashed together to form a colourful data-cruncher.

Professor Simon Cox and his team racked up 64 credit card-sized Pis using Lego building blocks to create the parallel computer. They named their beast Iridis-Pi after the university's Intel-powered 72-teraflops supercomputer, Iridis.

Here's a photo of their very modest super in all its Pi-and-brick glory:

Raspberry Pi and Lego Supercomputer, credit Simon J Cox 2012

Back of the net: Ethernet cables running to Iridis-Pi's nodes

The cheapo cluster has 1TB of storage, thanks to the 16GB SD card inserted into each board, and 16GB of RAM. Each Pi is connected by 100MBit Ethernet, and is powered by a Broadcom BCM2835 graphics chip that handily features a 700MHz ARMv6 processor core.

Raspberry Pi and Lego Supercomputer, credit: Simon J Cox 2012

A two-Pi unit from the Iridis-Pi 'supercomputer' (Pictures by Prof Cox)

The Debian GNU/Linux cluster runs off a single 13-amp mains plug, and uses the Message Passing Interface (MPI) protocol to manage the communications between each of the 64 nodes. Professor Cox wrote the control code in Python using Microsoft's Visual Studio.

Prof Cox estimated the whole caboodle cost under £2,500, not including the network switches.

The biggest challenge was sourcing enough Raspberry Pis to build the cluster: the tiny $35 computer sells out quickly after each batch is built. There are full details on rigging up two Pis into a block, and how to harness in a whole bunch, on the uni's website. El Reg notes this is not the first time Raspberry Pis have been cased in Lego.

Prof Cox said:

As soon as we were able to source sufficient Raspberry Pi computers we wanted to see if it was possible to link them together into a supercomputer. We installed and built all of the necessary software on the Pi starting from a standard Debian Wheezy system image and we have published a guide so you can build your own supercomputer.

It's not in danger of threatening IBM's Sequoia beast, the world's most powerful supercomputer, which delivers 16.32 petaflops of sustained performance running across 1,570,000 PowerPC cores. ®

Genius..

I was wondering when someone would cluster the PIs, buut using Lego as a cluster rack just makes the project a whole let better..

Well done!

21
0

Nothing to say really...

...just raise a pint to those profs at Southampton Uni (from the Hobbit pub). Excellent.

Perhaps the Pi can be used as the standard unit of super-computing performance?

10
0

Re: Or...

What? The pi uses less than 4 watts at full tilt, and a quad-core macmini uses 85 W

http://support.apple.com/kb/HT3468

64 * 4 = 256 watts

4 * 85 = 340 watts

So your wrong :)

9
1

Re: Or...

Doubt it would use less power or perform parallel tasks better. A quad core is not the same as 4 different CPUs.

At least if one of the raspberry pi's dies , its pretty cheap to replace.

7
0

Re: One Pi is Pi

The collective noun for Raspbery Pies is a punnet.

7
0

More from The Register

Fanbois vs fandroids: Punters display 'tribal loyalty'
Buying a new mobe? You'll stick with the same maker - survey
iPhone 5 totters at the top as Samsung thrusts up UK mobe chart
But older Apples are still holding their own
Google to Glass devs: 'Duh! Go ahead, hack your headset'
'We intentionally left the device unlocked'
Japan's naughty nurses scam free meals with mobile games
Hungry women trick unsuspecting otaku into paying for grub
 breaking news
Turn off the mic: Nokia gets injunction on 'key' HTC One component
Dutch court stops Taiwanese firm from using microphones
Next Xbox to be called ‘Xbox Infinity’... er... ‘Xbox’
We don’t know. Maybe Microsoft doesn’t (yet) either
Sord drawn: The story of the M5 micro
The 1983 Japanese home computer that tried to cut it in the UK
Nudge nudge, wink wink interface may drive Google Glass
Two-finger salutes also come in handy, as may patent lawyers
Black-eyed Pies reel from BeagleBoard's $45 Linux micro blow
Gigahertz-class pocket-sized ARM Ubuntu rig, anyone?