Showing posts with label mosix. Show all posts
Showing posts with label mosix. Show all posts

Thursday, September 29, 2011

CIS(theta) 2011-2012 - KISS Natty 64 install fest! - Meeting III



What was discussed:
There was a unanimous decision to Nattify my entire PC Classroom/Lab using the latest 64bit version of Ubuntu. Thanx guys, you did a great job. We decided to KISS: Keep It Simple Stupid, as you will see in the steps listed below. PC24, aka omega, still has some issues, but I think we just need to reinstall that one. Also, I forgot one drawback we encountered the last time we tried a 64bit Linux kernel. Most 64bit related issues seem to have been resolved since then (jre, flash, etc). However, one problem still remains, there is no 64bit version of SmartNotebook for Linux! I may have to downgrade PC25, aka the Teacher Station, aka shadowfax, to 32bit leaving only 24 PCs for openMPI. Before I do that, I'm going to try out http://express.smarttech.com which is an online SmartNotebook you don't have to install. I may also try out http://sketchcast.com I suppose I could use any pen app I please, such as xournal, but I like SmartNotebook for some reason. I did manage to add chrome (https://esd.nasboces.org) and setup my bluetooth tablet (SmartBoard is still down). I didn't get a chance to add jre to FireFox (http://www.sagenb.org, http://screencast-o-matic.com) but I'll get to it on Monday! BTW, the servers are fine, so we left them alone. The servers are running 10.04 LTS 32bit Desktop edition plus openssh, vsftp and jdk. For more info on what we did to install the servers last year, take a look at, http://shadowfaxrant.blogspot.com/2011/05/2-so-many-hard-drives-so-little-time.html and http://www.oracle.com/technetwork/java/javase/install-linux-64-self-extracting-142068.html




What was accomplished: KISS Ubuntu Install Fest!
Step 1) Student and Teacher Stations
Download latest Ubuntu ISO (64bit Natty Narwhal 11.04 Desktop LTS edition)  from http://www.ubuntu.com


Step 2) Student and Teacher Stations
Burn at least 8 Linux live CDs to reinstall 24 PCs. Actually it was 21 PCs as 4 Student Stations were already done as a test bed and I redid the Teacher Station too! OOPs, I fried the entire partition table on the Teacher Station which had WimpDoze on it. I don't use WIMxP anymore anyway. The only thing I go on WimpDoze is for old legacy Word files with Equation Editor. I use http://freepdfconvert.com to upload such a file from my USB drive, even from Linux, and download it as a *.pdf with all equations in place! Then I can easily print them for the copy room in the case of a test or a quiz. BTW, I also use http://www.splitpdfonline.com to break up large free online textbooks I use in my Computing classes into chapters. I can then easily share these files with my students on http://www.edmodo.com


Step 3) Student and Teacher Stations
Follow onscreen instructions from install script naming each Linux box from alpha to omega. We also allowed no passwd logins on the Student Stations.


Step 4) Student and Teacher Stations
We configured static IPs for eth0 (10.5.129.1 - 10.5.129.25, 255.255.0.0, 10.5.0.254, 10.1.1.10) and printers (10.10.254.212). Set backgrounds and screen-savers as you like. Remember not to lock the Student Stations when the screen-saver kicks in or the students will need the passwd! BTW, the Teacher Station should lock....


Step 5) Student and Teacher Stations
Using the Ubuntu Software Center, we searched for and installed WINE and the flash-plugin.


Step 6) Student and Teacher Stations
We tested WINE by copying VTI to each desktop from our FTP server. You must run VTI (make sure the permissions are set to executable and that the open with tab has WINE selected)! We also tried out flash with http://www.edmodo.com links to http://www.slideshare.net/calcpage2011 and http://www.youtube.com/calcpage2009


Step 7) Teacher Station only
Installed http://www.goolge.com/chrome and tested it with eschool.


Step 8) Teacher Station only
Enabled BlueTooth and tested it with my Smart Airliner Slate (aka Wacom Graphire 6x8 Tablet).


Step 9) Teacher Station only
Tried to download all the *.deb files from http://www.smarttech.com to install SmartNotebook, but could not find a 64bit Linux version. I'm trying out xournal (Ubuntu Software Center) and its fine so far!


