Re: Using Mosix: How to do 100 simulation runs, 7 at a time

"A. Jorge Garcia" <[email protected]>
Newsgroups gmane.linux.cluster.openmosix.general
Message-ID <[email protected]>
>>
We have a 64-node Athlon cluster with Opteron servers running Red Hat 
9 with an openMosix kernel, but I'm in the process of migrating to 
Debian.
<<

We have a 25-node (each with a Pentium IV 2.6 GHz, 700MB RAM and 40GB hdd) cluster, CentauriPrime, running BCCD which is not based on Debian but is based on open-mosix.  Our everyday setup is a LAN based on KNOPPIX (also Debian) which is installed to each hdd and a ssh server for student login accounts to save work.  Whenever we want a cluster, we break out the BCCD CDs and boot them up!  We could easily scale this up to over 100 nodes in my building but not all nodes would be Pentium IVs.

I'm curious if anyone out there is writing any useful code in C++ using fork() over openmosix?  If so, what?  And, yes, sample code would be appreciated!

I remember doing some sort of a hello world program with fork() where each forked process would do some crazy product loop to induce load balancing.  This was easily confirmed with openMosixView.  However, what I'd like to do is control the forking processes and gather output from each fork().  

Even a basic example like finding the numerical integral of 1/x from x=1 to x=2 to estimate ln(2) breaking up the area calculations, Reimann Rectangles, as a multiple of the number of nodes.  Do you collect output from the forked methods with wait()?

TIA,
AJG

A. Jorge Garcia
CALCPAGE: NEW TECHBOOK FIRST EDITIONS!
Calculus and CompSci Project Online!
http://calcpage.tripod.com

Teacher and Professor
Applied Math and Comp Sci
Baldwin High and Nassau CC
Long Island, NY, USA

mailto:[email protected]
ftp://ftp.baldwinschools.net
http://calcpage.tripod.com/bshs

Baldwin High Chess Club
http://calcpage.tripod.com/bhcc

SFFBCLUB (Science Fact & Fiction BookCLUB) on ebay
http://stores.ebay.com/sffbclub


-- 
_______________________________________________

Search for businesses by name, location, or phone number.  -Lycos Yellow Pages

http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.