mersenneforum.org  

Go Back   mersenneforum.org > Prime Search Projects > Conjectures 'R Us

Reply
 
Thread Tools
Old 2009-05-12, 12:42   #133
Sloth
 
Sloth's Avatar
 
Mar 2006

10111102 Posts
Default

Is it possible to do a stats page based on client ID. And since I think I am asking for something that has not been coded yet the information I would like to see is: last reserve date/time, last return date/time, total tests done by the client.


S.
Sloth is offline   Reply With Quote
Old 2009-05-12, 14:49   #134
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

24·397 Posts
Default

Quote:
Originally Posted by Sloth View Post
Is it possible to do a stats page based on client ID. And since I think I am asking for something that has not been coded yet the information I would like to see is: last reserve date/time, last return date/time, total tests done by the client.

S.
It's possible. I'll think about it.
rogue is offline   Reply With Quote
Old 2009-05-12, 20:15   #135
Mini-Geek
Account Deleted
 
Mini-Geek's Avatar
 
"Tim Sorbera"
Aug 2006
San Antonio, TX USA

17·251 Posts
Default

What file formats are supported by the PRPnet server? I've tried a few different ones, but it rejects each for some reason. Can someone please post an example of something that works?
Mini-Geek is offline   Reply With Quote
Old 2009-05-12, 20:19   #136
Lennart
 
Lennart's Avatar
 
"Lennart"
Jun 2007

25·5·7 Posts
Default

Quote:
Originally Posted by Mini-Geek View Post
What file formats are supported by the PRPnet server? I've tried a few different ones, but it rejects each for some reason. Can someone please post an example of something that works?
Try ABC format ( $a*2^$b-1 )

If you have problem create work on a new server do a empty prpserver.candidates in the server directory

/Lennart

ABC $a*2^$b-1
1223 454656

You may need todo prpserver -i filename.zxy

Last fiddled with by Lennart on 2009-05-12 at 20:25
Lennart is offline   Reply With Quote
Old 2009-05-12, 20:39   #137
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

24·397 Posts
Default

Quote:
Originally Posted by Mini-Geek View Post
What file formats are supported by the PRPnet server? I've tried a few different ones, but it rejects each for some reason. Can someone please post an example of something that works?
PRPNet supports the following ABC formats as listed in ABCParser.cpp:

// Cullen/Woodall form from gcwsieve (fixed base)
static char *cwfbpstring = "$a*%d^$a%d";
static char *cwfbastring = "$a*%d^$a$%c";

// Cullen/Woodall form from gcwsieve (variable base)
static char *cwvbpstring = "$a*$b^$a+1";
static char *cwvbmstring = "$a*$b^$a-1";
static char *cwvbastring = "$a*$b^$a$c";

// Fixed k forms for k*b^n+/-1
static char *fkpstring = "%d*$a^$b%d";
static char *fkastring = "%d*$a^$b$%c";

// Fixed b forms for k*b^n+/-1
static char *fbpstring = "$a*%d^$b%d";
static char *fbastring = "$a*%d^$b$%c";

// Fixed n forms for k*b^n+/-1
static char *fnpstring = "$a*$b^%d%d";
static char *fnastring = "$a*$b^%d$%c";

// Any form of k*b^n+/-1
static char *abcpstring = "$a*$b^$c+1";
static char *abcmstring = "$a*$b^$c-1";
static char *abcastring = "$a*$b^$c$d";

// Any form of n!+/-1 (factorials)
static char *factpstring = "$a!+1";
static char *factmstring = "$a!-1";
static char *factastring = "$a!+$b";

// Any form of n#+/-1 (primorials)
static char *primpstring = "$a#+1";
static char *primmstring = "$a#-1";
static char *primastring = "$a#+$b";

Where you see %d, it can be '+1' or '-1'. %c should be the character 'c'.
rogue is offline   Reply With Quote
Old 2009-05-12, 21:19   #138
Mini-Geek
Account Deleted
 
Mini-Geek's Avatar
 
"Tim Sorbera"
Aug 2006
San Antonio, TX USA

17·251 Posts
Default

Quote:
Originally Posted by Lennart View Post
Try ABC format ( $a*2^$b-1 )

If you have problem create work on a new server do a empty prpserver.candidates in the server directory

/Lennart

ABC $a*2^$b-1
1223 454656

You may need todo prpserver -i filename.zxy
Thanks, that works. I think I tried similar forms already...maybe it doesn't like having any more or less than k and n as the variables.
Thanks for the full list, rogue.

Hm...it's possible that I'm just doing something wrong, but it seems that aborted tests (where the client does Ctrl-C, then option 1) are never tested. I'm using 2.1.2 on Windows. The server is local.
Here's what the completed_tests.log file looks like with aborted tests: (the first two were aborted, the third was actually tested)
Code:
[2009-05-12 21:07:01 GMT] 349*2^100009-1:  Email: [removed]  Program:   Residue:   DoubleCheck? No
[2009-05-12 21:07:01 GMT] 349*2^100011-1:  Email: [removed]  Program:   Residue:   DoubleCheck? No
[2009-05-12 21:08:25 GMT] 349*2^100013-1:  Email: [removed]  Program: cllr.exe  Residue: F73758933DF3566C  DoubleCheck? No
Mini-Geek is offline   Reply With Quote
Old 2009-05-12, 21:46   #139
Cruelty
 
