mersenneforum.org  

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

Reply
 
Thread Tools
Old 2008-12-29, 17:24   #1
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

11·509 Posts
Default PRPNet released!

I am releasing PRPNet 1.0.0 as a beta to this forum. There are two parts to this application. The first is the server, which manages candidates for PRP tests, assignments, and test results. The second is the client, which communicates with the server to get work, performs a PRP test, then returns the results to the server. This software is designed to replace LLRNet once it is stable, but not to compete with BOINC/PrimeGrid.

At this time the server only supports numbers in the form k*b^n+1 and k*b^n-1, although supporting other forms should be possible. The server has the ability to send an e-mail reporting PRPs to the person managing the server and the person running the client who found the PRP. The server has the ability to manage double-checks. It can also manage Sierpinski/Riesel searches by removing all matching k/b/c values if a PRP is found.

The client has the ability to run either LLR or phrot (as external applications) and will automatically choose the better program for the PRP test depending upon the base of the number to be tested. The client can queue up multiple tests, although the server has final say over how many tests a client can have outstanding at one time.

The server also has the ability to run in a master/slave mode. A slave is another server, but it has a copy of the master server's candidates file and syncs with the master based upon configuration.

I could go further into the numerous features that are in the software, but I'll leave that to the interested parties who want to run the software.

Of note, this is a beta. This is complex software with many features, some of which are not fully tested, including:
  • double checking
  • master/slave
  • some recovery scenarios

I have also not build the .dsw/.sln file needed for Visual C++/Visual Studio, although that should be really easy to do and have thus not provided native Windows builds of the software. I expect few (if any) issues when building in Windows.

Please report and bugs and feature requests to me at rogue (at) wi.rr.com.
Attached Files
File Type: zip prpnet.zip (39.8 KB, 113 views)

Last fiddled with by mdettweiler on 2008-12-29 at 22:41 Reason: fixed attachment with bug-fixed prpserver.cpp
rogue is offline   Reply With Quote
Old 2008-12-29, 18:57   #2
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA (GMT-5)

3×2,083 Posts
Default



Yeeha! Finally--a network client that works both with Phrot, and with the latest version of LLR--this knocks out two long-awaited birds with one stone!

I'll get to work right away on setting up a beta-testing server on my server at nplb-gb1.no-ip.org, where I've already got some traditional LLRnet servers running.
mdettweiler is offline   Reply With Quote
Old 2008-12-29, 19:02   #3
em99010pepe
 
em99010pepe's Avatar
 
Sep 2004

2×5×283 Posts
Default

It means we can now use llr3.7.1c? Nice...thank you.

Edit:
On the readme.txt file in the client folder you should change the reference for the ECMNet server.

Quote:
server= This points to an ECMNet server from which the client
will get work. Some known ECMNet servers and their
descriptions can be found in ecmnet_servers.txt.
Now we just need someone to build the client and the server, Max?

Last fiddled with by em99010pepe on 2008-12-29 at 19:07
em99010pepe is offline   Reply With Quote
Old 2008-12-29, 19:12   #4
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA (GMT-5)

186916 Posts
Default

Quote:
Originally Posted by em99010pepe View Post
Now we just need someone to build the client and the server, Max?
Yep, that will be the first step of setting up the beta server. However, please note that I only have the resources available to compile the server and client for Linux. Rogue, do you have a Windows build of PRPnet that you could release?
mdettweiler is offline   Reply With Quote
Old 2008-12-29, 19:57   #5
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA (GMT-5)

186916 Posts
Default

Okay, I was able to get PRPnet (both client and server parts) compiled pretty easily under Linux, and now I'm running the future CRUS G3000 server on my machine, with one client connected on localhost, so I can get a better feel for how this works and get any potential snags worked out.

One thing, though, that's driving me crazy. First of all, I've loaded one file from the Riesel base 3 mini-drive into the server. My prpserver.ini is as follows:
Code:
// email= is a REQUIRED field (either here, or on the command line)
// Comment the next line out, and fill in your email address.  This will be the
// email ID in the FROM line of any emails sent out.  This ID will also receive
// a copy of any emails sent out.  To send emails to additional people, use the
// destid parameter
email=bugmesticky@googlemail.com

// serverid= is used to differentiate between the master and the slaves by
// giving each a name.  These are not required to be unique, but it is recommended
serverid=CRUS-G3000

