Page 2 of 3

Posted: Thu 06 Sep 2007, 15:06
by cb88
could you compile the octave pankage for puppy that is in parallelknopix with matrixpup it seems to be a powerful matematical application and puppy doesn't have one yet i think it needs python which i don't have it will ./configure and make but fails because there is not enough dependacies on my pc a recompile of gcc would be nice too that would even be advantagious to barry sice he could compile faster in theory

probaby best to do theses as sfs modules

i realize that it might take a while to get all this stuff probably what you planed anyway

BTW my laptop has 64mb ram but no net card LOL might need to get a router and a card

Posted: Thu 06 Sep 2007, 15:57
by Everitt
As far as I can see octave needs to be present on ever node, and so needs python on every node too. I'd rather not include that.
sfs files are a little impractical, they'd need to be on over nodes HDD. I could share them over NFS or SMB, but I'm trying to avoid that to reduce network traffic (so it runs better)

I'm not sure if gcc can be run in parallel, but there is a version of make that can (dmake) I'll certainlly look into that, but I won't include it at the moment.

What I'm planning at the moment could well be the solution to all of this. I plan to include the unleashed system, with a few basic scripts to make things easier, so you can create a initrd.gz on the fly, containing what you think you'll need. That way you aren't tied to what I have time to do, or my vision for the project. Of course, it'll mean you need a reasonable amount of ext3 space, but that's not so hard to come by.

Posted: Thu 06 Sep 2007, 19:27
by cb88
could an sfs be uploaded to every node to the correct place on the hard drive then have the PC reboot? are local sfs files detected by net booting puppies? boot>>load sfs files>>reboot with the sfs files better than remastering and would only be a burden on the net during boot

that would be a good feature since it is likely that most pc that are used with this will be dedicated nodes and not used for other stuff(in my case that is what they will be)

i am gonna try geting python and octave working on my pc then i may wat to set up a small home cluster with some old'puters probably in the P3-4 256-512mb range.

guess gigabit ethernet would be good too wouldn't it? good idea making unleashed that way there is less chance of the project fizzleing out.

Posted: Thu 06 Sep 2007, 23:29
by Everitt
It would certainly possible to move files onto nodes. I'm already making use of SSH, so there is no reason why you couldn't use the scp command. sfs files do load on a netbooted puppy, as long as you have a save file on that machine, just like from the CD. This does of course require nodes to have disks, and involves copying the file to each indervidual node one at a time (or with a script, still in a linear, therefore slow, manner.) It's good idea though, if you plan to use the same nodes time and time again. I'll add a script to do that to my ever growing todo list.

I'm planning to add the ability to poweroff or reboot node using MPI. If you try to run the commands directly then they never return 0 (how could they?), so you have to wait for it to time out on the server. A couple of simple binaries should fix that though. Yet another thing on my todo list. :)

Gigabit makes transfers faster, but actually has a slightly higher latency, so the benifits actually depend on the code you run. I believe that overall it is a big improvement, but then again it's still nastily expensive. :(

Posted: Fri 07 Sep 2007, 03:04
by cb88
it may be costly as an pci board but many computers even old ones (p4 cerca 2002) have gigabit. is it not possible to have multiple links between computers perhaps have both 100mb and gigabit(that really would be expensive unless you found some for cheap)? still haven't gotten octave i suspect that it may be the old gcc puppy 2.16 uses 2.20 will have 4.x so maybe i will try again with it.

also 2.20 may come in a new kernel and old kernel versions so you could probably use most of the same stuff in 2.20 with 2.18x kernel

i really have no experience with net booting at all.

i did notice that python was very big when i compiled it the .pet ended up being 5.3mb

Posted: Fri 07 Sep 2007, 10:18
by Everitt
The switchs are also expensive, which is what put me off. I guess I'm just cheap. :P
Multiple NIC's would be somewhat complicated to set up, and even harder to get an app to use them seperately for different data loads. I'd suggest just using what you have, chances are you wouldn't really notice a diference anyway. I don't know, I don't have any real experiance.

You shouldn't really need much. Just boot the CD in on computer, then on the nodes all you need to do is ensure they're set to boot from the network. If there isn't an option in the bios (pre 2001 machines) you can get boot floppies.

Posted: Fri 07 Sep 2007, 21:13
by cb88
sounds easy enough

if you are in the us this might be a good buy even though everitt must already have a switch

http://www.newegg.com/Product/Product.a ... 6833180028

Posted: Fri 07 Sep 2007, 21:49
by Everitt
Well, I can do it, so yeah, it's got to be pretty damned easy. :)

Progress report: Work on the server has reached a point where it is now possible to create a working CD. I hope. It works booting the server itself over PXE. with a little fiddeling for reasons of filesize. No reason why a CD shouldn't work. I'm calling this a milestone anyway. Now it's a matter of tidying up a few things, rewriting the unleashed scripts, and intagrating that. First up though I'm going to try and write a few scripts/binaries I've been thinking of to make using it a bit easier.

Posted: Sat 08 Sep 2007, 02:43
by cb88
like i said i tried compiling octave again and it said that a sanity check failed i tried to compile a program i had already packaged and it did the same so i guess my devx is messed up i'll fix it tomorrow i guess

also there is a version of octave for mpi or is it a patch it seems that octave is a near exact clone of command line matlab but i am not sure

my calculus professor said he would give the windows version a look see "happily" he still uses win 98 and 2000 and there is hope he will never use vista!


here is octavempi if you haven't seen it already: https://sourceforge.net/projects/octavempi/

