mersenneforum.org  

Go Back   mersenneforum.org > Other Stuff > Archived Projects > 3*2^n-1 Search

 
 
Thread Tools
Old 2005-11-23, 15:48   #12
Thomas11
 
Thomas11's Avatar
 
Feb 2003

5·383 Posts
Default

Quote:
Originally Posted by paulunderwood
Also try

grep WorkDone llr.ini
You may also try something like the following:

Code:
grep WorkDone llr321*/llr.ini
You'll get something like:

Code:
llr321_1/llr.ini:WorkDone=0
llr321_2/llr.ini:WorkDone=0
llr321_3/llr.ini:WorkDone=0
llr321_4/llr.ini:WorkDone=0
llr321_5/llr.ini:WorkDone=1
llr321_6/llr.ini:WorkDone=0
As Paul already said, you'll need to set up your SSH accordingly to allow logon without a password prompt, e.g. there should be a file "known_hosts" in your .ssh directory, containing the public keys for all the remote machines you want to access to.
Thomas11 is offline  
Old 2005-11-27, 22:25   #13
Ken_g6
 
Ken_g6's Avatar
 
Jan 2005
Caught in a sieve

5×79 Posts
Default

There are at least two systems that allow you to distribute work over the network. One is called LLRNet, and is used by a number of projects here. Unfortunately I'm not very familiar with it.

The other is a server I wrote , called SBprp. It is a Java program that serves work to the client written for the Seventeen or Bust project. Just extract the sbprp.zip file in your LLR directory, copy (or rename) your llr.ini to prp.ini, overwriting my example, and run "java SBprp". It serves work on that machine, on port 5911 (0x1717), so install Seventeen or Bust clients on all your machines, and point them there.

The big problem with SBprp is that it will only do Proth tests (k*2^n+1), not Riesel tests (k*2^n-1) (or anything else). Oh, and k's over 2^31 won't go over well either.

As for monitoring, one command that helps is "tail -f". To look for new work on all those machines, for instance, try:

tail -f -s 60 -n 0 /path/LLR/llr01/llr.ini /path/LLR/llr02/llr.ini /path/LLR/llr03/llr.ini
Ken_g6 is offline  
Old 2005-11-28, 19:30   #14
runcer
 
runcer's Avatar
 
May 2005

710 Posts
Default many instances of llr running

is there a way to determine what instance of llr is actually running? I make a mistake and started a llr on a llr.exe that was already running and both machines ran as normal, but I don't think I was getting anywhere with 2 machines running the same instance. Thoughts?
Joe
runcer is offline  
Old 2005-11-28, 20:05   #15
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

393410 Posts
Default

I'm a little confused by this. Do you mean "llr" was running on one linux computer and "llr.exe" was running on a second computer (windows) and they had the same 321 input file?

Does

ps -C llr

help you?

Last fiddled with by paulunderwood on 2005-11-28 at 20:06
paulunderwood is offline  
Old 2005-11-28, 20:41   #16
runcer
 
runcer's Avatar
 
May 2005

7 Posts
Default clarification

no, both machines are linux. llr01/llr was running on machine A and I logged into machine B and ran llr01/llr from machine B while it was already running on A. Is there a line in the .ini file or the like that I can grep the information that this instance of llr is already running? I hope this helps.
Joe
runcer is offline  
Old 2005-11-28, 20:54   #17
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

2·7·281 Posts
Default

Sure.

grep Pid ~/llr01/llr.ini

will show Pid=0 if llr is not running else it will be non-zero

grep Pid ~/llr*/llr.ini

for all directories

Last fiddled with by paulunderwood on 2005-11-28 at 20:55
paulunderwood is offline  
Old 2005-11-29, 21:55   #18
Ken_g6
 
Ken_g6's Avatar
 
Jan 2005
Caught in a sieve

5·79 Posts
Default

Now that I notice the project this is posted in , I see that you need LLRNet. The page says "client", but the server is included in each as well.
Ken_g6 is offline  
Old 2005-11-29, 23:43   #19
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

2·7·281 Posts
Default



No LLRNET used here

Maybe in the future we'll use it

Last fiddled with by paulunderwood on 2005-11-29 at 23:45
paulunderwood is offline  
Old 2005-12-01, 15:19   #20
Ken_g6
 
Ken_g6's Avatar
 
Jan 2005
Caught in a sieve

1100010112 Posts
Default

I meant he could serve work to his own machines with his own LLRNet server. That is, if he's up to the challenge.
Ken_g6 is offline  
 

Thread Tools


All times are UTC. The time now is 17:03.


Fri Dec 3 17:03:48 UTC 2021 up 133 days, 11:32, 2 users, load averages: 1.11, 1.20, 1.13

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.