// password is required and must be at least 8 characters long.  This is required
// for admin functions and for slave to master syncing.
password=password

// SMTP server and port to use when sending PRP found emails
// Leave smtpserver commented or empty to disable mail
// Example:  smtp.prpnet.com:25
smtpserver=

// destid= is used only when one or more people other than the above email are
// to receive notification of a new factor.  Put each email ID on a separate 
// line.  Up to 10 are accepted.
destid=

// port= is the port that the server will listen on
port=3000

// savefrequency= is how frequently (in minutes) the server will write a 
// new prpserver.candidates file.  Setting to 0 will cause it to rewrite 
// that file for every update.
savefrequency=5

// doublecheck= indicates if the server needs two tests with the same residue for
// all candidate numbers.  The default is 0.
doublecheck=0

// doublechecker= indicates who can double-check the number
//   1 - a different person and client machine than the first (default)
//   2 - a different person than the first tester
//   3 - a different client machine than the first client machine
//   4 - anybody
doublechecker=1

// sierpinskiriesel= indicates if this server is used on a project that needs
// to find a single prime for each unique k/b/c combination.  Once a PRP
// is found, the other PRPs for the k/b/c will be made inactive.
sierpinskiriesel=1

// savesrprpaction= indicates what to do if a PRP was found for the k/b/c.
// It will apply this setting to all candidates with the same k/b/c.
// Only the master server will use this setting.  When a slave syncs with the
// master, the master will tell the slave what is in prpnet.srprp, which it
// can then remove from its current list of candidates.
//   1 - do nothing (default)
//   2 - write to srprp.removed
savesrprpaction=2

// savesrpaction= indicates what to do if a number is PRP.  If 
// savesrprpaction is 2 and a number is PRP, then this setting will be applied.
// Only the master server will use this setting.  When a slave syncs with the
// master, the master will tell the slave what is in prpnet.srprp, which it
// can then remove from its current list of candidates.
//   1 - do nothing (default)
//   2 - write to prp.removed
saveprpaction=2

// saveinactiveaction= indicates what to do with inactive candidates when saving.
// Only the master server will use this setting.  When a slave syncs with the
// master, the master will tell the slave what is in prpnet.inactive, which it
// can then remove from its current list of candidates.
//   1 - do nothing (default)
//   2 - write to inactive.removed
saveinactiveaction=2

// saveindoublecheckaction= indicates what to do with double-checked candidates 
// when saving.  Only the master server will use this setting.  When a slave 
// syncs with the master, the master will tell the slave what is in
// prpnet.doublechecked, which it can then remove from its current list of
// candidates.
//   1 - do nothing (default)
//   2 - write to doublechecked.removed
savedoublecheckaction=2

// upstreamserver= is the servername and port of the master server.
// Comment it out or leave it blank to indicate no upstream processing
// Example:  master.prpnet.com:7101
upstreamserver=

// upstreamfrequency is the number of minutes between slave to master syncs
upstreamfrequency=720

// notinmasteraction= indicates what the slave should do if a candidate in
// the slave is not found in the master.  The possible values are:
//    1 - do nothing (default)
//    2 - delete from the slave
//    3 - make inactive
// Note:  The slave cannot add a candidate to the master.
notinmasteraction=1

// notinslaveaction= indicates what the slave should do if a candidate in
// the master is not found in the slave.  The possible values are:
//    1 - do nothing (default)
//    2 - add to the slave
notinslaveaction=1

// Default idle status is 0 (not idle)
idle=0

// maxworkunits= is the maximum number of workunits that a client can
// request at a time.  If a client requests too many the chances that
// some workunits timeout is greater.  The default is 1.
maxworkunits=10

// Size limit in bytes for the prpclient.log file...
// 0 means no limit.
// -1 means no log.
loglimit=0

// Set the debug level for the server
//    0 - no debug messages
//    1 - all debug messages
//    2 - output debug messages from socket communication
debuglevel=1
However, whenever the server does its first save of the prpserver.candidates file (as per the savefrequency=5 setting), it apparently has marked all the candidates in the server as inactive! Here's my server and client log files (with full debug turned on):
Code:
[2008-12-29 19:45:28 GMT] PRPNet Server application v1.0.0 started.
[2008-12-29 19:45:28 GMT] Please contact Mark Rodenkirch at rogue@wi.rr.com for support
[2008-12-29 19:45:28 GMT] Waiting for connections on port 3000
[2008-12-29 19:45:28 GMT] Listening on socket 3
[2008-12-29 19:45:53 GMT] Message coming on socket 4

