sending work to other machines

Message boards : Number crunching : sending work to other machines

To post messages, you must log in.

AuthorMessage
Steven F.

Send message
Joined: 26 Jul 07
Posts: 1
Credit: 11,420
RAC: 0
Message 44361 - Posted: 26 Jul 2007, 19:29:02 UTC

First of all, I'm not new to BOINC and its wonderful work (I had SETI@Home running between '04-'05 I believe). That was until my parents bought me a new computer for my 13th birthday.
I just started RAH yesterday, and as I was watching the folding, I started wondering was there:
A) A program that could leech idle CPU time from other computers in a LAN or
B) A script that would let my computer download a WU, distribute it to the other two computers in my LAN, let each computer run through the computations, send the results back to my computer, reassemble the results into a single package, and then send the entire package back to the server, etc.

Now that I think about it B might not be such a good idea seeing as how my family has computers of varying speeds

If anyone has any information on either of these points it would be greatly appreciated.
Thank You
ID: 44361 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Mod.Sense
Volunteer moderator

Send message
Joined: 22 Aug 06
Posts: 4018
Credit: 0
RAC: 0
Message 44362 - Posted: 26 Jul 2007, 19:35:31 UTC

If "A" were possible, it would mean the target machine has successfully been infected with a "virus"... so operating systems and settings tend to prevent that.

I don't believe anyone has written a script as you describe in "B". I've been thinking of such a thing for some time. But it's generally just too much simpler to have each PC connect directly to the project to exchange tasks anyway.
Rosetta Moderator: Mod.Sense
ID: 44362 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile dcdc

Send message
Joined: 3 Nov 05
Posts: 1832
Credit: 119,860,059
RAC: 1,141
Message 44371 - Posted: 26 Jul 2007, 23:11:30 UTC

You can do A using something like Beowulf but that's an OS.

you can run boinc from a remote machine over a network if that's any use. It's not ideal because network interruptions can kill the process, but it works pretty robustly on a wired network. All you have to do is:

1. Create a boinc installation that's ready to run (i.e. connected to a project and has tasks ready to run) on your machine (the server) in a folder other than your normal boinc folder**.
2. Share that folder.
3. On the client create a mapped drive of the shared BOINC folder on the server.
4. Create a scheduled task on the client that runs boinc.exe whenever the machine is idle for x minutes, and set it to end the task when the machine is no longer idle.

That scheduled task must be running under the same account as the logged in user though - otherwise it won't detect that the computer is in use and will carry on running.

** The easiest way to do this is to just copy your current boinc folder to another location and share that. Then open the file 'init_data.xml' in the boincslots folder and change these lines to the new location:
<project_dir>c:Program FilesBOINC/projects/boinc.bakerlab.org_rosetta</project_dir>
<boinc_dir>c:Program FilesBOINC</boinc_dir>

Also, if it's any use, when I'm setting up a computer I use this batch file to quickly create an account with a password and have it hidden from the logon screen (you can do all this manually but this is a lot quicker!):

----------
rem @echo off
net user BOINCUser Password /add && net localgroup administrators BOINCUser /add
echo Windows Registry Editor Version 5.00> c:hide.reg
echo [HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogonSpecialAccountsUserList]>> c:hide.reg
echo "BOINCUser"=dword:00000000>> c:hide.reg
REGEDIT /S c:hide.REG
DEL /Q c:hide.REG
Exit
----------

You can use an account like that to run boinc fairly invisibly which is good when people don't mind it running as long as they don't see it and it doens't annoy them with messages etc.
ID: 44371 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote

Message boards : Number crunching : sending work to other machines



©2025 University of Washington
https://www.bakerlab.org