Posted: Sat 08 Sep 2007, 03:09
by Everitt
cb88 wrote:here is octavempi if you haven't seen it already: https://sourceforge.net/projects/octavempi/
There is also MPITB. Seems more mature to me, or at least to have better documentatiopn; and itseems to have more suitable requirements. (No NFS.)
Who knows? It's 4AM, I've spent most of the night scripting. :P

Getting there!

Posted: Mon 10 Sep 2007, 22:09
by Everitt
Last night I burn the first disk of MatrixPuppy. I scrapped it after one boot, but then I burnt a slightly different one, and it almost worked. Just.

The server boots fine, and the nodes load up ok. The (Very) basic tests I've run have shown that code is being executed on all the nodes. I've written some VERY basic documentation, found in /readme.text (a typo, but I like it :) )
Things I know: They two binaries I wrote to poweroff and reboot the nodes are broken. I think I know why, but I haven't had any time to look into it.

If anyone is interested in trying it then I have a 142MB ISO that I'd be more than happy to upload for you, but I have no idea where I could host a file like that. I tried puppyiso@ftp.servage.net but it timed out at 99%, twice, so I guess that's not going to work.

Posted: Tue 11 Sep 2007, 20:25
by msumner
Hi Everitt, I only just noticed this thread. I have fancied trying out something like this with a selection of old scrappers. I find people giving me some quite decent boxes, the latest two have 850 and 950 mhz durons with 384 and 512 mb ram. I would love to try puppy on these!

Posted: Tue 11 Sep 2007, 20:33
by HairyWill

Posted: Tue 11 Sep 2007, 22:23
by Everitt
msumner wrote:Hi Everitt, I only just noticed this thread. I have fancied trying out something like this with a selection of old scrappers. I find people giving me some quite decent boxes, the latest two have 850 and 950 mhz durons with 384 and 512 mb ram. I would love to try puppy on these!
Those machines are way out of my league. I'm testing this on PII's (350 + 450 oc'd to 510)
I got the memory useage for the nodes down to about 48MB earlier. Unfortunately I also noticed that I'd made a slight mistake, so you could only actually use parellel code. Add that to a few lesser bugs / updates I've been playing with and I don't see much point actually releasing alpha1. I'll try to get a fixed version out soon, but right now I'm getting odd errors. I know recompiling will fix it, but I think that might break something else. I need to do some reading around this.

Thanks HairyWill, that looks like it should do nicely. :D

Posted: Fri 14 Sep 2007, 19:22
by Everitt
Right, lets try this again.
Getting alpha2 ready has taken longer than I expected as I found a couple of pretty majour bugs that I had to work around. Hopefully though this econd alpha will last ong enough to actually get uploaded. :)
Changes include:
Rewrite of my mpi launcher script to include a lot more options, and to fix a couple of bugs.
Modification of library path varaibles to include the mpi libs (:D)

I'm going to update the readme, look into another possible bug, then try to upload. Fingers crossed. :)

Posted: Sat 15 Sep 2007, 12:56
by Everitt
Finally, I get something done!
The iso can be found here. It is called martixpup-1.0alpha2.iso. By taking out some of the features of stadard puppy that I see little need for I shrunk it enough that I could upload without it timing out, so if you'r favourite app is missing please don't be too nasty about it. :P

Usage:
Set up a network, consisting only of the computers you plan to use. Each machine should be linked to the network by it's eth0.
Pop the disk into one of the machines, and boot from it as per usual. This is the 'server'. It's the only machine you need really use.
The other computers must either be able to boot from a network, or have bootable floppies from http://www.etherboot.org As soon as the 'server' has loaded they can boot from the network, so power the on. After the usual puppy loading things you should be greeted by a message, and a password propt. You don't need to login, it's ready and waiting.
On the 'server'; read 'readme.text', and have a play.

I'm sorry I can't add more detailed notes, but I'm in the middle of packing to leave tomorrow.

Posted: Sun 04 Nov 2007, 02:04
by cb88
what if this were implemented in the cyber cafes? just boot up matrixpup at night and run so folding apps.....

http://www.stanford.edu/group/pandegrou ... nload.html

supercybercafe

Posted: Sun 04 Nov 2007, 02:23
by mcewanw
cb88 wrote:what if this were implemented in the cyber cafes?
ecomoney should get into this for his cybercafe. Just imagine having your own supercomputer to play on before anyone else comes in for a cup of coffee!

Actually if all puppy users could matrix their machines together, I could then hire out the "facilities" of this old wreck of a laptop to NASA or the local university, or maybe tell them why it is running so fast...

Alternatively, I'll just have to accept the offer of a free puppy linux virtual machine vnc over ssh account on some other puppy user's fast shiny new multi-processor machine. OK, so puppy only uses one core (does it?); surely I can use the other one?!!! haha

Fantastic effort on Matrix pup though Everitt. Impressive.

Puppy Matrix

Posted: Sun 04 Nov 2007, 23:04
by macadavy
Everitt: Have you looked at CHAOS?
http://tinyurl.com/26n4as
mcewanw: A global Puppy matrix free & open source supercomputer?You've been nipping on the single malt again, n'est pas? But count me in!
btw- whisky: the Scots do it, the Irish do it, but who knew the Welsh do it, too?! http://www.welsh-whisky.co.uk/index.html
:D

Posted: Thu 08 Nov 2007, 15:48
by Everitt
This project could be addapted for folding pretty easily. Just remove the stuff concerning openMPI and add in the folding client. IIRC the 'clustering' is handeled remotely, so all you'd need to have is the PXE server to boot the nodes, and have the client auto run. Should be pretty easy I'd have thought...

As for Chaos? yeah, that's what you get if you do this properly. :D
This was just a bit of fun for me really, those guys actually know what they're doing!

Now Welsh whiskey, that does sound tempting. It's about £37 a bottle though! Damn my student budget and expensive taste!