[2008-12-29 19:45:53 GMT] socket 4 <<<< FROM bugmesticky@googlemail.com Core2Duo

[2008-12-29 19:45:53 GMT] bugmesticky@googlemail.com connecting from 127.0.0.1
[2008-12-29 19:45:53 GMT] socket 4 <<<< GETWORK 1.0.0 2

[2008-12-29 19:45:53 GMT] socket 4 >>>> ServerVersion: 1.0.0
[2008-12-29 19:45:53 GMT] First check candidate 0, 5309716*3^75006-1
[2008-12-29 19:45:53 GMT] socket 4 >>>> WorkUnit: 5309716*3^75006-1 1230579953 5309716 3 75006 -1
[2008-12-29 19:45:53 GMT] bugmesticky@googlemail.com (Core2Duo) at 127.0.0.1: Sent 5309716*3^75006-1
[2008-12-29 19:45:53 GMT] First check candidate 1, 5309716*3^75018-1
[2008-12-29 19:45:53 GMT] socket 4 >>>> WorkUnit: 5309716*3^75018-1 1230579953 5309716 3 75018 -1
[2008-12-29 19:45:53 GMT] bugmesticky@googlemail.com (Core2Duo) at 127.0.0.1: Sent 5309716*3^75018-1
[2008-12-29 19:45:53 GMT] socket 4 >>>> End of Message
[2008-12-29 19:45:53 GMT] socket 4 <<<< GETGREETING

[2008-12-29 19:45:53 GMT] socket 4 >>>> Welcome to the CRUS G3000 PRPnet beta test server! :-D
[2008-12-29 19:45:53 GMT] socket 4 >>>> Server is running PRPnet v1.0.0
[2008-12-29 19:45:53 GMT] socket 4 >>>> OK.
[2008-12-29 19:45:54 GMT] socket 4 <<<< QUIT

[2008-12-29 19:45:54 GMT] closing socket 4
[2008-12-29 19:48:49 GMT] Message coming on socket 4

[2008-12-29 19:48:49 GMT] socket 4 <<<< FROM bugmesticky@googlemail.com Core2Duo

[2008-12-29 19:48:49 GMT] bugmesticky@googlemail.com connecting from 127.0.0.1
[2008-12-29 19:48:49 GMT] socket 4 <<<< RETURNWORK 1.0.0

[2008-12-29 19:48:49 GMT] socket 4 <<<< WorkUnit: 5309716*3^75006-1 1230579953 phrot.p3-linux e98a0062f339e261

[2008-12-29 19:48:49 GMT] bugmesticky@googlemail.com (Core2Duo) at 127.0.0.1: Received 5309716*3^75006-1 : Residue E98A0062F339E261
[2008-12-29 19:48:49 GMT] socket 4 <<<< WorkUnit: 5309716*3^75018-1 1230579953 phrot.p3-linux 881b3a898e606017

[2008-12-29 19:48:49 GMT] bugmesticky@googlemail.com (Core2Duo) at 127.0.0.1: Received 5309716*3^75018-1 : Residue 881B3A898E606017
[2008-12-29 19:48:49 GMT] socket 4 <<<< End of Message

[2008-12-29 19:48:49 GMT] socket 4 >>>> INFO: All 2 test results were accepted
[2008-12-29 19:48:49 GMT] socket 4 <<<< QUIT

[2008-12-29 19:48:49 GMT] closing socket 4
[2008-12-29 19:48:54 GMT] Message coming on socket 4

[2008-12-29 19:48:54 GMT] socket 4 <<<< FROM bugmesticky@googlemail.com Core2Duo

[2008-12-29 19:48:54 GMT] bugmesticky@googlemail.com connecting from 127.0.0.1
[2008-12-29 19:48:54 GMT] socket 4 <<<< GETWORK 1.0.0 2