Cruelty's Avatar
 
May 2005

23×7×29 Posts
Default

I am wondering what is going to happen on a client side if the client is terminated by means of system shutdown / restart rather than Ctrl+C... It would be especially valid for clients ran as a service or hidden in some other way (e.g. runh.exe). Is there some default action that would be taken upon client restart?
Cruelty is offline   Reply With Quote
Old 2009-05-12, 21:58   #140
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

24·397 Posts
Default

Quote:
Originally Posted by Mini-Geek View Post
Thanks, that works. I think I tried similar forms already...maybe it doesn't like having any more or less than k and n as the variables.
Thanks for the full list, rogue.

Hm...it's possible that I'm just doing something wrong, but it seems that aborted tests (where the client does Ctrl-C, then option 1) are never tested. I'm using 2.1.2 on Windows. The server is local.
Here's what the completed_tests.log file looks like with aborted tests: (the first two were aborted, the third was actually tested)
Code:
[2009-05-12 21:07:01 GMT] 349*2^100009-1:  Email: [removed]  Program:   Residue:   DoubleCheck? No
[2009-05-12 21:07:01 GMT] 349*2^100011-1:  Email: [removed]  Program:   Residue:   DoubleCheck? No
[2009-05-12 21:08:25 GMT] 349*2^100013-1:  Email: [removed]  Program: cllr.exe  Residue: F73758933DF3566C  DoubleCheck? No
You should still see the entry in the prpserver.candidates file, but with no "inprogress" line associated with the candidate. It should not log anything if the test is aborted. There is a time setting in prpserver.delay where the server will wait a specified number of minutes/hours/days before resending a number out for testing again. This is based upon the decimal length of the number.

Quote:
Originally Posted by Cruelty View Post
I am wondering what is going to happen on a client side if the client is terminated by means of system shutdown / restart rather than Ctrl+C... It would be especially valid for clients ran as a service or hidden in some other way (e.g. runh.exe). Is there some default action that would be taken upon client restart?
If the client is stopped through a method such as you describe, then it will terminate without reporting anything to the server. I've been thinking about adding a default stop/start action to the ini file, but haven't done anything yet.

Last fiddled with by rogue on 2009-05-12 at 22:01
rogue is offline   Reply With Quote
Old 2009-05-12, 22:15   #141
Cruelty
 
Cruelty's Avatar
 
May 2005

23×7×29 Posts
Default

IMHO the default action should be to continue where it left (e.g. from last progress file if available) as if nothing really happened
Cruelty is offline   Reply With Quote
Old 2009-05-12, 22:31   #142
Mini-Geek
Account Deleted
 
Mini-Geek's Avatar
 
"Tim Sorbera"
Aug 2006
San Antonio, TX USA

17·251 Posts
Default

Quote:
Originally Posted by rogue View Post
You should still see the entry in the prpserver.candidates file, but with no "inprogress" line associated with the candidate. It should not log anything if the test is aborted. There is a time setting in prpserver.delay where the server will wait a specified number of minutes/hours/days before resending a number out for testing again. This is based upon the decimal length of the number.
Oh ok. That was a big part of it, but it still doesn't seem to put aborted numbers back in the queue for first-time testing. If the server is set to doublecheck, it works as expected, otherwise it seems to take the empty result as good and not check it again. I'll do a bit more testing a little later to verify the part about a non-doublecheck server. Edit: I just confirmed this. Aborted tests (just to clarify, I mean where you do Ctrl-C and choose option 1, which sends to the server "Test Abandoned") on a no-doublecheck server are never again made available for testing.

Last fiddled with by Mini-Geek on 2009-05-12 at 23:07
Mini-Geek is offline   Reply With Quote
Old 2009-05-13, 00:05   #143
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

143208 Posts
Default

Quote:
Originally Posted by Mini-Geek View Post
Oh ok. That was a big part of it, but it still doesn't seem to put aborted numbers back in the queue for first-time testing. If the server is set to doublecheck, it works as expected, otherwise it seems to take the empty result as good and not check it again. I'll do a bit more testing a little later to verify the part about a non-doublecheck server. Edit: I just confirmed this. Aborted tests (just to clarify, I mean where you do Ctrl-C and choose option 1, which sends to the server "Test Abandoned") on a no-doublecheck server are never again made available for testing.
I think that I see an issue with the server where it check for an abandoned test is incorrect. I'll do some testing.
rogue is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
PRPNet 5.4.3 Released rogue Software 178 2021-06-24 11:56
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

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


Tue Jul 27 09:48:42 UTC 2021 up 4 days, 4:17, 0 users, load averages: 2.58, 2.14, 1.98

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.