mersenneforum.org  

Go Back   mersenneforum.org > Prime Search Projects > Sierpinski/Riesel Base 5

Reply
 
Thread Tools
Old 2010-03-19, 13:24   #12
axn
 
axn's Avatar
 
Jun 2003

31×163 Posts
Default

Quote:
Originally Posted by gd_barnes View Post
How is the search being done? Old LLRnet running LLR 3.5? I certainly hope not.
Is the new LLRNet client compatible with the old LLRNet server? Then anyone can use the new client to connect to server and crunch away!
axn is online now   Reply With Quote
Old 2010-03-19, 13:37   #13
kar_bon
 
kar_bon's Avatar
 
Mar 2006
Germany

23×3×112 Posts
Default

Quote:
Originally Posted by axn View Post
Is the new LLRNet client compatible with the old LLRNet server? Then anyone can use the new client to connect to server and crunch away!
yes, it is. there were only some changes in the client to run with the script and the new LLR V3.8.0!

so installing the new client and configure it for the project will work fine.
and if not post here/there or PM me.
kar_bon is offline   Reply With Quote
Old 2010-03-19, 14:22   #14
axn
 
axn's Avatar
 
Jun 2003

31·163 Posts
Default

Quote:
Originally Posted by kar_bon View Post
yes, it is. there were only some changes in the client to run with the script and the new LLR V3.8.0!

so installing the new client and configure it for the project will work fine.
and if not post here/there or PM me.
The old LLRNet client was hard-wired to crunch only base-2. So I had to modify it to accept other bases. Is that the case for new client also?
axn is online now   Reply With Quote
Old 2010-03-19, 14:29   #15
kar_bon
 
kar_bon's Avatar
 
Mar 2006
Germany

1011010110002 Posts
Default

Quote:
Originally Posted by axn View Post
The old LLRNet client was hard-wired to crunch only base-2. So I had to modify it to accept other bases. Is that the case for new client also?
that's not true, i think!

the only change to handle other bases than 2 is to edit a line in the llr-serverconfig.txt (the server-side):
Code:
displayFormat = "%s*5^%s-1"
this is the format the server will save the results in "results.txt"!

the client get a pair from the server with the worktype (Riesel or Sierpinski and base) and saves it in "workfile.txt" like:
Code:
43228319159:M:1:5:258
12345 67890
try it locally!
kar_bon is offline   Reply With Quote
Old 2010-03-19, 14:43   #16
axn
 
axn's Avatar
 
Jun 2003

31·163 Posts
Default

Quote:
Originally Posted by kar_bon View Post
that's not true, i think!
where can i download the new source?
axn is online now   Reply With Quote
Old 2010-03-19, 14:48   #17
kar_bon
 
kar_bon's Avatar
 
Mar 2006
Germany

23·3·112 Posts
Default

Quote:
Originally Posted by axn View Post
where can i download the new source?
try it here.

only the WIN-DOS-script version (3rd link) contains the server with a small example, too.

change the above line in llr-serverconfig.txt and put your knpairs.txt in the server-folder.

run 'do' in the client-folder and all is working fine!
kar_bon is offline   Reply With Quote
Old 2010-03-19, 14:51   #18
ltd
 
ltd's Avatar
 
Apr 2003

30416 Posts
Default

Quote:
Originally Posted by gd_barnes View Post
How is the search being done? Old LLRnet running LLR 3.5? I certainly hope not.
That server was started at a time when there was nothing else available then llr3.5.
ltd is offline   Reply With Quote
Old 2010-03-19, 14:53   #19
ltd
 
ltd's Avatar
 
Apr 2003

22×193 Posts
Default

Quote:
Originally Posted by kar_bon View Post
that's not true, i think!

the only change to handle other bases than 2 is to edit a line in the llr-serverconfig.txt (the server-side):
Code:
displayFormat = "%s*5^%s-1"
this is the format the server will save the results in "results.txt"!

the client get a pair from the server with the worktype (Riesel or Sierpinski and base) and saves it in "workfile.txt" like:
Code:
43228319159:M:1:5:258
12345 67890
try it locally!
For the old llrnet client you have to use a patched version. The problem is that somewhere in the code is a check that refuses to run tests with a base different to "base 2". So for the old llrnet client you had to remove this one line of code and recompile it. For the server side you are right there it is only a modification in the config.

Last fiddled with by ltd on 2010-03-19 at 14:56
ltd is offline   Reply With Quote
Old 2010-03-19, 14:58   #20
kar_bon
 
kar_bon's Avatar
 
Mar 2006
Germany

23·3·112 Posts
Default

I use the llrnet.exe (WIN) size: 6.425.088 bytes (date 2005-04-27).
I also saw a version with 3.364.950 bytes from 2006-08-18!

I had not tried the smaller one with the script, i'll do this later today and tell the results here!

which version do you use? have you ever tried the other EXE? or do you use the LINUX-version?
kar_bon is offline   Reply With Quote
Old 2010-03-19, 16:15   #21
kar_bon
 
kar_bon's Avatar
 
Mar 2006
Germany

23×3×112 Posts
Default

the smaller WIN-version of llrnet.exe works fine with base 3 for example, too!
i only adjusted the line in llr-serverconfig.txt.

@ltd: do you know, which line you have to edit to work with base 5?
kar_bon is offline   Reply With Quote
Old 2010-03-19, 16:30   #22
ltd
 
ltd's Avatar
 
Apr 2003

22×193 Posts
Default

Check the file llr2.c.

In the not working version you will find the following code:

Code:
  if (base != 2) { 
    //printf("%d %d %d\n", chainlen, base, mask);
    OutputStr ("Only base 2 is supported, use PRP for other bases.\n"); 
    return -1;
  }
My version of llr2.c is from 2005-01-25 and the code is in line 434ff.

So if your exe works with base 3 it is an already patched version.

Last fiddled with by ltd on 2010-03-19 at 16:33
ltd is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
PrimeGrid asks: Is PSP dead? AG5BPilot Prime Sierpinski Project 23 2015-11-19 12:59
Looks Dead Here storm5510 Operation Billion Digits 5 2013-10-16 14:17
PRP and LLRNET = Dead magnav0x Prime Sierpinski Project 14 2005-12-14 22:02
CPU 1 dead in duallie? Jeff Gilchrist Hardware 10 2005-11-03 11:53
Dead P3 Prime95 Hardware 10 2003-09-10 22:41

All times are UTC. The time now is 09:14.


Sat Jul 17 09:14:52 UTC 2021 up 50 days, 7:02, 1 user, load averages: 1.47, 1.66, 1.61

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.