[2008-12-29 19:48:54 GMT] socket 4 >>>> ServerVersion: 1.0.0
[2008-12-29 19:48:54 GMT] First check candidate 2, 6793112*3^75023-1
[2008-12-29 19:48:54 GMT] socket 4 >>>> WorkUnit: 6793112*3^75023-1 1230580134 6793112 3 75023 -1
[2008-12-29 19:48:54 GMT] bugmesticky@googlemail.com (Core2Duo) at 127.0.0.1: Sent 6793112*3^75023-1
[2008-12-29 19:48:54 GMT] First check candidate 3, 5309716*3^75038-1
[2008-12-29 19:48:54 GMT] socket 4 >>>> WorkUnit: 5309716*3^75038-1 1230580134 5309716 3 75038 -1
[2008-12-29 19:48:54 GMT] bugmesticky@googlemail.com (Core2Duo) at 127.0.0.1: Sent 5309716*3^75038-1
[2008-12-29 19:48:54 GMT] socket 4 >>>> End of Message
[2008-12-29 19:48:54 GMT] socket 4 <<<< GETGREETING

[2008-12-29 19:48:54 GMT] socket 4 >>>> Welcome to the CRUS G3000 PRPnet beta test server! :-D
[2008-12-29 19:48:54 GMT] socket 4 >>>> Server is running PRPnet v1.0.0
[2008-12-29 19:48:54 GMT] socket 4 >>>> OK.
[2008-12-29 19:48:54 GMT] socket 4 <<<< QUIT

[2008-12-29 19:48:54 GMT] closing socket 4
[2008-12-29 19:52:49 GMT] Message coming on socket 4

[2008-12-29 19:52:49 GMT] socket 4 <<<< FROM bugmesticky@googlemail.com Core2Duo

[2008-12-29 19:52:49 GMT] bugmesticky@googlemail.com connecting from 127.0.0.1
[2008-12-29 19:52:49 GMT] socket 4 <<<< RETURNWORK 1.0.0

[2008-12-29 19:52:49 GMT] socket 4 <<<< WorkUnit: 6793112*3^75023-1 1230580134 phrot.p3-linux f58c1fc146ff3288

[2008-12-29 19:52:49 GMT] bugmesticky@googlemail.com (Core2Duo) at 127.0.0.1: Received 6793112*3^75023-1 : Residue F58C1FC146FF3288
[2008-12-29 19:52:49 GMT] socket 4 <<<< WorkUnit: 5309716*3^75038-1 1230580134 phrot.p3-linux 18cf1815d18fd12c

[2008-12-29 19:52:49 GMT] bugmesticky@googlemail.com (Core2Duo) at 127.0.0.1: Received 5309716*3^75038-1 : Residue 18CF1815D18FD12C
[2008-12-29 19:52:49 GMT] socket 4 <<<< End of Message

[2008-12-29 19:52:49 GMT] socket 4 >>>> INFO: All 2 test results were accepted
[2008-12-29 19:52:49 GMT] socket 4 <<<< QUIT

[2008-12-29 19:52:49 GMT] closing socket 4
[2008-12-29 19:52:49 GMT] Message coming on socket 4

[2008-12-29 19:52:49 GMT] socket 4 <<<< FROM bugmesticky@googlemail.com Core2Duo

[2008-12-29 19:52:49 GMT] bugmesticky@googlemail.com connecting from 127.0.0.1
[2008-12-29 19:52:49 GMT] socket 4 <<<< GETWORK 1.0.0 10

[2008-12-29 19:52:49 GMT] ERROR: All candidates are inactive.
[2008-12-29 19:52:49 GMT] socket 4 >>>> INACTIVE: No active candidates are left on this server.
[2008-12-29 19:52:49 GMT] socket 4 <<<< QUIT

[2008-12-29 19:52:49 GMT] closing socket 4
[2008-12-29 19:52:54 GMT] Message coming on socket 4

[2008-12-29 19:52:54 GMT] socket 4 <<<< FROM bugmesticky@googlemail.com Core2Duo

[2008-12-29 19:52:54 GMT] bugmesticky@googlemail.com connecting from 127.0.0.1
[2008-12-29 19:52:54 GMT] socket 4 <<<< GETWORK 1.0.0 10

[2008-12-29 19:52:54 GMT] ERROR: All candidates are inactive.
[2008-12-29 19:52:54 GMT] socket 4 >>>> INACTIVE: No active candidates are left on this server.
[2008-12-29 19:52:54 GMT] socket 4 <<<< QUIT

[2008-12-29 19:52:54 GMT] closing socket 4
[2008-12-29 19:52:59 GMT] Message coming on socket 4

[2008-12-29 19:52:59 GMT] socket 4 <<<< FROM bugmesticky@googlemail.com Core2Duo

[2008-12-29 19:52:59 GMT] bugmesticky@googlemail.com connecting from 127.0.0.1
[2008-12-29 19:52:59 GMT] socket 4 <<<< GETWORK 1.0.0 10

[2008-12-29 19:52:59 GMT] ERROR: All candidates are inactive.
[2008-12-29 19:52:59 GMT] socket 4 >>>> INACTIVE: No active candidates are left on this server.
[2008-12-29 19:52:59 GMT] socket 4 <<<< QUIT

[2008-12-29 19:52:59 GMT] closing socket 4
[2008-12-29 19:53:04 GMT] Message coming on socket 4

[2008-12-29 19:53:04 GMT] socket 4 <<<< FROM bugmesticky@googlemail.com Core2Duo

[2008-12-29 19:53:04 GMT] bugmesticky@googlemail.com connecting from 127.0.0.1
[2008-12-29 19:53:04 GMT] socket 4 <<<< GETWORK 1.0.0 10

[2008-12-29 19:53:04 GMT] ERROR: All candidates are inactive.
[2008-12-29 19:53:04 GMT] socket 4 >>>> INACTIVE: No active candidates are left on this server.
[2008-12-29 19:53:04 GMT] socket 4 <<<< QUIT

[2008-12-29 19:53:04 GMT] closing socket 4
[2008-12-29 19:53:09 GMT] Message coming on socket 4

[2008-12-29 19:53:09 GMT] socket 4 <<<< FROM bugmesticky@googlemail.com Core2Duo

[2008-12-29 19:53:09 GMT] bugmesticky@googlemail.com connecting from 127.0.0.1
[2008-12-29 19:53:09 GMT] socket 4 <<<< GETWORK 1.0.0 10

[2008-12-29 19:53:09 GMT] ERROR: All candidates are inactive.
[2008-12-29 19:53:09 GMT] socket 4 >>>> INACTIVE: No active candidates are left on this server.
[2008-12-29 19:53:09 GMT] socket 4 <<<< QUIT

[2008-12-29 19:53:09 GMT] closing socket 4
[2008-12-29 19:53:53 GMT] Accepted force quit.  Waiting to close sockets before exiting
[2008-12-29 19:53:53 GMT] Server is shutting down
Code:
[2008-12-29 19:45:52 GMT] PRPNET Client application v1.0.0 started
[2008-12-29 19:45:52 GMT] User email address is bugmesticky@googlemail.com
[2008-12-29 19:45:52 GMT] in FindNextServerForWork: total time for client=0 seconds
[2008-12-29 19:45:52 GMT] suffix: G3000, no work done yet, target pct work done=100
[2008-12-29 19:45:52 GMT] socket 3 >>>> FROM bugmesticky@googlemail.com Core2Duo
[2008-12-29 19:45:52 GMT] G3000: Getting work from server localhost at port 3000
[2008-12-29 19:45:52 GMT] socket 3 >>>> GETWORK 1.0.0 2
[2008-12-29 19:45:53 GMT] socket 3 <<<< ServerVersion: 1.0.0

[2008-12-29 19:45:53 GMT] socket 3 <<<< WorkUnit: 5309716*3^75006-1 1230579953 5309716 3 75006 -1

[2008-12-29 19:45:53 GMT] socket 3 <<<< WorkUnit: 5309716*3^75018-1 1230579953 5309716 3 75018 -1

[2008-12-29 19:45:53 GMT] socket 3 <<<< End of Message

[2008-12-29 19:45:53 GMT] socket 3 >>>> GETGREETING
[2008-12-29 19:45:54 GMT] socket 3 <<<< Welcome to the CRUS G3000 PRPnet beta test server! :-D

[2008-12-29 19:45:54 GMT] socket 3 <<<< Server is running PRPnet v1.0.0

[2008-12-29 19:45:54 GMT] socket 3 <<<< OK.

