<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>My attempt at building a Raspberry Pi Supercomputer</title><link>/members-area/personalblogs/b/blog/posts/my-attempt-at-building-a-raspberry-pi-supercomputer</link><description>A few of us were discussing the processing power of all the new maker kits as well as what actually defines a single board computer. We discussed how boards like the Quad core SABRE Lite board have enough power to run a tablet but are divided o...</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: My attempt at building a Raspberry Pi Supercomputer</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/my-attempt-at-building-a-raspberry-pi-supercomputer</link><pubDate>Fri, 08 Feb 2013 16:43:21 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:b297cfef-93af-498a-9d33-c84cb9dd7673</guid><dc:creator>Former Member</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;&lt;span&gt;Just finished mine. Worked great! Documented it at &lt;/span&gt;&lt;a class="jive-link-external-small" href="http://www.rpural.net/mpich" rel="nofollow" target="_blank"&gt;http://www.rpural.net/mpich&lt;/a&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=14936&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: My attempt at building a Raspberry Pi Supercomputer</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/my-attempt-at-building-a-raspberry-pi-supercomputer</link><pubDate>Fri, 01 Feb 2013 22:35:51 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:b297cfef-93af-498a-9d33-c84cb9dd7673</guid><dc:creator>Former Member</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Thanks for the help Ben.&amp;nbsp; I will definitely have to look into this.&amp;nbsp; I look forward to experiment with this.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;JoelQQ&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=14936&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: My attempt at building a Raspberry Pi Supercomputer</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/my-attempt-at-building-a-raspberry-pi-supercomputer</link><pubDate>Fri, 01 Feb 2013 20:00:58 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:b297cfef-93af-498a-9d33-c84cb9dd7673</guid><dc:creator>niftymitch</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I have built one of these small clusters and it is a grand way to explore parallel programming on a budget.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Step one is to get a couple two, four or five systems up running and identical.&lt;/p&gt;&lt;p&gt;Start with &lt;span&gt;wheezy raspbian &lt;/span&gt;because the hard float (hf) ABI&amp;nbsp; is an advantage.&lt;/p&gt;&lt;p&gt;Update it: sudo apt-get update; sudo apt-get upgrade&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Step two is to network all the boards so you can ssh to each without a password.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Step three is to compile and load one of the current versions of MPI (message&lt;/p&gt;&lt;p&gt;passing interface) software.&amp;nbsp;&amp;nbsp; The latest compiles and runs well enough that&lt;/p&gt;&lt;p&gt;it is worth checking for a prebuilt version that can be installed vi apt-get or&lt;/p&gt;&lt;p&gt;aptitude.&amp;nbsp; Doing this will require compilers and run time libraries.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Step next; compile a small standard benchmark, copy it to each of the nodes (boards)&lt;/p&gt;&lt;p&gt;and run it.&amp;nbsp;&amp;nbsp; To coordinate this the tool &amp;quot;mpirun&amp;quot; is often the correct choice however&lt;/p&gt;&lt;p&gt;on large clusters a queue manager is used to share, queue, bill and otherwise &lt;/p&gt;&lt;p&gt;manage the systems.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Results: correct, excelent teaching tool but not too speedy.&amp;nbsp;&amp;nbsp; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;What is MPI and how does it work:&amp;nbsp;&amp;nbsp; One way to think about MPI is &lt;/p&gt;&lt;p&gt;to start with a very long tape from a ten-key adding machine or a grocery store.&lt;/p&gt;&lt;p&gt;By cutting the tape into N bits N people can add up their bit of tape&lt;/p&gt;&lt;p&gt;then those sub-answers can be merged and &amp;quot;finalized&amp;quot;.&amp;nbsp; The messages&lt;/p&gt;&lt;p&gt;passed from rank0 to other ranks can be data, offsets into a file, file name per rank,&lt;/p&gt;&lt;p&gt;progress and more.&amp;nbsp;&amp;nbsp;&amp;nbsp; One analogy is to have N people sitting arround a&lt;/p&gt;&lt;p&gt;table.&amp;nbsp;&amp;nbsp; Pass mesages on 3x5 colored note cards and file folders.&amp;nbsp;&amp;nbsp; Compare and &lt;/p&gt;&lt;p&gt;contrast a round table, a long skinny rectangle table.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Important and exagerated issues common to all MPI clusters.&amp;nbsp;&amp;nbsp; Latency:&lt;/p&gt;&lt;p&gt;latency is never low enough and programming to manage latency is a bonus.&lt;/p&gt;&lt;p&gt;Bandwidth: bandwidth is key moving data unnecessarily, twice or more slows down the &lt;/p&gt;&lt;p&gt;fastest cluser.&amp;nbsp; Blunders here are obvious.&amp;nbsp;&amp;nbsp; Algorithms: there are many ways&lt;/p&gt;&lt;p&gt;to skin a cat/ divide up a problem and when well chosen speed things a lot.&lt;/p&gt;&lt;p&gt;ETC.....&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Value:&amp;nbsp; &lt;strong&gt;Perfect for the goals of R-Pi&amp;nbsp;&amp;nbsp; i.e. teaching.&lt;/strong&gt;.. students can build and &lt;/p&gt;&lt;p&gt;learn how to use clusters for pennies on the dollar.&amp;nbsp; If each student has&lt;/p&gt;&lt;p&gt;two boards he/she can start.&amp;nbsp; If a class of 16 each brings their boards to&lt;/p&gt;&lt;p&gt;a lab the 2 node homework can be run on 2, 4, 8, 16, 32 nodes (ranks)&lt;/p&gt;&lt;p&gt;evaluated, profiled, debugged.&amp;nbsp; Batch and billing systems developed and tested..&lt;/p&gt;&lt;p&gt;Slurp on a smoothy and ponder &amp;quot;Slurm&amp;quot; without getting &amp;quot;Torqued&amp;quot; out.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Note: MPI can be coded using with C, FORTRAN, Python, C++&amp;nbsp; &lt;/p&gt;&lt;p&gt;MPI is not the only way to run code in parallel.&amp;nbsp; Parallel programming&lt;/p&gt;&lt;p&gt;is hard yet it is currently the best way to solve many problems.&lt;/p&gt;&lt;p&gt;Many multi core laptops can run circles arround a Pi cluster but&lt;/p&gt;&lt;p&gt;&lt;span&gt;you cannot interconnect 16 student laptops together in a student lab&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;with the same ease and results.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;SUMMARY:&amp;nbsp; Ponder how one learns how to use a million+ rank (core) cluster.&amp;nbsp; If each&lt;/p&gt;&lt;p&gt;core is about a half a grand each....&amp;nbsp;&amp;nbsp; well you fill in the blanks and do the math.&amp;nbsp;&amp;nbsp; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;The R-Pi is a win.&lt;/strong&gt;&amp;nbsp;&amp;nbsp; &lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=14936&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: My attempt at building a Raspberry Pi Supercomputer</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/my-attempt-at-building-a-raspberry-pi-supercomputer</link><pubDate>Fri, 01 Feb 2013 14:39:04 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:b297cfef-93af-498a-9d33-c84cb9dd7673</guid><dc:creator>Former Member</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;We&amp;#39;re a group of college students at UIUC - the University of Illinois at Urbana-Champaign and we built something similar last november. We have one with 17 Pi&amp;#39;s sitting in my room now. We found that we had much better luck using openmpi rather than mpich2. We still haven&amp;#39;t done anything big with it yet - just some scripts to sort numbers across the distributed platform. Here&amp;#39;s our site: &lt;a class="jive-link-external-small" href="http://raspi.rohankapoor.com" rel="nofollow ugc noopener" target="_blank"&gt;http://raspi.rohankapoor.com&lt;/a&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=14936&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: My attempt at building a Raspberry Pi Supercomputer</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/my-attempt-at-building-a-raspberry-pi-supercomputer</link><pubDate>Thu, 31 Jan 2013 23:57:03 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:b297cfef-93af-498a-9d33-c84cb9dd7673</guid><dc:creator>rcomeau</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;You show this (as an email) like it&amp;#39;s a done thing, but there is no substance to this post!!!! If you are going to make a statement about a super computer(raspberry pi version) then have something to show!!&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=14936&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: My attempt at building a Raspberry Pi Supercomputer</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/my-attempt-at-building-a-raspberry-pi-supercomputer</link><pubDate>Thu, 31 Jan 2013 23:22:29 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:b297cfef-93af-498a-9d33-c84cb9dd7673</guid><dc:creator>Former Member</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;So I am a little confused on how you would actually physically use this setup once you have completed all the steps provided.&amp;nbsp; Would you use one Raspberry Pi like you usually would and it would automatically use the extra processing power?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;JoelQQ&lt;/span&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=14936&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>