Step 10) Teacher Station only
I installed the 64bit version of jre in FireFox for Chrome to run 3D graphs in SAGE and to screencast with SOM. BTW, goto http://java.sun.com for the jdk
(Servers) and http://www.java.com for the jre (Teacher Stations)! Students can live with Tachyon for 3D graphs. Take a look, 



https://clemix.clemson.edu:34567/home/pub/211



Install jre1.6.0_27 as a Firefox plugin for SOM and 3D graphics in SAGE, etc.
-use firefox to download latest jre *.bin file (linux 64bit version) from http://www.java.com to /usr/lib/firefox-addons/plugins
-open a terminal and 
    cd /usr/lib/firefox-addons/plugins
    chmod 755 *.bin
    ./j*.bin
-then
    cd /home/userid/.mozilla
    mkdir plugins
    cd plugins
    ln -s /usr/lib/firefox-addons/plugins/jre1.6.0_27/lib/amd64/libnpjp2.so
-test firefox with "about:plugins" as the url to see that jre was plugged in!

Optional Step 11) Teacher Station only
I didn't install VLC. Chrome's VLC plugin is sufficient for playing the *.mp4 files I downloaded from http://www.youtube.com for YouTube Wednesdays via http://www.keepvid.com I won't install VLC unless I really need it since it has 50 dependencies. I'm thinking I may need VLC for the movie marathon during AP Week when I play "Math Movies" from my DVD collection!





Optional Step 12) Teacher Station only
I didn't install handbrake either as it depends on VLC. I will install handbrake if I start converting old, non commercially available, out of copyright documentaries I have on VHS to DVD again. I use handbrake to make *.mp4 files from these DVDs for YouTube. See some here, http://www.youtube.com/cistheta2007#g/c/35534A5E32FB49A4


What we are researching I (look what this school did in the 80s and 90s): 


Today's Topic:
CIS(theta) 2011-2012 - KISS Natty 64 install fest! - Meeting III


Today's Attendance:
CIS(theta) 2011-2012: GeorgeA, GrahamS, KennyK, LucasE


Today's Reading:
Chapter 1 Building Parallel Programs (BPP) using clusters and parallelJava


Well, that's all folks, enjoy!




Tuesday, September 6, 2011

CIS(theta) 2011-2012 - Introductory Meeting - Meeting I

What was discussed:
We've been building clusters for some time now! We used PVM in the late 1990s. Until recently we were using openMOSIX, but that project closed. Lately we've been trying to get openMPI to work with out new multi-core 64bit hardware.

Once we got a cluster running, we have done some Large Integer number crunching (Beal, Mersenne) as well as graphics applications such as Fractals vs Ray Tracing (povray). This year, we may try our hand at animation (blender). We decorated the room and a display case with some framed zazzle prints of fractals and ray tracings.

What was accomplished:
All my computers were replaced last week. School started this week. We didn't have a lot of time to install anything. So, here's a minimal install for my students to get some work done! We tried the KISS (Keep It Simple Stupid) every Linux box. So, we didn't install SAGE/JRE or WINE/VTI on the Student Stations. I may add VTI if they need it. We are running SAGE online.
(1a) Installed 32bit Ubuntu Desktop 10.10 on all 24 Student Stations (KISS plain vanilla install)
(1b) Installed 32bit Ubuntu Desktop 10.10 on both Servers (password login enabled)
(1c) Installed 32bit Ubuntu Desktop 10.10 on the Teacher Station (password login enabled)
(2) Dissabled the ScreenSaver and enabled Ethernet (10.5.129.1-10.5.129.25, 255.255.0.0, 10.5.0.254, 10.1.1.19) + Printing on all stations (10.10.254.212)

(3) Servers also got:
(3a) vsFTP 
(3b) openSSH

(4) Teacher Station also got (in addition to configuring a slow mouse and bluetooth for my tablet):
(4a) Flash to watch YouTubes
(4b) Chrome for eSchool (only need VLC for HandBrake and DVDlib, Chrome plays *.mp4s )
(4c) Xournal pen app for tablet (will add SmartNotebook later)
(4d) WINE to run Virtual TI (VTI)
(4e) didn't have time for JRE (3D graphs in SAGE + screencast-o-matic) but we will...