[2008-12-29 19:45:54 GMT] socket 3 >>>> QUIT
[2008-12-29 19:45:54 GMT] closing socket 3
[2008-12-29 19:47:29 GMT] G3000: 5309716*3^75006-1 is not prime.  Residue e98a0062f339e261
[2008-12-29 19:48:44 GMT] G3000: 5309716*3^75018-1 is not prime.  Residue 881b3a898e606017
[2008-12-29 19:48:44 GMT] Total Time:  0:02:52  Total Tests: 2  Total PRPs Found: 0
[2008-12-29 19:48:44 GMT] socket 3 >>>> FROM bugmesticky@googlemail.com Core2Duo
[2008-12-29 19:48:44 GMT] G3000: Returning work to server localhost at port 3000
[2008-12-29 19:48:44 GMT] socket 3 >>>> RETURNWORK 1.0.0
[2008-12-29 19:48:44 GMT] socket 3 >>>> WorkUnit: 5309716*3^75006-1 1230579953 phrot.p3-linux e98a0062f339e261
[2008-12-29 19:48:44 GMT] socket 3 >>>> WorkUnit: 5309716*3^75018-1 1230579953 phrot.p3-linux 881b3a898e606017
[2008-12-29 19:48:44 GMT] socket 3 >>>> End of Message
[2008-12-29 19:48:49 GMT] socket 3 <<<< INFO: All 2 test results were accepted

[2008-12-29 19:48:49 GMT] G3000: INFO: All 2 test results were accepted
[2008-12-29 19:48:49 GMT] socket 3 >>>> QUIT
[2008-12-29 19:48:49 GMT] closing socket 3
[2008-12-29 19:48:49 GMT] in FindNextServerForWork: total time for client=170 seconds
[2008-12-29 19:48:49 GMT] in FindNextServerForWork: total time for client=170 seconds
[2008-12-29 19:48:49 GMT] suffix: G3000, work done=170, pct work done=100.000000, target pct work done=100
[2008-12-29 19:48:49 GMT] socket 3 >>>> FROM bugmesticky@googlemail.com Core2Duo
[2008-12-29 19:48:49 GMT] G3000: Getting work from server localhost at port 3000
[2008-12-29 19:48:49 GMT] socket 3 >>>> GETWORK 1.0.0 2
[2008-12-29 19:48:54 GMT] socket 3 <<<< ServerVersion: 1.0.0

[2008-12-29 19:48:54 GMT] socket 3 <<<< WorkUnit: 6793112*3^75023-1 1230580134 6793112 3 75023 -1

[2008-12-29 19:48:54 GMT] socket 3 <<<< WorkUnit: 5309716*3^75038-1 1230580134 5309716 3 75038 -1

[2008-12-29 19:48:54 GMT] socket 3 <<<< End of Message

[2008-12-29 19:48:54 GMT] socket 3 >>>> GETGREETING
[2008-12-29 19:48:54 GMT] socket 3 <<<< Welcome to the CRUS G3000 PRPnet beta test server! :-D

[2008-12-29 19:48:54 GMT] socket 3 <<<< Server is running PRPnet v1.0.0

[2008-12-29 19:48:54 GMT] socket 3 <<<< OK.

[2008-12-29 19:48:54 GMT] socket 3 >>>> QUIT
[2008-12-29 19:48:54 GMT] closing socket 3
[2008-12-29 19:49:11 GMT] G3000: Could not open file [results.out] for reading.  Assuming that process was terminated
[2008-12-29 19:49:11 GMT] G3000: Quitting due to detected interruption
[2008-12-29 19:49:11 GMT] Total Time:  0:03:19  Total Tests: 2  Total PRPs Found: 0
[2008-12-29 19:49:11 GMT] Client shutdown complete
[2008-12-29 19:50:29 GMT] PRPNET Client application v1.0.0 started
[2008-12-29 19:50:29 GMT] User email address is bugmesticky@googlemail.com
[2008-12-29 19:51:31 GMT] G3000: 6793112*3^75023-1 is not prime.  Residue f58c1fc146ff3288
[2008-12-29 19:52:44 GMT] G3000: 5309716*3^75038-1 is not prime.  Residue 18cf1815d18fd12c
[2008-12-29 19:52:44 GMT] Total Time:  0:02:15  Total Tests: 2  Total PRPs Found: 0
[2008-12-29 19:52:44 GMT] socket 3 >>>> FROM bugmesticky@googlemail.com Core2Duo
[2008-12-29 19:52:44 GMT] G3000: Returning work to server localhost at port 3000
[2008-12-29 19:52:44 GMT] socket 3 >>>> RETURNWORK 1.0.0
[2008-12-29 19:52:44 GMT] socket 3 >>>> WorkUnit: 6793112*3^75023-1 1230580134 phrot.p3-linux f58c1fc146ff3288
[2008-12-29 19:52:44 GMT] socket 3 >>>> WorkUnit: 5309716*3^75038-1 1230580134 phrot.p3-linux 18cf1815d18fd12c
[2008-12-29 19:52:44 GMT] socket 3 >>>> End of Message
[2008-12-29 19:52:49 GMT] socket 3 <<<< INFO: All 2 test results were accepted

