Difference: BigClusterProject20060411 (1 vs. 35)

Revision 352006-04-11 - TWikiGuest

Line: 1 to 1
 
META TOPICPARENT name="DuckyHomework"

Big Cluster Project 11 April 2006

(Note: this page is under construction and hasn't been announced yet, so is in massive flux.)
Line: 108 to 108
 
Changed:
<
<
>
>
 
    • ParaView toolkit, has some demo code (requires CMake)
    • Chromium (no obvious demos, but listing anyway) -- toolkit
    • PyMOL (requires Python, numeric, Tcl, Tk, pmw, libpng, zlib, freeglut, and freetype)
Line: 121 to 121
 
Added:
>
>
 
  • Make sure code compiles on Macs and Linux both with near-forehead install (meaning two directories) -- Ducky, Brett
    • Update instructions for copying/compiling code to reflect whatever code we decide to run PICK
Line: 174 to 178
 
  • Stanley (PPT)
  • Jelena (x86)
  • Michael Patrick Bonner (x86)
Added:
>
>
  • Joel (x86)
 

Revision 342006-04-11 - TWikiGuest

Line: 1 to 1
 
META TOPICPARENT name="DuckyHomework"

Big Cluster Project 11 April 2006

(Note: this page is under construction and hasn't been announced yet, so is in massive flux.)
Line: 106 to 106
 
  • Post information more widely -- Ducky w/input from Alan
  • Figure out what code to run -- class, Brett
Changed:
<
<
>
>
 
Line: 115 to 115
 
Changed:
<
<
    • mpe/contrib: ~ducky/src/mpe2-1.0.3p1/src/graphics/contrib/ -- mastermind, life, mandel, test
>
>
    • mpe/contrib: ~ducky/src/mpe2-1.0.3p1/src/graphics/contrib/ -- mastermind, life, mandel, test -- needs f77, which IIRC is on BCCD but not on ducky's machine. time for bed
 
Added:
>
>
 
  • Make sure code compiles on Macs and Linux both with near-forehead install (meaning two directories) -- Ducky, Brett
    • Update instructions for copying/compiling code to reflect whatever code we decide to run PICK

Revision 332006-04-11 - TWikiGuest

Line: 1 to 1
 
META TOPICPARENT name="DuckyHomework"

Big Cluster Project 11 April 2006

(Note: this page is under construction and hasn't been announced yet, so is in massive flux.)
Line: 116 to 116
 
Added:
>
>
 
  • Make sure code compiles on Macs and Linux both with near-forehead install (meaning two directories) -- Ducky, Brett
    • Update instructions for copying/compiling code to reflect whatever code we decide to run PICK

Revision 322006-04-11 - TWikiGuest

Line: 1 to 1
 
META TOPICPARENT name="DuckyHomework"

Big Cluster Project 11 April 2006

(Note: this page is under construction and hasn't been announced yet, so is in massive flux.)
Line: 168 to 168
 
  • Arjun (x86)
  • Stanley (PPT)
  • Jelena (x86)
Changed:
<
<
  • Michael Patrick Bonner, Born July 29, 1977, Walnut Creek California USA.... or.. maybe the one in the class (x86)
>
>
  • Michael Patrick Bonner (x86)
 

Revision 312006-04-11 - TWikiGuest

Line: 1 to 1
 
META TOPICPARENT name="DuckyHomework"

Big Cluster Project 11 April 2006

(Note: this page is under construction and hasn't been announced yet, so is in massive flux.)
Line: 168 to 168
 
  • Arjun (x86)
  • Stanley (PPT)
  • Jelena (x86)
Changed:
<
<
  • Mike B (x86)
>
>
  • Michael Patrick Bonner, Born July 29, 1977, Walnut Creek California USA.... or.. maybe the one in the class (x86)
 

Revision 302006-04-10 - TWikiGuest

Line: 1 to 1
 
META TOPICPARENT name="DuckyHomework"

Big Cluster Project 11 April 2006

(Note: this page is under construction and hasn't been announced yet, so is in massive flux.)
Line: 109 to 109
 
Changed:
<
<
>
>
    • ParaView toolkit, has some demo code (requires CMake)
 
    • Chromium (no obvious demos, but listing anyway) -- toolkit
Changed:
<
<
>
>
    • PyMOL (requires Python, numeric, Tcl, Tk, pmw, libpng, zlib, freeglut, and freetype)
 

Revision 292006-04-10 - TWikiGuest

Line: 1 to 1
 
META TOPICPARENT name="DuckyHomework"

Big Cluster Project 11 April 2006

(Note: this page is under construction and hasn't been announced yet, so is in massive flux.)
Line: 107 to 107
 
Added:
>
>
 
Line: 167 to 168
 
  • Arjun (x86)
  • Stanley (PPT)
  • Jelena (x86)
Added:
>
>
  • Mike B (x86)
 

Revision 282006-04-10 - TWikiGuest

Line: 1 to 1
 
META TOPICPARENT name="DuckyHomework"

Big Cluster Project 11 April 2006

(Note: this page is under construction and hasn't been announced yet, so is in massive flux.)
Line: 108 to 108
 
Changed:
<
<
>
>
 
    • Chromium (no obvious demos, but listing anyway) -- toolkit
    • PyMOL
Changed:
<
<
    • MPE demo
    • [[http://parallel.ru/docs/Parallel/mpich/userguide/node19.html][mpich demos] PICK
>
>
 
Line: 128 to 128
 
  • Projector -- Alan?
  • Switches -- Alan
Added:
>
>
  • Router -- Alan
  • 2 Linux boxes -- Alan
 
  • Extra CAT5 cables (?)
  • Pizza -- Google via Brett
Changed:
<
<
  • Printouts of instructions -- Ducky (maybe a projector with instructions as well?)
>
>
  • Printouts of instructions
 
  • DHCP server boot
  • Put code in ~bccd/cs521
Line: 141 to 143
 
People who are known to be coming:
  • Ducky (1 x86, 1 PPC)
Changed:
<
<
  • Alan Wagner (1 x86?)
>
>
  • Alan Wagner (1 x86?, two headless Linux machines)
 
  • Brett (PPC)
  • Andrew C (x86)
  • Nels (x86)

Revision 272006-04-10 - DuckySherwood

Line: 1 to 1
 
META TOPICPARENT name="DuckyHomework"

Big Cluster Project 11 April 2006

(Note: this page is under construction and hasn't been announced yet, so is in massive flux.)
Line: 107 to 107
 
Added:
>
>
 
  • Make sure code compiles on Macs and Linux both with near-forehead install (meaning two directories) -- Ducky, Brett
    • Update instructions for copying/compiling code to reflect whatever code we decide to run PICK

Revision 262006-04-10 - TWikiGuest

Line: 1 to 1
 
META TOPICPARENT name="DuckyHomework"

Big Cluster Project 11 April 2006

(Note: this page is under construction and hasn't been announced yet, so is in massive flux.)
Line: 105 to 105
 
  • Post information to class -- Ducky w/input from Alan
  • Post information more widely -- Ducky w/input from Alan
  • Figure out what code to run -- class, Brett
Added:
>
>
 
  • Make sure code compiles on Macs and Linux both with near-forehead install (meaning two directories) -- Ducky, Brett
    • Update instructions for copying/compiling code to reflect whatever code we decide to run PICK
  • Make spare boot CDs for stragglers, people who forget, etc
  • load the demo code onto a thumb drive

On the day of:

Changed:
<
<
  • print copies of instructions with hostnumber written on them
>
>
  • Tags for computers and cables to indicate ownership
  • print copies of instructions with index cards with hostnumber
  • Power strips

  • Projector -- Alan?
 
  • Switches -- Alan
  • Extra CAT5 cables (?)
  • Pizza -- Google via Brett
Line: 116 to 123
 
  • Extra CAT5 cables (?)
  • Pizza -- Google via Brett
  • Printouts of instructions -- Ducky (maybe a projector with instructions as well?)
Added:
>
>
 
  • DHCP server boot
  • Put code in ~bccd/cs521
Changed:
<
<
  • Tags for computers and cables to indicate ownership
  • Duct tape (?) to tape cables down onto the floor avoid if at all possible
  • Power strips
>
>
 


Line: 147 to 154
 
Changed:
<
<
  • Arjun/Stanley (x86)
>
>
  • Arjun (x86)
  • Stanley (PPT)
 
  • Jelena (x86)

Revision 252006-04-07 - TWikiGuest

Line: 1 to 1
 
META TOPICPARENT name="DuckyHomework"

Big Cluster Project 11 April 2006

(Note: this page is under construction and hasn't been announced yet, so is in massive flux.)
Line: 148 to 148
 
Added:
>
>
  • Jelena (x86)
 

Revision 242006-04-07 - TWikiGuest

Line: 1 to 1
 
META TOPICPARENT name="DuckyHomework"

Big Cluster Project 11 April 2006

(Note: this page is under construction and hasn't been announced yet, so is in massive flux.)
Line: 87 to 87
 
  • A drive somewhere with the code to run (source, since we'll have Macs on the network as well)

Boot

Deleted:
<
<
DHCP Server: One machine needs to boot as a DHCP server. That must be an x86 machine, not a Mac.
 
Changed:
<
<
DHCP server, follow this sequence:
  • Boot up to the BCCD splash screen
  • Hit F3, then type framebuffer_mode_number startdhcp (framebuffer_mode_number just refers to what screen resolution to use; 4 is 1024x768.)
  • Enter the password we decide on the day of the event.
  • Follow directions for trivial-net-setup. Hit Enter to select the highlighted answer and the arrow keys to change the selection.
    • Say NO when it asks if it should autoconfigure with DHCP and YES/OK for everything else.
    • When it asks for IP addresses, configure as in the examples. You can just type in the addresses they use in the dialogs, which are
      • IP address 192.168.1.1
      • netmastk 255.255.255.0
      • router address 192.168.1.254
      • DNS server 192.168.1.1

All the other machines need to be clients. On the Mac, it will boot you straight through the boot sequence. On x86 machines:

  • Boot up to the BCCD splash screen.
  • Hit F3
  • Type framebuffer_mode_number nodemode (framebuffer_mode_number just refers to what screen resolution to use; 4 is 1024x768.)
@@@ check nodemode@@@

Everybody then:

  • Enter the password we give you on the day of the event.
  • Follow directions for trivial-net-setup; say YES/OK to everything.
  • When you get to the option of logging in:
    • Login as root, using the password listed at the login prompt
    • Change the password. If you are helping the owner, let the owner set the password.
    • df to get a list of the mounted partitions
    • umount partition for all of your partitions, (e.g. umount /mnt/rw/discs/disc0/part3/home/fred)
    • exit
  • Sign in as bccd, with the password given earlier.
  • Answer yes when it asks if you want to run a heartbeat.

Switch to LAM

Everybody continue on to switching to LAM:
  • edit ~/.bashrc (vi, emacs, and pico should all be available -- check@@@)
    • edit the PATH line so that the line reads export PATH=/lam-mpi/bin:$PATH
    • write file and quit
  • source ~/.bashrc (or log out and log back in)
  • For each node, rebuild the library cache:
    • su - root (using the root password given)
    • ldconfig -v | less
    • exit (back to bccd)
  • bccd-allowall (Answer yes.)
  • bccd-snarfhosts
  • recon -v ~/machines
  • lamboot -v ~/machines @@@ not sure if we want people to do this here or make it part of the makefile

Windows users have the option of

  • startx
but Mac users, your trackpad might not work; you might get stuck and hosed. Don't startx.

Compile the target code

Everybody needs to compile the target code.
  • The DHCP server machine needs to run bccd-syncdir source_dir_name ~/machines, where source_dir_name is the directory with the code. Note that there might need to be two versions.
  • Everyone: the code will show up in a directory named something like /tmp/6g2w98s.
  • cp -r dirname/cs521.arch ~bccd/cs521 (where dirname is the tmp dir name and arch is either x86 or ppc, e.g. cp -r /tmp/6g2w98s/cs521.x86 ~bccd/cs521)
  • cd ~bccd/cs521
  • make
  • wait for instructions, eat pizza, etc.

As more machines come online, you might need to refresh your system state:

  • bccd-allowall
  • bccd-snarfhosts
  • recon -v ~/machines
There is some order dependency that Ducky hasn't quite figured out yet; keep doing those and eventually it will all get settled out.
>
>
DHCP Server: One machine needs to boot as a DHCP server. That must be an x86 machine, not a Mac. Ducky will do this, following the BigClusterDHCPInstructions.
 
Changed:
<
<
Mac users, if you have trouble rebooting into OS X immediately after booting into BCCD, try holding Control-Command-Power after an non-starting boot.
>
>
Everyone else needs to follow the BigClusterNodeInstructions.
 

Setup needs

There are a few one-of things to do ahead of time:
Changed:
<
<
  • Instructions on what everyone needs to bring -- Ducky
>
>
  • Instructions on what everyone needs to bring -- Ducky
 
  • Instructions for what to do on the day of -- Ducky
Changed:
<
<
  • Locate switches -- Alan
>
>
  • Locate switches -- Alan
 
  • Locate CAT5 cables -- Ducky
  • Reserve a room with an adequate amount of tables and space
    • Estimate head/node count, adjust room if needed
  • Post information to class -- Ducky w/input from Alan
  • Post information more widely -- Ducky w/input from Alan
  • Figure out what code to run -- class, Brett
Changed:
<
<
  • Make sure code compiles on Macs and Linux both with near-forehead install (meaning two directories) -- Ducky
>
>
  • Make sure code compiles on Macs and Linux both with near-forehead install (meaning two directories) -- Ducky, Brett
    • Update instructions for copying/compiling code to reflect whatever code we decide to run PICK
  • Make spare boot CDs for stragglers, people who forget, etc
  • load the demo code onto a thumb drive
  On the day of:
Added:
>
>
  • print copies of instructions with hostnumber written on them
 
  • Switches -- Alan
  • Extra CAT5 cables (?)
  • Pizza -- Google via Brett
Line: 209 to 147
 
Added:
>
>
  • Arjun/Stanley (x86)
 

Revision 232006-04-06 - JeremyHilliker

Line: 1 to 1
 
META TOPICPARENT name="DuckyHomework"

Big Cluster Project 11 April 2006

(Note: this page is under construction and hasn't been announced yet, so is in massive flux.)
Line: 208 to 208
 
  • James (x86)
  • Gang (x86)
  • Sharath (x86)
Added:
>
>
 

Revision 222006-04-06 - AnirbanSinha

Line: 1 to 1
 
META TOPICPARENT name="DuckyHomework"

Big Cluster Project 11 April 2006

(Note: this page is under construction and hasn't been announced yet, so is in massive flux.)
Line: 37 to 37
 It is important to burn the CD in "raw" format. (A raw image contains special error detection and correction codes that the CDR software will generate as it is writing the ISO image to the CD. You cannot simply add the image file to the CD layout as you would when recording normal files off your hard drive.) You can't just use the standard method of burning a file onto disk like you would an MP3.

Linux

Changed:
<
<
Making a bootable CD on Linux is nowhere near as easy as it ought to be. It's probably not something that you do all the time, so you might have challenges with media, drivers, kernels, applications, or all of the above.
>
>
Making bootable CD's can be a little confusing in linux, specially for those who have not done it before. It's probably not something that you do all the time, so you might have challenges with media, drivers, kernels, applications, or all of the above. Anirban suggests that you use an updated 2.6 kernel machine (I know of Fedora builds 3, 4 & 5 has this updated 2.6 kernels) with atleast 256 MB ram for burning your CD's. K3b is a nifty utility that has a very good user interface (just type k3b in console). From tools menu you can find burn CD Image or burn DVD iso image which works fine for me. Before you burn images, it might be a good idea to cross verify the MD5 hash value for your image just in case your file got corrupt while downloading. Type md5sum image_name in colsole and it will give you the MD5 hash value for that image. You can then cross check with its official value from the website.
  On Linux, there are some unspecified issues with cdrecord for kernels newer than 2.5; there is some documentation on the Web that says they have been fixed in 2.6.11, but DuckySherwood had problems even with 2.6.11.

Revision 212006-04-06 - SharathGeorge

Line: 1 to 1
 
META TOPICPARENT name="DuckyHomework"

Big Cluster Project 11 April 2006

(Note: this page is under construction and hasn't been announced yet, so is in massive flux.)
Line: 206 to 206
 
  • Chris (x86)
  • James (x86)
  • Gang (x86)
Added:
>
>
  • Sharath (x86)
 

Revision 202006-04-06 - TWikiGuest

Line: 1 to 1
 
META TOPICPARENT name="DuckyHomework"

Big Cluster Project 11 April 2006

(Note: this page is under construction and hasn't been announced yet, so is in massive flux.)
Line: 202 to 202
 
  • Gitika (x86)
  • Argun (x86)
  • Andrew (PPC)
Changed:
<
<
>
>
  • Mike (x86)
  • Chris (x86)
  • James (x86)
  • Gang (x86)
 

Revision 192006-04-05 - TWikiGuest

Line: 1 to 1
 
META TOPICPARENT name="DuckyHomework"

Big Cluster Project 11 April 2006

(Note: this page is under construction and hasn't been announced yet, so is in massive flux.)
Line: 201 to 201
 
  • LeCuong (x86)
  • Gitika (x86)
  • Argun (x86)
Added:
>
>
  • Andrew (PPC)
 

Revision 182006-04-05 - TWikiGuest

Line: 1 to 1
 
META TOPICPARENT name="DuckyHomework"

Big Cluster Project 11 April 2006

(Note: this page is under construction and hasn't been announced yet, so is in massive flux.)
Line: 200 to 200
 
  • Andrei (x86)
  • LeCuong (x86)
  • Gitika (x86)
Added:
>
>
  • Argun (x86)

 

Revision 172006-04-05 - GitikaAggarwal

Line: 1 to 1
 
META TOPICPARENT name="DuckyHomework"

Big Cluster Project 11 April 2006

(Note: this page is under construction and hasn't been announced yet, so is in massive flux.)
Line: 199 to 199
 
  • Tristram (PPC)
  • Andrei (x86)
  • LeCuong (x86)
Added:
>
>
  • Gitika (x86)
 

Revision 162006-04-05 - LeCuong

Line: 1 to 1
 
META TOPICPARENT name="DuckyHomework"

Big Cluster Project 11 April 2006

(Note: this page is under construction and hasn't been announced yet, so is in massive flux.)
Line: 198 to 198
 
  • Peng Li(x86 Laptop 2.0Hz Centrino, 1GB)
  • Tristram (PPC)
  • Andrei (x86)
Added:
>
>
 

Revision 152006-04-05 - TWikiGuest

Line: 1 to 1
 
META TOPICPARENT name="DuckyHomework"

Big Cluster Project 11 April 2006

(Note: this page is under construction and hasn't been announced yet, so is in massive flux.)
Line: 185 to 185
 


Changed:
<
<
People Ducky believes are coming:
>
>
People who are known to be coming:
 
  • Ducky (1 x86, 1 PPC)
  • Alan Wagner (1 x86?)
  • Brett (PPC)
  • Andrew C (x86)
  • Nels (x86)
Changed:
<
<
  • Allan R (way old x86)
  • KP (PPC)
>
>
  • Allan R (way old x86) not in class
  • Karen Parker (PPC)
 
  • Ivan (x86)
  • Ying (x86)
  • Peng Li(x86 Laptop 2.0Hz Centrino, 1GB)
Added:
>
>
  • Tristram (PPC)
  • Andrei (x86)
 

Revision 142006-03-26 - TWikiGuest

Line: 1 to 1
 
META TOPICPARENT name="DuckyHomework"

Big Cluster Project 11 April 2006

(Note: this page is under construction and hasn't been announced yet, so is in massive flux.)
Line: 195 to 195
 
  • KP (PPC)
  • Ivan (x86)
  • Ying (x86)
Added:
>
>
  • Peng Li(x86 Laptop 2.0Hz Centrino, 1GB)
 

Revision 132006-03-24 - DuckySherwood

Line: 1 to 1
 
META TOPICPARENT name="DuckyHomework"

Big Cluster Project 11 April 2006

(Note: this page is under construction and hasn't been announced yet, so is in massive flux.)
Line: 32 to 32
 

Making a bootable CD

There are a number of different distributions of MPI/LAM, but we will use BCCD. It is specifically designed for educational use, and has a PPC version so that Mac users can play too.
Added:
>
>
Windows/x86 users, use http://bccd.cs.uni.edu/BCCD-Images/bccd-2.2.1c.iso. PPC users, use http://bccd.cs.uni.edu/BCCD-Images/BCCD-2.2-BETA-IMAGES/bccd-ppc-2006-02-21T04-0500.iso.

It is important to burn the CD in "raw" format. (A raw image contains special error detection and correction codes that the CDR software will generate as it is writing the ISO image to the CD. You cannot simply add the image file to the CD layout as you would when recording normal files off your hard drive.) You can't just use the standard method of burning a file onto disk like you would an MP3.

 

Linux

Making a bootable CD on Linux is nowhere near as easy as it ought to be. It's probably not something that you do all the time, so you might have challenges with media, drivers, kernels, applications, or all of the above.
Line: 39 to 43
  If you have trouble burning from Linux, you can is burn a CD from Windows and then boot that from Linux. Note that if everything is working, you should not need to burn anything except an iso file (Windows) or an iso.img file (Linux) to your CD.
  • Note that if everything is working, you should be able to stick the CD in your drive and restart; you should not need to hold down magic key combinations.
Added:
>
>
  • If you do have trouble, you might need to change the boot device order in your BIOS.
 
  • If you have trouble, see also the note in the Mac section below about "raw" mode.
  • Ducky successfully burned BCCD from Windows and booted on Linux (Kannotix distro, 2.6.11 kernel) using just what Windows offered (::RecordNow, which appears to be distributed with IBM Thinkpads).
  • Ducky found that she had trouble booting from the CD when she had previously booted into Linux from her hard drive -- she had to boot into Windows, then reboot with the CD in the tray.
Added:
>
>

Windows

Windows should be easy. Just burn http://bccd.cs.uni.edu/BCCD-Images/bccd-2.2.1c.iso (in raw format) and reboot. You might need to change the boot device order in your BIOS.
 

Mac

Changed:
<
<
When burning a CD on the Mac, it is important to burn it in "raw" format. (A raw image contains special error detection and correction codes that the CDR software will generate as it is writing the ISO image to the CD. You cannot simply add the image file to the CD layout as you would when recording normal files off your hard drive.) You can't just use the standard method of burning a file onto disk like you would an MP3.
>
>
Burn http://bccd.cs.uni.edu/BCCD-Images/BCCD-2.2-BETA-IMAGES/bccd-ppc-2006-02-21T04-0500.iso to disk in raw format.
  Here are instructions from mkLinux on how to burn a raw image:
  1. Download a BCCD image
Line: 156 to 164
 
  • Instructions on what everyone needs to bring -- Ducky
  • Instructions for what to do on the day of -- Ducky
  • Locate switches -- Alan
Changed:
<
<
  • Locate CAT5 cables
  • Reserve a room with an adequate amount of tables and space -- ?
>
>
  • Locate CAT5 cables -- Ducky
  • Reserve a room with an adequate amount of tables and space
 
    • Estimate head/node count, adjust room if needed
Changed:
<
<
  • Post information to class -- Ducky w/input from Alan
  • Post information more widely -- Ducky w/input from Alan
  • Figure out what code to run -- class
>
>
  • Post information to class -- Ducky w/input from Alan
  • Post information more widely -- Ducky w/input from Alan
  • Figure out what code to run -- class, Brett
 
  • Make sure code compiles on Macs and Linux both with near-forehead install (meaning two directories) -- Ducky

On the day of:

Line: 172 to 180
 
  • DHCP server boot
  • Put code in ~bccd/cs521
  • Tags for computers and cables to indicate ownership
Changed:
<
<
  • Duct tape (?) to tape cables down onto the floor
>
>
  • Duct tape (?) to tape cables down onto the floor avoid if at all possible
 
  • Power strips
Added:
>
>

People Ducky believes are coming:
  • Ducky (1 x86, 1 PPC)
  • Alan Wagner (1 x86?)
  • Brett (PPC)
  • Andrew C (x86)
  • Nels (x86)
  • Allan R (way old x86)
  • KP (PPC)
  • Ivan (x86)
  • Ying (x86)

Revision 122006-03-21 - TWikiGuest

Line: 1 to 1
 
META TOPICPARENT name="DuckyHomework"

Big Cluster Project 11 April 2006

(Note: this page is under construction and hasn't been announced yet, so is in massive flux.)
Line: 95 to 95
 All the other machines need to be clients. On the Mac, it will boot you straight through the boot sequence. On x86 machines:
  • Boot up to the BCCD splash screen.
  • Hit F3
Changed:
<
<
  • Type framebuffer_mode_number automode (framebuffer_mode_number just refers to what screen resolution to use; 4 is 1024x768.)
@@@ If we need people to compile, then we can't have them start in automode. We need them to start in default.@@@
>
>
  • Type framebuffer_mode_number nodemode (framebuffer_mode_number just refers to what screen resolution to use; 4 is 1024x768.)
@@@ check nodemode@@@
 

Everybody then:

Revision 112006-03-20 - DuckySherwood

Line: 1 to 1
 
META TOPICPARENT name="DuckyHomework"

Big Cluster Project 11 April 2006

(Note: this page is under construction and hasn't been announced yet, so is in massive flux.)
Line: 35 to 35
 

Linux

Making a bootable CD on Linux is nowhere near as easy as it ought to be. It's probably not something that you do all the time, so you might have challenges with media, drivers, kernels, applications, or all of the above.
Changed:
<
<
On Linux, there are some unspecified issues with cdburner for kernels newer than 2.5; there is some documentation on the Web that says they have been fixed in 2.6.11, but DuckySherwood had problems even with 2.6.11.
>
>
On Linux, there are some unspecified issues with cdrecord for kernels newer than 2.5; there is some documentation on the Web that says they have been fixed in 2.6.11, but DuckySherwood had problems even with 2.6.11.
  If you have trouble burning from Linux, you can is burn a CD from Windows and then boot that from Linux. Note that if everything is working, you should not need to burn anything except an iso file (Windows) or an iso.img file (Linux) to your CD.
  • Note that if everything is working, you should be able to stick the CD in your drive and restart; you should not need to hold down magic key combinations.
Line: 78 to 78
 
  • A drive somewhere with the code to run (source, since we'll have Macs on the network as well)

Boot

Changed:
<
<
DHCP Server: One machine needs to boot as a DHCP server. DHCP server, follow this sequence:
>
>
DHCP Server: One machine needs to boot as a DHCP server. That must be an x86 machine, not a Mac.

DHCP server, follow this sequence:

 
  • Boot up to the BCCD splash screen
  • Hit F3, then type framebuffer_mode_number startdhcp (framebuffer_mode_number just refers to what screen resolution to use; 4 is 1024x768.)
  • Enter the password we decide on the day of the event.
  • Follow directions for trivial-net-setup. Hit Enter to select the highlighted answer and the arrow keys to change the selection.
Changed:
<
<
    • Say NO when it asks if it should autoconfigure with DHCP and YES/OK for everything else
    • When it asks for IP addresses, just type in the ones they use in the examples, which are
      • 192.168.1.1
      • @@@? 192.168.1.255? @@@
      • 192.168.1.1
>
>
    • Say NO when it asks if it should autoconfigure with DHCP and YES/OK for everything else.
    • When it asks for IP addresses, configure as in the examples. You can just type in the addresses they use in the dialogs, which are
      • IP address 192.168.1.1
      • netmastk 255.255.255.0
      • router address 192.168.1.254
      • DNS server 192.168.1.1
  All the other machines need to be clients. On the Mac, it will boot you straight through the boot sequence. On x86 machines:
  • Boot up to the BCCD splash screen.
  • Hit F3
  • Type framebuffer_mode_number automode (framebuffer_mode_number just refers to what screen resolution to use; 4 is 1024x768.)
Added:
>
>
@@@ If we need people to compile, then we can't have them start in automode. We need them to start in default.@@@
 

Everybody then:

  • Enter the password we give you on the day of the event.
  • Follow directions for trivial-net-setup; say YES/OK to everything.
Changed:
<
<
  • When you get the option of logging in, you might want to sign in as root and unmount all of your own partitions:
    • login as root, using the password listed at the login prompt
>
>
  • When you get to the option of logging in:
    • Login as root, using the password listed at the login prompt
    • Change the password. If you are helping the owner, let the owner set the password.
 
    • df to get a list of the mounted partitions
    • umount partition for all of your partitions, (e.g. umount /mnt/rw/discs/disc0/part3/home/fred)
    • exit

Revision 102006-03-20 - TWikiGuest

Line: 1 to 1
 
META TOPICPARENT name="DuckyHomework"

Big Cluster Project 11 April 2006

(Note: this page is under construction and hasn't been announced yet, so is in massive flux.)
Changed:
<
<
Come help us make a big parallel cluster on 11 April 2006!
>
>
Come help us make a big parallel cluster on 11 April 2006 from 3:15 in the 7th floor lounge!
 
  • If you are in CS 521, you'll get five points credit for participating (details below).
  • It's after instruction ends but before exams start, so you have no excuse.
  • It'll be right before Tuesday Tea.
Line: 23 to 23
 
  • Burn a bootable BCCD CD (see below).
  • Boot your laptop from that CD at home to make sure that the burn was correct, that your system will boot, etc.
    • Note what kind of network card you have so that you can boot faster on the spot.
Changed:
<
<
  • Bring your computer(s) and the CD to (tbd location). Laptops are preferable, since we might be limited in the number of power outlets we will have.
>
>
  • Bring your computer(s) and the CD to the 7th floor lounge by 3:15. Laptops are preferable, since we might be limited in the number of power outlets we will have.
 
    • If you don't have a laptop, you can bring in your desktop; we will have at least one monitor that we can swap around.
    • If you don't have a laptop, you can borrow one for four hours (not renewable) from Koerner Library or Woodward Library, Circulation Desk, entrance level.
  • Be fully prepared to boot your own computer, and to help out anyone who showed up who is not in 521 (i.e. who has even less experience than you have).
Line: 166 to 166
 
  • Printouts of instructions -- Ducky (maybe a projector with instructions as well?)
  • DHCP server boot
  • Put code in ~bccd/cs521
Added:
>
>
  • Tags for computers and cables to indicate ownership
  • Duct tape (?) to tape cables down onto the floor
  • Power strips
 

Revision 92006-03-20 - TWikiGuest

Line: 1 to 1
 
META TOPICPARENT name="DuckyHomework"

Big Cluster Project 11 April 2006

(Note: this page is under construction and hasn't been announced yet, so is in massive flux.)
Line: 81 to 81
 DHCP Server: One machine needs to boot as a DHCP server. DHCP server, follow this sequence:
  • Boot up to the BCCD splash screen
  • Hit F3, then type framebuffer_mode_number startdhcp (framebuffer_mode_number just refers to what screen resolution to use; 4 is 1024x768.)
Changed:
<
<
  • Follow directions.
    • Say NO when it asks if it should autoconfigure with DHCP and YES to everything else
    • When it asks for IP addresses, just type in the ones they use in the examples.
>
>
  • Enter the password we decide on the day of the event.
  • Follow directions for trivial-net-setup. Hit Enter to select the highlighted answer and the arrow keys to change the selection.
    • Say NO when it asks if it should autoconfigure with DHCP and YES/OK for everything else
    • When it asks for IP addresses, just type in the ones they use in the examples, which are
      • 192.168.1.1
      • @@@? 192.168.1.255? @@@
      • 192.168.1.1
 
Changed:
<
<
All the other machines need to be clients. On the Mac, it will boot you straight through this sequence. On x86 machines:
>
>
All the other machines need to be clients. On the Mac, it will boot you straight through the boot sequence. On x86 machines:
 
  • Boot up to the BCCD splash screen.
  • Hit F3
  • Type framebuffer_mode_number automode (framebuffer_mode_number just refers to what screen resolution to use; 4 is 1024x768.)
Changed:
<
<
  • Follow directions; say YES to everything.
  • We will give you a password for bccd at the event.
>
>
  Everybody then:
Changed:
<
<
  • You might want to sign in as root and unmount all of your own partitions:
>
>
  • Enter the password we give you on the day of the event.
  • Follow directions for trivial-net-setup; say YES/OK to everything.
  • When you get the option of logging in, you might want to sign in as root and unmount all of your own partitions:
    • login as root, using the password listed at the login prompt
 
    • df to get a list of the mounted partitions
    • umount partition for all of your partitions, (e.g. umount /mnt/rw/discs/disc0/part3/home/fred)
Changed:
<
<
    • Log out.
>
>
    • exit
 
  • Sign in as bccd, with the password given earlier.
  • Answer yes when it asks if you want to run a heartbeat.

Switch to LAM

Changed:
<
<
@@@ do we need to do this? or do we just stick with MPICH?
  • vi ~/.bashrc
    • edit PATH so that the line reads export PATH=/lam-mpi/bin:$PATH
  • source ~/.bashrc in all appropriate shells (or log out and log back in)
>
>
Everybody continue on to switching to LAM:
  • edit ~/.bashrc (vi, emacs, and pico should all be available -- check@@@)
    • edit the PATH line so that the line reads export PATH=/lam-mpi/bin:$PATH
    • write file and quit
  • source ~/.bashrc (or log out and log back in)
 
  • For each node, rebuild the library cache:
Changed:
<
<
    • su - root
>
>
    • su - root (using the root password given)
 
    • ldconfig -v | less
    • exit (back to bccd)
  • bccd-allowall (Answer yes.)
  • bccd-snarfhosts
  • recon -v ~/machines
Changed:
<
<
  • lamboot -v ~/machines
>
>
  • lamboot -v ~/machines @@@ not sure if we want people to do this here or make it part of the makefile
  Windows users have the option of
  • startx
Changed:
<
<
but Ducky found that her mouse didn't work on the Mac.
>
>
but Mac users, your trackpad might not work; you might get stuck and hosed. Don't startx.
 

Compile the target code

Everybody needs to compile the target code.
Changed:
<
<
  • The DHCP server machine needs to run bccd-syncdir dirname ~/machines; it will show up for all machines in a directory named something like /tmp/6g2w98s.
  • cp -r dirname/cs521.arch ~bccd/cs521 (e.g. cp -r /tmp/6g2w98s/cs521.x86 ~bccd/cs521)
>
>
  • The DHCP server machine needs to run bccd-syncdir source_dir_name ~/machines, where source_dir_name is the directory with the code. Note that there might need to be two versions.
  • Everyone: the code will show up in a directory named something like /tmp/6g2w98s.
  • cp -r dirname/cs521.arch ~bccd/cs521 (where dirname is the tmp dir name and arch is either x86 or ppc, e.g. cp -r /tmp/6g2w98s/cs521.x86 ~bccd/cs521)
 
  • cd ~bccd/cs521
  • make
  • wait for instructions, eat pizza, etc.
Line: 132 to 140
 
  • bccd-allowall
  • bccd-snarfhosts
  • recon -v ~/machines
Added:
>
>
There is some order dependency that Ducky hasn't quite figured out yet; keep doing those and eventually it will all get settled out.

Mac users, if you have trouble rebooting into OS X immediately after booting into BCCD, try holding Control-Command-Power after an non-starting boot.

 

Revision 82006-03-20 - TWikiGuest

Line: 1 to 1
 
META TOPICPARENT name="DuckyHomework"

Big Cluster Project 11 April 2006

(Note: this page is under construction and hasn't been announced yet, so is in massive flux.)
Line: 8 to 8
 
  • It's after instruction ends but before exams start, so you have no excuse.
  • It'll be right before Tuesday Tea.
  • Brett has a budget from Google for pizza that he's eager to spend on this event.
Changed:
<
<
  • It'll be fun!
>
>
  • PICK It'll be fun! PICK
  We want to get a lot of computers, where "a lot" is on the order of 40.
Line: 30 to 30
 

Making a bootable CD

Changed:
<
<
There are a number of different distributions of MPI/LAM, but we will use BCCD. @@@ It is specifically designed for educational use, and has a PPC version so that Mac users can play too.
>
>
There are a number of different distributions of MPI/LAM, but we will use BCCD. It is specifically designed for educational use, and has a PPC version so that Mac users can play too.
 

Linux

Changed:
<
<
Making a bootable CD on Llinux is nowhere near as easy as it ought to be. It's probably not something that you do all the time, so you might have challenges with media, drivers, kernels, applications, or all of the above.
>
>
Making a bootable CD on Linux is nowhere near as easy as it ought to be. It's probably not something that you do all the time, so you might have challenges with media, drivers, kernels, applications, or all of the above.
 
Changed:
<
<
On Linux, there are some unspecified issues with cdburner for kernels newer than @@@; there is some documentation on the Web that says they have been fixed in 2.6.11, but DuckySherwood had problems even with 2.6.11. @@@
>
>
On Linux, there are some unspecified issues with cdburner for kernels newer than 2.5; there is some documentation on the Web that says they have been fixed in 2.6.11, but DuckySherwood had problems even with 2.6.11.
 
Changed:
<
<
If you have trouble burning from Linux, you can is burn a CD from Windows and then boot that from Linux. Note that if everything is working, you should not need to burn anything except an iso file (Windows) or an iso.img file (Linux) to your CD. Note that if everything is working, you should be able to stick the CD in your drive and restart; you should not need to hold down magic key combinations
>
>
If you have trouble burning from Linux, you can is burn a CD from Windows and then boot that from Linux. Note that if everything is working, you should not need to burn anything except an iso file (Windows) or an iso.img file (Linux) to your CD.
  • Note that if everything is working, you should be able to stick the CD in your drive and restart; you should not need to hold down magic key combinations.
  • If you have trouble, see also the note in the Mac section below about "raw" mode.
 
  • Ducky successfully burned BCCD from Windows and booted on Linux (Kannotix distro, 2.6.11 kernel) using just what Windows offered (::RecordNow, which appears to be distributed with IBM Thinkpads).
Added:
>
>
  • Ducky found that she had trouble booting from the CD when she had previously booted into Linux from her hard drive -- she had to boot into Windows, then reboot with the CD in the tray.
 

Mac

Changed:
<
<
When burning a CD on the Mac, it is important to burn it in "raw" format. (A raw image contains special error detection and correction codes that the CDR software will generate as it is writing the ISO image to the CD. You cannot simply add the image file to the CD layout as you would when recording normal files off your hard drive.) This means that you can't just use the standard method of burning a file onto disk.
>
>
When burning a CD on the Mac, it is important to burn it in "raw" format. (A raw image contains special error detection and correction codes that the CDR software will generate as it is writing the ISO image to the CD. You cannot simply add the image file to the CD layout as you would when recording normal files off your hard drive.) You can't just use the standard method of burning a file onto disk like you would an MP3.
  Here are instructions from mkLinux on how to burn a raw image:
  1. Download a BCCD image
Line: 61 to 64
  Note that when you boot from the CD on your Mac, you must hold down the "c" button to make it boot from the CD.
Added:
>
>
Ducky had trouble rebooting into OS X immediately after booting into BCCD. She found that Control-Command-Power after an non-starting boot worked.
 

On the Day Of

Line: 73 to 78
 
  • A drive somewhere with the code to run (source, since we'll have Macs on the network as well)

Boot

Changed:
<
<
DHCP Server: One machine needs to boot as a DHCP server.

The DHCP server op might need to know the "static IP address, netmask, gateway, IP for DNS, and broadcast address for localhost and network" @@@ not sure if all that really needed.

It looks like this is the sequence (not tested yet):

  • Boot up to the splash screen
    • Hit F3, then type framebuffer mode # startdhcp or start in default mode or @@@
    • Let it boot by default @@@
>
>
DHCP Server: One machine needs to boot as a DHCP server. DHCP server, follow this sequence:
  • Boot up to the BCCD splash screen
  • Hit F3, then type framebuffer_mode_number startdhcp (framebuffer_mode_number just refers to what screen resolution to use; 4 is 1024x768.)
  • Follow directions.
    • Say NO when it asks if it should autoconfigure with DHCP and YES to everything else
    • When it asks for IP addresses, just type in the ones they use in the examples.
 
Changed:
<
<
All the other machines need to be clients:
  • Boot up to the splash screen
>
>
All the other machines need to be clients. On the Mac, it will boot you straight through this sequence. On x86 machines:
  • Boot up to the BCCD splash screen.
 
  • Hit F3
Changed:
<
<
  • Type framebuffer mode # automode
>
>
  • Type framebuffer_mode_number automode (framebuffer_mode_number just refers to what screen resolution to use; 4 is 1024x768.)
  • Follow directions; say YES to everything.
  • We will give you a password for bccd at the event.
 
Changed:
<
<
Everyone then:
  • Follow directions
  • Sign in as root and unmount all of your own partitions.
>
>
Everybody then:
  • You might want to sign in as root and unmount all of your own partitions:
 
    • df to get a list of the mounted partitions
Changed:
<
<
    • umount partition for all of yours, e.g. @@@
>
>
    • umount partition for all of your partitions, (e.g. umount /mnt/rw/discs/disc0/part3/home/fred)
 
  • Log out.
Changed:
<
<
  • Sign in as bccd, with a password that we will determine on the day of the event.

Synchronize services

@@@ do all machines need to do this? probably.
  • pkbcast @@@ is this LAM or BCCD?
  • bccd-allowall
  • bccd-snarfhosts
>
>
  • Sign in as bccd, with the password given earlier.
  • Answer yes when it asks if you want to run a heartbeat.
 

Switch to LAM

Line: 111 to 109
 
  • For each node, rebuild the library cache:
    • su - root
    • ldconfig -v | less
Added:
>
>
    • exit (back to bccd)
  • bccd-allowall (Answer yes.)
  • bccd-snarfhosts
 
  • recon -v ~/machines
  • lamboot -v ~/machines
Added:
>
>
Windows users have the option of
  • startx
but Ducky found that her mouse didn't work on the Mac.
 

Compile the target code

Everybody needs to compile the target code.
Changed:
<
<
  • mkdir ~bccd/cs521
  • The DHCP server machine needs to put the code into ~bccd/cs521
  • All the other nodes need to run bccd-synchdir ~bccd/cs521 ~/machines
>
>
  • The DHCP server machine needs to run bccd-syncdir dirname ~/machines; it will show up for all machines in a directory named something like /tmp/6g2w98s.
  • cp -r dirname/cs521.arch ~bccd/cs521 (e.g. cp -r /tmp/6g2w98s/cs521.x86 ~bccd/cs521)
  • cd ~bccd/cs521
 
  • make
Added:
>
>
  • wait for instructions, eat pizza, etc.

As more machines come online, you might need to refresh your system state:

  • bccd-allowall
  • bccd-snarfhosts
  • recon -v ~/machines
 

Line: 135 to 146
 
  • Post information to class -- Ducky w/input from Alan
  • Post information more widely -- Ducky w/input from Alan
  • Figure out what code to run -- class
Changed:
<
<
  • Make sure code compiles on Macs and Linux both with near-forehead install -- Ducky
>
>
  • Make sure code compiles on Macs and Linux both with near-forehead install (meaning two directories) -- Ducky
  On the day of:
  • Switches -- Alan
Line: 145 to 156
 
  • DHCP server boot
  • Put code in ~bccd/cs521
Deleted:
<
<


Old stuff, probably unneeded

Other distributions of bootable Linux with clustering tools:

Revision 72006-03-20 - DuckySherwood

Line: 1 to 1
 
META TOPICPARENT name="DuckyHomework"

Big Cluster Project 11 April 2006

(Note: this page is under construction and hasn't been announced yet, so is in massive flux.)
Line: 22 to 22
 To get CS 521 credit, you need to do the following:
  • Burn a bootable BCCD CD (see below).
  • Boot your laptop from that CD at home to make sure that the burn was correct, that your system will boot, etc.
Added:
>
>
    • Note what kind of network card you have so that you can boot faster on the spot.
 
  • Bring your computer(s) and the CD to (tbd location). Laptops are preferable, since we might be limited in the number of power outlets we will have.
    • If you don't have a laptop, you can bring in your desktop; we will have at least one monitor that we can swap around.
    • If you don't have a laptop, you can borrow one for four hours (not renewable) from Koerner Library or Woodward Library, Circulation Desk, entrance level.
Changed:
<
<
  • Be fully prepared to boot your own computer as a slave, and to help out anyone who showed up who is not in 521 (i.e. who has even less experience than you have).
>
>
  • Be fully prepared to boot your own computer, and to help out anyone who showed up who is not in 521 (i.e. who has even less experience than you have).
 

Making a bootable CD

Changed:
<
<
There are a number of different distributions of MPI/LAM, but Ducky recommends BCCD. It is specifically designed for educational use, and has a PPC version so that Mac users can play too. Note that Ducky is in the middle of trying to veify that it works, but hasn't yet.
>
>
There are a number of different distributions of MPI/LAM, but we will use BCCD. @@@ It is specifically designed for educational use, and has a PPC version so that Mac users can play too.
 

Linux

Making a bootable CD on Llinux is nowhere near as easy as it ought to be. It's probably not something that you do all the time, so you might have challenges with media, drivers, kernels, applications, or all of the above.
Line: 59 to 61
  Note that when you boot from the CD on your Mac, you must hold down the "c" button to make it boot from the CD.
Added:
>
>


On the Day Of

On the day of the event, several things need to happen.

Equipment

We need some extra equipment:
  • Switches -- Alan Wagner will bring those
  • Spare CAT5 cables (from where? @@@)
  • A drive somewhere with the code to run (source, since we'll have Macs on the network as well)

Boot

DHCP Server: One machine needs to boot as a DHCP server.

The DHCP server op might need to know the "static IP address, netmask, gateway, IP for DNS, and broadcast address for localhost and network" @@@ not sure if all that really needed.

It looks like this is the sequence (not tested yet):

  • Boot up to the splash screen
    • Hit F3, then type framebuffer mode # startdhcp or start in default mode or @@@
    • Let it boot by default @@@

All the other machines need to be clients:

  • Boot up to the splash screen
  • Hit F3
  • Type framebuffer mode # automode

Everyone then:

  • Follow directions
  • Sign in as root and unmount all of your own partitions.
    • df to get a list of the mounted partitions
    • umount partition for all of yours, e.g. @@@
  • Log out.
  • Sign in as bccd, with a password that we will determine on the day of the event.

Synchronize services

@@@ do all machines need to do this? probably.
  • pkbcast @@@ is this LAM or BCCD?
  • bccd-allowall
  • bccd-snarfhosts

Switch to LAM

@@@ do we need to do this? or do we just stick with MPICH?
  • vi ~/.bashrc
    • edit PATH so that the line reads export PATH=/lam-mpi/bin:$PATH
  • source ~/.bashrc in all appropriate shells (or log out and log back in)
  • For each node, rebuild the library cache:
    • su - root
    • ldconfig -v | less
  • recon -v ~/machines
  • lamboot -v ~/machines

Compile the target code

Everybody needs to compile the target code.
  • mkdir ~bccd/cs521
  • The DHCP server machine needs to put the code into ~bccd/cs521
  • All the other nodes need to run bccd-synchdir ~bccd/cs521 ~/machines
  • make



Setup needs

There are a few one-of things to do ahead of time:
  • Instructions on what everyone needs to bring -- Ducky
  • Instructions for what to do on the day of -- Ducky
  • Locate switches -- Alan
  • Locate CAT5 cables
  • Reserve a room with an adequate amount of tables and space -- ?
    • Estimate head/node count, adjust room if needed
  • Post information to class -- Ducky w/input from Alan
  • Post information more widely -- Ducky w/input from Alan
  • Figure out what code to run -- class
  • Make sure code compiles on Macs and Linux both with near-forehead install -- Ducky

On the day of:

  • Switches -- Alan
  • Extra CAT5 cables (?)
  • Pizza -- Google via Brett
  • Printouts of instructions -- Ducky (maybe a projector with instructions as well?)
  • DHCP server boot
  • Put code in ~bccd/cs521



Old stuff, probably unneeded
 

Other distributions of bootable Linux with clustering tools:

Revision 62006-03-20 - DuckySherwood

Line: 1 to 1
 
META TOPICPARENT name="DuckyHomework"

Big Cluster Project 11 April 2006

(Note: this page is under construction and hasn't been announced yet, so is in massive flux.)
Line: 38 to 38
 If you have trouble burning from Linux, you can is burn a CD from Windows and then boot that from Linux. Note that if everything is working, you should not need to burn anything except an iso file (Windows) or an iso.img file (Linux) to your CD. Note that if everything is working, you should be able to stick the CD in your drive and restart; you should not need to hold down magic key combinations
  • Ducky successfully burned BCCD from Windows and booted on Linux (Kannotix distro, 2.6.11 kernel) using just what Windows offered (::RecordNow, which appears to be distributed with IBM Thinkpads).
Changed:
<
<

Other distributions of bootable Linux with clustering tools:

>
>

Mac

When burning a CD on the Mac, it is important to burn it in "raw" format. (A raw image contains special error detection and correction codes that the CDR software will generate as it is writing the ISO image to the CD. You cannot simply add the image file to the CD layout as you would when recording normal files off your hard drive.) This means that you can't just use the standard method of burning a file onto disk.

Here are instructions from mkLinux on how to burn a raw image:

  1. Download a BCCD image
  2. Open Disk Copy, which can be found in /Applications/Utilities
  3. Choose "Burn Image..." from the "Image" menu.
  4. Locate the image you wish to burn (i.e. maindisk.img).
  5. Insert a blank CD-R or CD-RW.
  6. Click the "Burn" button!

This is slightly different from the UI Ducky found with version 10.2 (Panther) of OS X:

  1. Download a BCCD image
  2. Open Disk Utility from /Applications/Utilities
  3. Choose "Burn..." from the "Images" menu
  4. Select the .iso BCCD image from the file picker
  5. When it prompts you for a blank CD, insert one
  6. Click the "Burn" button!

Note that when you boot from the CD on your Mac, you must hold down the "c" button to make it boot from the CD.

Other distributions of bootable Linux with clustering tools:

 

Revision 52006-03-19 - TWikiGuest

Line: 1 to 1
 
META TOPICPARENT name="DuckyHomework"

Big Cluster Project 11 April 2006

Added:
>
>
(Note: this page is under construction and hasn't been announced yet, so is in massive flux.)
  Come help us make a big parallel cluster on 11 April 2006!
  • If you are in CS 521, you'll get five points credit for participating (details below).
  • It's after instruction ends but before exams start, so you have no excuse.
  • It'll be right before Tuesday Tea.
Changed:
<
<
  • Brett says he'll get Google to buy pizza for us.
>
>
  • Brett has a budget from Google for pizza that he's eager to spend on this event.
 
  • It'll be fun!

We want to get a lot of computers, where "a lot" is on the order of 40.

Line: 19 to 20
 

CS 521 credit

To get CS 521 credit, you need to do the following:
Changed:
<
<
  • Burn a (tbd) CD.
  • Boot your laptop from that CD to make sure that the burn was correct, that your system will boot, etc.
>
>
  • Burn a bootable BCCD CD (see below).
  • Boot your laptop from that CD at home to make sure that the burn was correct, that your system will boot, etc.
 
  • Bring your computer(s) and the CD to (tbd location). Laptops are preferable, since we might be limited in the number of power outlets we will have.
    • If you don't have a laptop, you can bring in your desktop; we will have at least one monitor that we can swap around.
    • If you don't have a laptop, you can borrow one for four hours (not renewable) from Koerner Library or Woodward Library, Circulation Desk, entrance level.
  • Be fully prepared to boot your own computer as a slave, and to help out anyone who showed up who is not in 521 (i.e. who has even less experience than you have).

Making a bootable CD

Changed:
<
<
Making a bootable CD is not as easy as you might think. On Linux, there are some unspecified issues with cdburner for kernels newer than @@@; there is some documentation on the Web that says they have been fixed in 2.6.11, but DuckySherwood had problems even with 2.6.11. @@@
>
>
There are a number of different distributions of MPI/LAM, but Ducky recommends BCCD. It is specifically designed for educational use, and has a PPC version so that Mac users can play too. Note that Ducky is in the middle of trying to veify that it works, but hasn't yet.
 
Changed:
<
<
These are links that Ducky is in the process of looking at in trying to figure stuff out...
  • Mandrake bootable CD instructions:
http://marc.theaimsgroup.com/?l=mandrake-cooker-ppc&m=99441208917647&w= http://www.netbsd.org/Documentation/bootcd.html#creating-the-image

From http://www.geocities.com/potato.geo/bootlinuxcd.html: First, download the iso.img.gz file. Decompress it with gunzip and burn it to a CD (I'd suggest a CDRW) using cdrecord or if you want to do it from Windows, you probably just need to rename it to blah.iso and Easy CD Creator or whathaveyou should be able to burn it.

Eroaster

Macs:

>
>

Linux

Making a bootable CD on Llinux is nowhere near as easy as it ought to be. It's probably not something that you do all the time, so you might have challenges with media, drivers, kernels, applications, or all of the above.

On Linux, there are some unspecified issues with cdburner for kernels newer than @@@; there is some documentation on the Web that says they have been fixed in 2.6.11, but DuckySherwood had problems even with 2.6.11. @@@

If you have trouble burning from Linux, you can is burn a CD from Windows and then boot that from Linux. Note that if everything is working, you should not need to burn anything except an iso file (Windows) or an iso.img file (Linux) to your CD. Note that if everything is working, you should be able to stick the CD in your drive and restart; you should not need to hold down magic key combinations

  • Ducky successfully burned BCCD from Windows and booted on Linux (Kannotix distro, 2.6.11 kernel) using just what Windows offered (::RecordNow, which appears to be distributed with IBM Thinkpads).

Other distributions of bootable Linux with clustering tools:

 

Revision 42006-03-19 - DuckySherwood

Line: 1 to 1
 
META TOPICPARENT name="DuckyHomework"

Big Cluster Project 11 April 2006

Line: 37 to 37
  http://www.netbsd.org/Documentation/bootcd.html#creating-the-image
Added:
>
>
From http://www.geocities.com/potato.geo/bootlinuxcd.html: First, download the iso.img.gz file. Decompress it with gunzip and burn it to a CD (I'd suggest a CDRW) using cdrecord or if you want to do it from Windows, you probably just need to rename it to blah.iso and Easy CD Creator or whathaveyou should be able to burn it.
 Eroaster

Macs:

Revision 32006-03-18 - TWikiGuest

Line: 1 to 1
 
META TOPICPARENT name="DuckyHomework"

Big Cluster Project 11 April 2006

Line: 27 to 27
 
    • If you don't have a laptop, you can borrow one for four hours (not renewable) from Koerner Library or Woodward Library, Circulation Desk, entrance level.
  • Be fully prepared to boot your own computer as a slave, and to help out anyone who showed up who is not in 521 (i.e. who has even less experience than you have).
Added:
>
>

Making a bootable CD

Making a bootable CD is not as easy as you might think. On Linux, there are some unspecified issues with cdburner for kernels newer than @@@; there is some documentation on the Web that says they have been fixed in 2.6.11, but DuckySherwood had problems even with 2.6.11. @@@

These are links that Ducky is in the process of looking at in trying to figure stuff out...

  • Mandrake bootable CD instructions:
http://marc.theaimsgroup.com/?l=mandrake-cooker-ppc&m=99441208917647&w= http://www.netbsd.org/Documentation/bootcd.html#creating-the-image

Eroaster

Macs:

Revision 22006-03-17 - DuckySherwood

Line: 1 to 1
 
META TOPICPARENT name="DuckyHomework"

Big Cluster Project 11 April 2006

Line: 20 to 20
 

CS 521 credit

To get CS 521 credit, you need to do the following:
  • Burn a (tbd) CD.
Changed:
<
<
>
>
 
  • Boot your laptop from that CD to make sure that the burn was correct, that your system will boot, etc.
  • Bring your computer(s) and the CD to (tbd location). Laptops are preferable, since we might be limited in the number of power outlets we will have.
    • If you don't have a laptop, you can bring in your desktop; we will have at least one monitor that we can swap around.

Revision 12006-03-17 - DuckySherwood

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="DuckyHomework"

Big Cluster Project 11 April 2006

Come help us make a big parallel cluster on 11 April 2006!

  • If you are in CS 521, you'll get five points credit for participating (details below).
  • It's after instruction ends but before exams start, so you have no excuse.
  • It'll be right before Tuesday Tea.
  • Brett says he'll get Google to buy pizza for us.
  • It'll be fun!

We want to get a lot of computers, where "a lot" is on the order of 40.

We want to run a cool parallel program on the cluster. If you have a suggestion, add it to the list below. The suggestions we have so far

  • Finding large prime numbers
  • LINPACK
Something graphical -- something interesting to watch -- would be more fun than something purely textual like prime numbers.

CS 521 credit

To get CS 521 credit, you need to do the following:
  • Burn a (tbd) CD.
  • Boot your laptop from that CD to make sure that the burn was correct, that your system will boot, etc.
  • Bring your computer(s) and the CD to (tbd location). Laptops are preferable, since we might be limited in the number of power outlets we will have.
    • If you don't have a laptop, you can bring in your desktop; we will have at least one monitor that we can swap around.
    • If you don't have a laptop, you can borrow one for four hours (not renewable) from Koerner Library or Woodward Library, Circulation Desk, entrance level.
  • Be fully prepared to boot your own computer as a slave, and to help out anyone who showed up who is not in 521 (i.e. who has even less experience than you have).
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback