...making Linux just a little more fun!
By Majid Hameed
ParallelKnoppix is a Live CD based on Knoppix, which is also a Live CD that
is itself based on the Debian Linux distribution. ParallelKnoppix lets you
create a Linux cluster equipped with parallel programming tools/libraries
such as MPI in just a few minutes. It saves a lot of time that we spend in
configuration of the computing environment. The existing environment is not
disturbed using ParallelKnoppix, since a Live CDs distribution runs without
installation (a directory is created on the Master Node; it can be deleted
after rebooting if desired.)
(From http://pareto.uab.es/mcreel/ParallelKnoppix/):
ParallelKnoppix is a re-master of Knoppix that allows setting up a cluster of machines for parallel processing using the LAM-MPI and/or MPICH implementations of MPI. Getting the cluster up and running takes less than 15 minutes, if the machines have PXE network cards.
Now, the Linux gurus have solved this problem by developing Live CDs. Now the researcher can choose a Live CD to do parallel programming without the need for long configuration and the cluster is ready within a few minutes.
One of the Live CDs for parallel programming is ParallelKnoppix. Other Live CDs, such as BCCD and ClusterKnoppix, are also available.
Each and every service needed for LAM/MPI is configured automatically. DHCP, NFS, SSH (with passwordless logins) are all set up and running - and you are ready to experiment with MPI programs and other parallel applications.
As set up, ParallelKnoppix is not very secure - the Live CD password for both the regular user and the super user (root) are publicly known. Anyone with even a little knowledge of ParallelKnoppix can easily access the ParallelKnoppix cluster. In this case, the ease of setup is obtained by compromising some security as a trade-off.
[ As a general rule of thumb, your ParallelKnoppix network should be isolated from the Internet, and usually even your intranet, if security is at all a concern. -- Ben ]
via FTP: ftp://volcano.uab.es/pub/parallelknoppix.iso
via HTTP: http://pareto.uab.es/mcreel/ParallelKnoppix/parallelknoppix.iso
MD5SUM for the image: http://pareto.uab.es/mcreel/ParallelKnoppix/parallelknoppix-2004-12-16.iso.md5
Check the home page if the above links expire.
After downloading the ISO images, check the MD5 checksums against the
ISO images to ensure that your download was successful. Do this by running
the md5sum program from a shell prompt and comparing the
values returned:
md5sum isofilename
In the above command, replace isofilename with the correct file name.
If you are for some reason not using Linux, you can use md5Summer for Windows. An MD5 summer for DOS is also available.
If the MD5 sums match, burn the ISO images to CDRs or CDRWs.
Note: writing the ISOs to CD requires a program such as
cdrecord.
miniroot.gz, and using Rom-o-Matic to create the
PXE boot ROM. Too horrible for further contemplation... at least for me.
K -> ParallelKnopix -> Setup
ParallelKnoppix, per the above tutorial). When the script
had created the DHCP server, I turned on my slave nodes and let them boot
using PXE. All the nodes booted successfully.
I then copied my program to parallel_knoppix_working, and
ran my MPI program in parallel. It was literally that simple.
For compilation, I use
mpicc myprogram.c -o myprogram.bin
For execution, I use
mpirun C myprogram.bin
"The ParallelKnoppix CD provides a very simple and rapid means of setting up a cluster of heterogeneous PCs of the IA-32 architecture. It is not intended to provide a stable cluster for multiple users, rather it is a tool for rapid creation of a cluster for individual use. The CD itself is customizable, and the configuration and working files can be re-used over time, so it can provide a long-term solution for an individual user."-- From the ParallelKnoppix Tutorial By Michael Creel
Discussion Paper on Parallel Knoppix By Michael Creel (14th October 2004)
http://pareto.uab.es/wp/2004/62504.pdf
High Performance Linux Clusters with OSCAR, Rocks, OpenMosix, and MPI By Joseph D. Sloan
Publisher: O'Reilly Associates
Pub. Date: November 2004
http://safari.oreilly.com/0596005709
http://safari.oreilly.com/?XmlId=0596005709
The Knoppix Homepage
http://www.knopper.net/knoppix/index-en.html
http://www.knoppix.org/
http://www.Knoppix.com
http://www.Knoppix.net
ROM-o-matic.net
http://rom-o-matic.net/
LAM/MPI Parallel Computing
http://www.lam-mpi.org/
LAM/MPI User's Guide
http://www.lam-mpi.org/download/files/7.1.1-user.pdf
I am a Linux enthusiast. I am using Linux as an operating system for the
last 3.5 years. Used and tried these distros: Red Hat Linux 9, 8, 7.3,
7.2, Slackware Linux 10, 9.1, Slax, Mandrake Move 2, Knoppix 3.4, Vector
Linux 4.3, and some more.
Majid Hameed is an undergraduate student at Department of Computer Science
at the University of Karachi, Sindh, Pakistan. Primary interests are Artificial
Intelligence, Operating Systems, Networking, Programming and Computer
Graphics.