[2008-12-29 19:52:49 GMT] G3000: INFO: All 2 test results were accepted
[2008-12-29 19:52:49 GMT] socket 3 >>>> QUIT
[2008-12-29 19:52:49 GMT] closing socket 3
[2008-12-29 19:52:49 GMT] in FindNextServerForWork: total time for client=135 seconds
[2008-12-29 19:52:49 GMT] in FindNextServerForWork: total time for client=135 seconds
[2008-12-29 19:52:49 GMT] suffix: G3000, work done=135, pct work done=100.000000, target pct work done=100
[2008-12-29 19:52:49 GMT] socket 3 >>>> FROM bugmesticky@googlemail.com Core2Duo
[2008-12-29 19:52:49 GMT] G3000: Getting work from server localhost at port 3000
[2008-12-29 19:52:49 GMT] socket 3 >>>> GETWORK 1.0.0 10
[2008-12-29 19:52:49 GMT] socket 3 <<<< INACTIVE: No active candidates are left on this server.

[2008-12-29 19:52:49 GMT] G3000: No active candidates found on server
[2008-12-29 19:52:49 GMT] socket 3 >>>> QUIT
[2008-12-29 19:52:49 GMT] closing socket 3
[2008-12-29 19:52:49 GMT] in FindNextServerForWork: total time for client=135 seconds
[2008-12-29 19:52:49 GMT] suffix: G3000, work done=135, pct work done=100.000000, target pct work done=100
[2008-12-29 19:52:49 GMT] socket 3 >>>> FROM bugmesticky@googlemail.com Core2Duo
[2008-12-29 19:52:49 GMT] G3000: Getting work from server localhost at port 3000
[2008-12-29 19:52:49 GMT] socket 3 >>>> GETWORK 1.0.0 10
[2008-12-29 19:52:54 GMT] socket 3 <<<< INACTIVE: No active candidates are left on this server.

[2008-12-29 19:52:54 GMT] G3000: No active candidates found on server
[2008-12-29 19:52:54 GMT] socket 3 >>>> QUIT
[2008-12-29 19:52:54 GMT] closing socket 3
[2008-12-29 19:52:54 GMT] in FindNextServerForWork: total time for client=135 seconds
[2008-12-29 19:52:54 GMT] suffix: G3000, work done=135, pct work done=100.000000, target pct work done=100
[2008-12-29 19:52:54 GMT] socket 3 >>>> FROM bugmesticky@googlemail.com Core2Duo
[2008-12-29 19:52:54 GMT] G3000: Getting work from server localhost at port 3000
[2008-12-29 19:52:54 GMT] socket 3 >>>> GETWORK 1.0.0 10
[2008-12-29 19:52:59 GMT] socket 3 <<<< INACTIVE: No active candidates are left on this server.

[2008-12-29 19:52:59 GMT] G3000: No active candidates found on server
[2008-12-29 19:52:59 GMT] socket 3 >>>> QUIT
[2008-12-29 19:52:59 GMT] closing socket 3
[2008-12-29 19:52:59 GMT] in FindNextServerForWork: total time for client=135 seconds
[2008-12-29 19:52:59 GMT] suffix: G3000, work done=135, pct work done=100.000000, target pct work done=100
[2008-12-29 19:52:59 GMT] socket 3 >>>> FROM bugmesticky@googlemail.com Core2Duo
[2008-12-29 19:52:59 GMT] G3000: Getting work from server localhost at port 3000
[2008-12-29 19:52:59 GMT] socket 3 >>>> GETWORK 1.0.0 10
[2008-12-29 19:53:04 GMT] socket 3 <<<< INACTIVE: No active candidates are left on this server.

[2008-12-29 19:53:04 GMT] G3000: No active candidates found on server
[2008-12-29 19:53:04 GMT] socket 3 >>>> QUIT
[2008-12-29 19:53:04 GMT] closing socket 3
[2008-12-29 19:53:04 GMT] socket 3 >>>> FROM bugmesticky@googlemail.com Core2Duo
[2008-12-29 19:53:04 GMT] G3000: Getting work from server localhost at port 3000
[2008-12-29 19:53:04 GMT] socket 3 >>>> GETWORK 1.0.0 10
[2008-12-29 19:53:09 GMT] socket 3 <<<< INACTIVE: No active candidates are left on this server.