UPDATES:
(1) I tried Xournal on the Teacher Station for a while as a pen app but using the tablet it was really hard to see the pointer! My SmartBoard is still down, I couldn't use Xournal on there. So, I went to http://www.smarttech.com and tried http://express.smarttech.com which is an online SmartNotebook. This solution has the opposite problem. You get a pen and a mouse pointer at the same time! That's too cumbersome to use. So, I broke down and installed the Linux version of SmartNotebook 10.2 which comes as a *.gz file. I extracted that file and found a pile of *.debs to install in a directory called dists/stable/multiverse. All is well with the world of SmartNotebook!
(2) I installed JRE 1.6.0_27 in Firefox and it automagically works in Chrome as well. This way I can do animated 3D graphs in SAGE with viewer='jmol' which is the default in show(). The Student Stations can do 3D graphs in SAGE but they need to use .show(viewer='tachyon') and they don't get to animate the graphs. So, I have JRE joy!
(3) I tried also installed JRE so as to get http://screencast-o-matic.com (SOM) working. SOM captures the video of my screencast and renders *.mp4s for YouTube.
(4) for more detailed installation instructions please see, http://shadowfaxrant.blogspot.com/2011/05/2-so-many-hard-drives-so-little-time.html

What we are researching (look what this school did in the 80s and 90s): 

Today's Topic: 
CIS(theta) 2011-2012 - Introductory Meeting - Meeting I

Today's Attendance: 
CIS(theta) 2011-2012: GeorgeA, GrahamS, KennyK, LucasE

Today's Reading:
Chapter 1 Building Parallel Programs (BPP) using clusters and parallelJava

Well, that's enough food for thought, enjoy!

Wednesday, September 8, 2010

CIS(theta) Meeting I (2010-2011) - Welcome Back!

Aim: 
Welcome Back!


Attending: 
DavidG, HerbertK, JayW, JoshG, RyanH

Reading: Building Parallel Programs, Chapter1


Research1: 

pelicanHPC
http://idea.uab.es/mcreel/ParallelKnoppix/
mpitb
http://atc.ugr.es/javier-bin/mpitb_eng






I welcomed our new CIS(theta) team today!  We will meet every other Wednesday.  Our task is to learn about cluster computing hardware in general.  Investigate the current state of cluster computing software and find a problem worthy of running on our cluster.  




First, let's get some vocabulary straight:
CIS(theta) = Computing Independent Study class
CIS(team) = DavidG, HerbertK, JoshG, JayW, RyanH (aka Geek Squad)
Shadowfax = 25 node, 64bit dual-core AMD Athlon 2GHz, gigE cluster




How about some history:
CIS(team) 0: We've done a bit of cluster programming over the years as a final project in AP Computer Science after AP Week all the way back to clusterKNOPPIX, i386/486s and slow ethernet!  Actually, about 25 years ago I helped JamesM with a robotics project for the Westinghouse Talent Search.  So, that's when the bug bit me to get into all this research with my students!  I think the computing independent study started about 20 years ago when JoeB wanted to learn about Mathematica and Vector Calculus.




CIS(team) I: ChrisR, FrankK, NathanielR successfully installed openMOSIX on 25 Pentium IVs over fastE and created several Mandelbrot plots using C++ and fork().  We followed the advice from this blog, http://nullprogram.com (search there for mosix, octave, c++ or fractal).  Take a look at the fractal prints on my deviantart site, http://cistheta2007.deviantart.com/gallery


CIS(team) II: MarcA, MitchellW were the first to use the current cluster hardware.  They installed the Quantian Linux DVD and used bash scripts to scatter/gather povray jobs over publicly authenticated ssh.  Take a look at the ray tracings on my zazzle site: http://www.zazzle.com/cistheta2008/gifts


CIS(team) III: ArthurD, DevinB, JeremyA, StevenB were the first to attempt using the current cluster hardware in 64bit mode.  We tried Fedora, CentOS and even Rocks Clusters and OSCAR to no avail.  I think we barely got HelloCluster.cc running on openMPI.


