mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software

Reply
 
Thread Tools
Old 2020-10-09, 11:51   #166
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

2·3,001 Posts
Default

Quote:
Originally Posted by Happy5214 View Post
A PRPNet server I set up to find first primes for various Riesel k's is still handing out candidates for k's after primes have already been found with servertype=1 (Sierpinski/Riesel). The tests are at the n=110k range right now, so the extra tests aren't a huge imposition right now, but a fix would be appreciated before I get too much deeper in this project.
There are two possibilities. You have onekperinstance=0. This is a bug, which I think is fixed, but not in the current build available at source force. The prime for that k is for n < the prime found. I would guess the first. Change onekperinstance to 1. The server will still send out candidates for the same k to multiple clients, but will only do so if all k have at least one candidate set out to a client.
rogue is offline   Reply With Quote
Old 2020-10-09, 19:02   #167
Happy5214
 
Happy5214's Avatar
 
"Alexander"
Nov 2008
The Alamo City

19716 Posts
Default

Quote:
Originally Posted by rogue View Post
There are two possibilities. You have onekperinstance=0. This is a bug, which I think is fixed, but not in the current build available at source force. The prime for that k is for n < the prime found. I would guess the first. Change onekperinstance to 1. The server will still send out candidates for the same k to multiple clients, but will only do so if all k have at least one candidate set out to a client.
Correct, it is the first. I only have one client running on it, so onekperinstance=1 (which I assume would run each k in sequence in my case) is unpalatable, though it's something I might have to consider once the terms grow bigger. I'm running from the latest SVN, so it hasn't hit there yet either.

Last fiddled with by Happy5214 on 2020-10-09 at 19:03
Happy5214 is offline   Reply With Quote
Old 2020-10-09, 19:17   #168
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

2·3,001 Posts
Default

Quote:
Originally Posted by Happy5214 View Post
Correct, it is the first. I only have one client running on it, so onekperinstance=1 (which I assume would run each k in sequence in my case) is unpalatable, though it's something I might have to consider once the terms grow bigger. I'm running from the latest SVN, so it hasn't hit there yet either.
I committed a few code changes including what I think will fix the issue. I have not tested it though because I'm not running that kind of server right now. It is in PrimeWorkSender::SelectCandidates(). For Sierpinski/Riesel servers it will execute a different SQL statement.
rogue is offline   Reply With Quote
Old 2020-10-10, 13:47   #169
Happy5214
 
Happy5214's Avatar
 
"Alexander"
Nov 2008
The Alamo City

11×37 Posts
Default

Quote:
Originally Posted by rogue View Post
I committed a few code changes including what I think will fix the issue. I have not tested it though because I'm not running that kind of server right now. It is in PrimeWorkSender::SelectCandidates(). For Sierpinski/Riesel servers it will execute a different SQL statement.
The changes appear to have fixed the problem. Thanks!

Last fiddled with by Happy5214 on 2020-10-10 at 13:48 Reason: Quote
Happy5214 is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
PSP goes prpnet ltd Prime Sierpinski Project 86 2012-06-06 02:30
PRPNet 4.0.0 Released rogue Software 84 2011-11-16 21:20
PRPNet 4.0.1 Released Joe O Sierpinski/Riesel Base 5 1 2010-10-22 20:11
PRPNet 3.0.0 Released rogue Conjectures 'R Us 220 2010-10-12 20:48
PRPNet released! rogue Conjectures 'R Us 250 2009-12-27 21:29

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

Wed Nov 25 09:12:16 UTC 2020 up 76 days, 6:23, 4 users, load averages: 1.46, 1.54, 1.38

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, 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.