Monday, April 18, 2011

CIS(theta) Meeting XIII (2010-2011) - Instant Cluster, just add water (continued)!

Aim: 
Instant Cluster, just add water (continued)!

Attending: 
CIS(theta) 2010-2011: DavidG, HerbertKJoshG, RyanH

Reading:
NA

Parallel Python
IPython
Large Integer number crunching Mersenne Primes
http://www.hoise.com/primeur/03/articles/weekly/AE-PR-01-04-37.html
Large Integer number crunching Beal Conjecture
http://www.bealconjecture.com/

InstantCluster Step 4: Software Stack (Continued)
We got Josh up to speed adding openSSH and public-key authentication and openMPI. So, what follows is a summary of what we did to get up to plublic-key authentication. We then installed openMPI (see dependencies below) and tested multi-core with flops. Testing the cluster as a whole will have to wait until the next meeting! We followed openMPI install instructions for Ubuntu from
http://www.cs.ucsb.edu/~hnielsen/cs140/openmpi-install.html
These instructions say to use sudo and run run apt-get install openmpi-bin openmpi-doc libopenmpi-dev However, the way our firewall is setup at school, I can never update my apt-get sources files properly. So, I used http://packages.ubunutu.com to look up these files and got the following dependencies!



If you think that's bad, look at all the dependencies I ran into to install VLC on Ubuntu Maverick Meerkat 10.04 which was required to instrall handbrake!



We finally got all this working (sans vlc which is on my smartboard station). Then we used the following FORTRAN code to test multi-core. FORTRAN, really? I haven't used FORTRAN since 1979!



we compiled flops.f after installing gfortran too:
mpif77 -o flops flops.f

and tested openmpi and got around 900 MFLOPS using 2 cores:
mpirun -np 2 flops

Next meeting we have to generate a "machines" file to tell mpirun where all the nodes are:
mpirun -np 4 --hostfile machines flops

Well, that's all for now, enjoy!

No comments:

Post a Comment