Sunday, November 29, 2009

Happy Turkey Day!!!



Happy Turkey Day everyone! Sorry for the belated greeting, but I've been away from cyberspace these past few days as have many of you. I note a sharp decrease this time of year in the internet chatter related to school in general and this blog in particular. Almost noone is on the forums this 4-day weekend (ap-calc, ap-compsci, ap-physics, ap-stats, etc).

Anyway, we had a bit of a disaster the day before T-Day. Its become somewhat of a tradtion to have a little LAN Party for T-Day-eve. I push my students really hard all year up to this point and promised them a little break. So, we used our brand-spanking-new 64-bit fedora installation on the cluster and added bzflag to the mix. Try as we might, however, we could not get the various bzflag clients to connect to a local bzflag server. We finally had to boot up an old KNOPPIX 32-bit DVD running bzfs and all was well after that. So, something is wrong with our 64-bit ethernet drivers or we have to play with our firewalls or, perhaps, selinux? IDK, but we'll figure it out for the daybefore X-Mas I hope!

Generally Speaking,


calcpage@aol.com

Saturday, November 21, 2009

SAGE: Calculus Research Lab!

Well, its not official, but we are going to try to set up a SAGE Lab course for this Spring!  The Spring section will meet every day (during some student's lunch periods).  Next year, we hope to have a full year course meeting everyother day.
Now that we have the new Fedora Lab, I think we'll install SAGE on a cluster.  Let's see if we can cluster SAGE using dSAGE or mpiPy which is part of the Python distribution included with SAGE. 


I think that running SAGE on a cluster will be more efficient than setting up a local SAGE server or even using the online SAGE sever at http://www.sagenb.org as we had originally planned.  Its easy to use dSAGE on a multicore PC (SMP) but, setting up SAGE on a grid (much less a hybrid cluster) is not that obvious.  We are going to have a little fun experimenting with all this!


SAGE is definitely working out as an alternative to Mathematica.  We have used Octave before (alternative to MATLAB) but, the more I use SAGE, the more I am convinced that the students can learn it very quickly and get a lot of use out of it when studying Calculus.  We also looked at C, C++, java and R, but I don't think that Calculus Research Lab is going to be a full-blown programming course.  However, while using SAGE, we will program some functions in Python ala Mathematical Computing or Scientific Computing (Newton's Method, Riemann Sums, Euler's Method, etc).


Teaching with Technology, 
calcpage@aol.com

64-bit Fedora Core 11 to the rescue!

Wow, we finally did it!  We are KNOPPIX free!  Don't get me wrong, I've used KNOPPIX ever since it came out and I loved it.  However, even the forums on http://www.knoppix.net and http://knopper.net state that the KNOPPIX CD/DVD is not really meant as a linux install CD/DVD.  I used to use it a lot as if it were a Debian install CD/DVD.  KNOPPIX is a great live CD/DVD to "try linux before you buy."  BTW, our servers are still based on Slackware.

Anyway, the Fedora live CD is also a great install CD.  There's an "install to disk" icon right on the desktop when you boot the liveCD.  Just click this icon and follow the ensuing script's instructions, its very simple!  I chose the "replace existing linux" option, as I was replacing the KNOPPIX partition, so I didn't have to repartition anything.  Also, you are asked to create the root passwd and one userid + passwd.

After the CD finishes formatting the linux partition and copying itself to the hard drive, all you have to do is reboot and setup your ethernet preferences (administration/network) and edit /boot/grub/menu.lst if you are running a dual-boot environment.  You have to open a terminal and run "su" to gedit /boot/grub/menu.lst and you have to give the root passwd when you edit the ethernet preferences but its very doable.

After all that, I also had to run yum install hpjis so as to be able to use administration/printing to set up my printers.

Thanx a lot to CIS(theta), the Computer Independent Study team (JeremyA, SteveB, DevinB) who helped me install all 25 compute nodes simultaneously saving me a lot of time and hard work!  Good job guys, now we have a cool 64-bit base to build our MPI cluster on!


Happy Clustering,

64-bit Fedora Core 11 to the rescue!

Wow, we finally did it!  We are KNOPPIX free!  Don't get me wrong, I've used KNOPPIX ever since it came out and I loved it.  However, even the forums on http://www.knoppix.net and http://knopper.net state that the KNOPPIX CD/DVD is not really meant as a linux install CD/DVD.  I used to use it a lot as if it were a Debian install CD/DVD.  KNOPPIX is a great live CD/DVD to "try linux before you buy."  BTW, our servers are still based on Slackware.

Anyway, the Fedora live CD is also a great install CD.  There's an "install to disk" icon right on the desktop when you boot the liveCD.  Just click this icon and follow the ensuing script's instructions, its very simple!  I chose the "replace existing linux" option, as I was replacing the KNOPPIX partition, so I didn't have to repartition anything.  Also, you are asked to create the root passwd and one userid + passwd.

After the CD finishes formatting the linux partition and copying itself to the hard drive, all you have to do is reboot and setup your ethernet preferences (administration/network) and edit /boot/grub/menu.lst if you are running a dual-boot environment.  You have to open a terminal and run "su" to gedit /boot/grub/menu.lst and you have to give the root passwd when you edit the ethernet preferences but its very doable.

After all that, I also had to run yum install hpjis so as to be able to use administration/printing to set up my printers.

Thanx a lot to CIS(theta), the Computer Independent Study team (JeremyA, SteveB, DevinB) who helped me install all 25 compute nodes simultaneously saving me a lot of time and hard work!  Good job guys, now we have a cool 64-bit base to build our MPI cluster on!


Happy Clustering,

Saturday, November 14, 2009

centauri, colossus and guardian?





Generally Speaking,


calcpage@aol.com

Remodeling the PC Classroom?

OK, I started thinking about a new PC Classroom.  So, even if we don't move the PC Classroom from room 429 to room 622, I think we should do a little remodeling in 429 anyway.

The way I teach in 429, I really don't need a teacher's desk in the front of the room.  I usually teach from the back of the room using simply a keyboard when teaching programming or the Smart Airliner when teaching math.  This way I can see what everyone is doing so as to make sure everyone is on task.

So, why not create a "teacher center" in the back of the room?  In other words, move the teacher's desk to the back with the teacher PC.  That way, I don't have to take up a student's station when using the Smart Airliner and I have more space for all my books and notes while teaching.

Also, we could use a 2nd teacher PC in this new "teacher center" so one PC runs Linux only and the other PC runs Windows only all day.  Switching back and forth is very time consuming especially if another teacher needs the classroom the following period.  We would also need at least a video switch, if not a KVM switch that allows for just one keyboard, one mouse and one monitor controling both PCs, to easily change the PC Projector's source from the Linux PC to the Windows PC.

Now, the students' desks can move forward so there's room for this new "teacher center" in the back of the room and the students can better see the Projector Screen.  To further facilitate students' view from the back and sides of the room, I think we could also use flat screen monitors.

Last, but not least, we really need the new Projector Mount ASAP for the new PC Projector we got from 
http://www.donorschoose.org since we are currently going blind trying to see what's on the Projector Screen now!

Learning with Technology,
calcpage@aol.com

Server Wars!

The tech dept decided to move my ftp server out of the office as it was getting noisy (needs a new fan).  So, to test things out, I just used putty off campus to ssh into the sftp server where my Computer Science students save their work.  I had no problem doing so, but when I did the same for the ftp server, putty timed out.  So, I sshed back into the sftp server and I tried to ping the ftp server internally but had no luck!

This is a huge problem as I share files with my Computer Science students via ftp.  Also, I store all my Smart Recordings of my Calculus classes on the ftp server too. 

If only I had my old server back with a larger hard drive, as promised a year ago, I could run all 3 services off the one server (ftp, sftp, apache).  You see, I had a third Linux sever, but it was taken out for service over a year ago as it needed a new fixed drive.  With a large hard drive, say 250GB or more, I could replace all 3 servers (each current only has 80GB fixed disks).  Note, this would only be a temporary fix as I need at least 2 servers for backups and failsafe redundancy.

Linux Servers:
centauri, ftp server, off-line
colossus, sftp server, on-line
guardian, apache server, on-vacation

BTW, we haven't done anything with apache since guardian went down.  So, if and when guardian returns, I think the third service will be SAGE instead.
Teaching with Technology,