CIS(team) IV: DavidG, HerbertK, JayW, JoshG, RyanH will try 64bit mode again on Ubuntu Linux 10.04 that I have already installed on all nodes (see my post on this, http://shadowfaxrant.blogspot.com/2010/06/so-many-linux-distros-so-little-time.html).  You may want to try pelicanHPC too. This is a 32bit live Linux CD.  With this CD you are supposed to be able to reboot the whole room as an MPI cluster in minutes without installing a thing!  What's nice about this solution is that it includes openMPI and has a lot of demos.  We had this working on the new hardware last summer but sometimes its hard to use as its based on PXE and there's some DHCP server on our 10.5.*.* subnet that interferes with booting the nodes.  However, another benefit of this CD is that it includes Octave (like MATLAB/SAGE) and mpiTB (an interface for Octave to work with MPI)!  Hence your online research assignment listed above.  Another CD solution with MPI is BCCD.  An older DVD with openMOSIX is QUANTIAN.





So, our first meeting consisted of discussing all the above.  Also, I mentioned that the CIS(theta) team will act as my personal Geek Squad and help me install hardware, firmware and software in our PC Classroom (since I am still recuperating from surprise hernia surgery).  So, we had 2 "field trips."


Firld Trip 1: We went to the display case with some fractal and ray tracing prints we wanted to swap out.  We also went to Mrs. Murthy's new office to help decorate it with some prints.  We saved some nice big prints for the PC Classroom.  We are getting 6 new marker boards in there which will be installed all around the room.  I will hang a big print above each one.  So, my decorative work here is done!


Firld Trip 2: I also showed the current CIS(theta) team around to all the servers
centauri: ftp server in the book room
colossus: ssh server in the business office
guardian and caprica: new servers in the PC Classroom


So, the Geek Squad will also be helping me to install these new servers.  The new servers will eventually replace the old ones.  These new servers each have 4x72GB RAID drives and have 64bit Intel Xeon quadcores!  Maybe we should make a cluster out of these?  Google Cloud Computing using Ubuntu and Cloud Computing for HPC.


Wow, we have our work cut out for us.  But, I think we are going to have a lot of fun this year!





Happy Clustering,

CIS(theta) Meeting I (2010-2011) - Welcome Back!

Aim: 
Welcome Back!


Attending: 
DavidG, HerbertK, JayW, JoshG, RyanH

Reading: Building Parallel Programs, Chapter1


Research1: 

pelicanHPC
http://idea.uab.es/mcreel/ParallelKnoppix/
mpitb
http://atc.ugr.es/javier-bin/mpitb_eng






I welcomed our new CIS(theta) team today!  We will meet every other Wednesday.  Our task is to learn about cluster computing hardware in general.  Investigate the current state of cluster computing software and find a problem worthy of running on our cluster.  




First, let's get some vocabulary straight:
CIS(theta) = Computing Independent Study class
CIS(team) = DavidG, HerbertK, JoshG, JayW, RyanH (aka Geek Squad)
Shadowfax = 25 node, 64bit dual-core AMD Athlon 2GHz, gigE cluster




How about some history:
CIS(team) 0: We've done a bit of cluster programming over the years as a final project in AP Computer Science after AP Week all the way back to clusterKNOPPIX, i386/486s and slow ethernet!  Actually, about 25 years ago I helped JamesM with a robotics project for the Westinghouse Talent Search.  So, that's when the bug bit me to get into all this research with my students!  I think the computing independent study started about 20 years ago when JoeB wanted to learn about Mathematica and Vector Calculus.




CIS(team) I: ChrisR, FrankK, NathanielR successfully installed openMOSIX on 25 Pentium IVs over fastE and created several Mandelbrot plots using C++ and fork().  We followed the advice from this blog, http://nullprogram.com (search there for mosix, octave, c++ or fractal).  Take a look at the fractal prints on my deviantart site, http://cistheta2007.deviantart.com/gallery


CIS(team) II: MarcA, MitchellW were the first to use the current cluster hardware.  They installed the Quantian Linux DVD and used bash scripts to scatter/gather povray jobs over publicly authenticated ssh.  Take a look at the ray tracings on my zazzle site: http://www.zazzle.com/cistheta2008/gifts


CIS(team) III: ArthurD, DevinB, JeremyA, StevenB were the first to attempt using the current cluster hardware in 64bit mode.  We tried Fedora, CentOS and even Rocks Clusters and OSCAR to no avail.  I think we barely got HelloCluster.cc running on openMPI.


CIS(team) IV: DavidG, HerbertK, JayW, JoshG, RyanH will try 64bit mode again on Ubuntu Linux 10.04 that I have already installed on all nodes (see my post on this, http://shadowfaxrant.blogspot.com/2010/06/so-many-linux-distros-so-little-time.html).  You may want to try pelicanHPC too. This is a 32bit live Linux CD.  With this CD you are supposed to be able to reboot the whole room as an MPI cluster in minutes without installing a thing!  What's nice about this solution is that it includes openMPI and has a lot of demos.  We had this working on the new hardware last summer but sometimes its hard to use as its based on PXE and there's some DHCP server on our 10.5.*.* subnet that interferes with booting the nodes.  However, another benefit of this CD is that it includes Octave (like MATLAB/SAGE) and mpiTB (an interface for Octave to work with MPI)!  Hence your online research assignment listed above.  Another CD solution with MPI is BCCD.  An older DVD with openMOSIX is QUANTIAN.





So, our first meeting consisted of discussing all the above.  Also, I mentioned that the CIS(theta) team will act as my personal Geek Squad and help me install hardware, firmware and software in our PC Classroom (since I am still recuperating from surprise hernia surgery).  So, we had 2 "field trips."


Firld Trip 1: We went to the display case with some fractal and ray tracing prints we wanted to swap out.  We also went to Mrs. Murthy's new office to help decorate it with some prints.  We saved some nice big prints for the PC Classroom.  We are getting 6 new marker boards in there which will be installed all around the room.  I will hang a big print above each one.  So, my decorative work here is done!


Firld Trip 2: I also showed the current CIS(theta) team around to all the servers
centauri: ftp server in the book room
colossus: ssh server in the business office
guardian and caprica: new servers in the PC Classroom


So, the Geek Squad will also be helping me to install these new servers.  The new servers will eventually replace the old ones.  These new servers each have 4x72GB RAID drives and have 64bit Intel Xeon quadcores!  Maybe we should make a cluster out of these?  Google Cloud Computing using Ubuntu and Cloud Computing for HPC.


Wow, we have our work cut out for us.  But, I think we are going to have a lot of fun this year!





Happy Clustering,

Tuesday, September 22, 2009

Meeting II

Today's Aim: Boot up an MPI cluster using the Pelican HPC 64-bit bootable CD from the University of Barcelona on the Master Node and PXE booting the Worker Nodes
Tonight's Reading: Building Parallel Programs, Chapter 2
This Week's Research: look up info on GIMPS, PovRay and Fractals
Attending: JeremyA, SteveB, DevinB, ArthurD 

We had a problem with conflicting DHCP servers on our LAN when setting up Pelican HPC, even though the Linux LAN is supposed to be isolated.  I was surprised as I had this working last June!  We'll try again next meeting.  We are also looking into downloading and buring the Red Hat Fedora 11 64-bit installation DVD to reinstall the whole room.  Eventually, we'll try to emulate the MPI+MPITB+Octave cluster a la Pelican HPC.  Maybe we can install Sage from the University of Washington and use dSage?  What about the proprietary version of MOSIX, now that openMOSIX is dead, from the University of Israel?


Happy Clustering,

Meeting II

Today's Aim: Boot up an MPI cluster using the Pelican HPC 64-bit bootable CD from the University of Barcelona on the Master Node and PXE booting the Worker Nodes
Tonight's Reading: Building Parallel Programs, Chapter 2
This Week's Research: look up info on GIMPS, PovRay and Fractals
Attending: JeremyA, SteveB, DevinB, ArthurD 

We had a problem with conflicting DHCP servers on our LAN when setting up Pelican HPC, even though the Linux LAN is supposed to be isolated.  I was surprised as I had this working last June!  We'll try again next meeting.  We are also looking into downloading and buring the Red Hat Fedora 11 64-bit installation DVD to reinstall the whole room.  Eventually, we'll try to emulate the MPI+MPITB+Octave cluster a la Pelican HPC.  Maybe we can install Sage from the University of Washington and use dSage?  What about the proprietary version of MOSIX, now that openMOSIX is dead, from the University of Israel?


Happy Clustering,