[2008-12-29 19:53:09 GMT] G3000: No active candidates found on server
[2008-12-29 19:53:09 GMT] socket 3 >>>> QUIT
[2008-12-29 19:53:09 GMT] closing socket 3
[2008-12-29 19:53:09 GMT] Could not connect to any servers and no work is pending.  Pausing 1 minute
[2008-12-29 19:53:50 GMT] Accepted force quit.  Waiting to close sockets before exiting
[2008-12-29 19:53:50 GMT] Client shutdown complete
Rogue, can you make any sense of this? Did I make an error in configuration that's causing it to do this?

Thanks,
Max
mdettweiler is offline   Reply With Quote
Old 2008-12-29, 20:41   #6
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

559910 Posts
Default

Quote:
Originally Posted by em99010pepe View Post
It means we can now use llr3.7.1c? Nice...thank you.

Edit:
On the readme.txt file in the client folder you should change the reference for the ECMNet server.

Now we just need someone to build the client and the server, Max?
Yes, it will run the current version of LLR.

The documentation is fixed.

Quote:
Originally Posted by mdettweiler View Post
Okay, I was able to get PRPnet (both client and server parts) compiled pretty easily under Linux, and now I'm running the future CRUS G3000 server on my machine, with one client connected on localhost, so I can get a better feel for how this works and get any potential snags worked out.

One thing, though, that's driving me crazy. First of all, I've loaded one file from the Riesel base 3 mini-drive into the server.
Please work with me via e-mail. You can send the ini files and source file for prpserver.candidates and I'll look into it.
rogue is offline   Reply With Quote
Old 2008-12-29, 20:53   #7
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA (GMT-5)

3·2,083 Posts
Default

Quote:
Originally Posted by rogue View Post
Please work with me via e-mail. You can send the ini files and source file for prpserver.candidates and I'll look into it.
Okay, I'll send you an email shortly. I've already got your email address from when we were discussing compiling Phrot a while back.
mdettweiler is offline   Reply With Quote
Old 2008-12-29, 21:01   #8
Mini-Geek
Account Deleted
 
Mini-Geek's Avatar
 
"Tim Sorbera"
Aug 2006
San Antonio, TX USA

17·251 Posts
Default

Quote:
If you are running Windows, then you can use the provided executables.
There's no included executables. I'm trying to get cygwin installed to see if I can get a build compiled, but it'd be great if they were included.
Mini-Geek is offline   Reply With Quote
Old 2008-12-29, 21:02   #9
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA (GMT-5)

624910 Posts
Default

Quote:
Originally Posted by Mini-Geek View Post
There's no included executables. I'm trying to get cygwin installed to see if I can get a build compiled, but it'd be great if they were included.
Hmm...maybe this was another thing left over from the original ECMNet documentation?
mdettweiler is offline   Reply With Quote
Old 2008-12-29, 21:58   #10
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

11×509 Posts
Default

Quote:
Originally Posted by mdettweiler View Post
Hmm...maybe this was another thing left over from the original ECMNet documentation?
I will include Windows builds, but it isn't my top priority. I'll see if I can get a build tomorrow.

BTW, the issue by mdettweiler is fixed. That's what I get for not testing a last minute change. In SaveCandidates() there is a check for IsPRP() that writes to prp.removed. The check should be "theCandidate->IsPRP()", not "!theCandidate->IsPRP()".
rogue is offline   Reply With Quote
Old 2008-12-29, 22:34   #11
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA (GMT-5)

11000011010012 Posts
Default

Quote:
Originally Posted by rogue View Post
I will include Windows builds, but it isn't my top priority. I'll see if I can get a build tomorrow.

BTW, the issue by mdettweiler is fixed. That's what I get for not testing a last minute change. In SaveCandidates() there is a check for IsPRP() that writes to prp.removed. The check should be "theCandidate->IsPRP()", not "!theCandidate->IsPRP()".
Got your email with the updated prpserver.cpp file--all seems to be working great now! I'll update your attachment to the first post of this thread with the fixed file.

I'll also get the server moved over to Gary's machine, and a Linux build posted here, sometime today.
mdettweiler is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
PRPNet 5.4.3 Released rogue Software 151 2017-06-23 16:31
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 18:06.

Tue Feb 25 18:06:31 UTC 2020 up 25 days, 12:38, 2 users, load averages: 1.83, 1.86, 1.97

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.