Join PrimeGrid
Returning Participants
Community
Leader Boards
Results
Other
drummers-lowrise
|
Message boards :
Project Staging Area :
prpclient settings, not taking startupoption setting 6 now....
Author |
Message |
|
Not sure what is happening with my PRPNet client..
I had it set with a startoption of 6 at first, so I could manually start it, it would get work, or finish work, then shutdown....
Then I changed it to 9 so it would keep processing work. This worked fine.
Then I tried setting it to 0 to prompt me each time I started it. It never prompted me...So I changed it back to 6.
Now it continues to process work, getting new work, not stopping.
I shut it down, resaved the prpclient.ini several times and it continues to start and run work without stopping now. I'm not sure why the setting of 6 won't take.
Here is my prpclient.ini as I have it now. This is the same for 2 instances, just with the instanceid section changed:
// email= is a REQUIRED field. The server will be use this address
// to send you an e-mail when your client discovers a prime.
email=
// userid= is a REQUIRED field that will be used by the server
// to report on stats, etc. without having to reveal the user's
// e-mail address. DO NOT USE spaces. Instead use underscore _.
userid=Penguin
// This value differentiates clients using the same e-mail ID
// DO NOT USE spaces. Instead use underscore _.
machineid=AMD-8350
// This value differentiates instances on a machine
// This will be set automatically by the *-update-prpclient-ini script
// If you prefer to setup up prpclient directories manually, please
// set this to a unique identifier (e.g. 1,2,3,4...)
instanceid=1
// Tests completed by this "team" will be rolled-up as part of team stats. This
// will be recorded on tests that are pending and then updated when tests are
// completed. Since it is stored on the server per test, it is possible for a
// single user to be a member of multiple teams. If no value is specified for
// this field, then completed tests and primes will not be awarded to any teams.
// DO NOT USE spaces. Instead use underscore _.
teamid=
// server= configures the mix of work to perform across one or more
// servers. It is parsed as follows:
// <suffix>:<pct>:<workunits>:<server IP>:<port>
//
// <suffix> - a unique suffix for the server. This is used to distinguish
// file names that are created for each configured server.
// <pct> - the percentage of PRP tests to do from the server.
// <workunits> - the number of PRP tests to get from the server. The
// server also has a limit, so the server will never return
// more than its limit.
// <server IP> - the IP address or name for the server
// <port> - the port of the PRPNet server
//
// Setting pct to 0 means that the client will only get work from the
// server if it cannot connect to one of the other configured servers.
// Please read the prpnet_servers.txt in this directory for information
// on the latest PRPNet servers.
// The following servers are from PrimeGrid. To make a server active,
// you must remove the "//". For more information about proper settings
// please see the readme_primegrid.txt in this directory.
// For descriptions of each project, please see this thread:
// http://www.primegrid.com/forum_thread.php?id=1215&nowrap=true#13329
//server=121:0:1:prpnet.primegrid.com:12001
//server=FPS:0:1:prpnet.primegrid.com:12002
//server=GCW:0:1:prpnet.primegrid.com:12004
server=27:0:1:prpnet.primegrid.com:12006
//server=PRS:0:1:prpnet.primegrid.com:12008
//server=WIEFERICH:0:1:prpnet.primegrid.com:13000
//server=WALLSUNSUN:0:1:prpnet.primegrid.com:13001
// This is the name of LLR executable. On Windows, this needs to be
// the LLR console application, not the GUI application. The GUI
// application does not terminate when the PRP test is done.
// On some systems you will need to put a "./" in front of the executable
// name so that it looks in the current directory for it rather than
// in the system path.
// LLR can be downloaded from http://jpenne.free.fr/index2.html
// If running a 64-bit system, comment out the llr.exe and uncomment llr64.exe
//llrexe=llr.exe
llrexe.exe=cllr64.exe
// This is the name of the PFGW executable. On Windows, this needs to
// be the PFGW console application, not the GUI application.
// PFGW can be downloaded from http://tech.groups.yahoo.com/group/openpfgw/
// If you are running a 64 bit OS, comment out the pfgw32 line
// and uncomment the pfgw64 line.
//pfgwexe=pfgw32.exe
pfgwexe=pfgw64.exe
// This is the name of the executable used for Wieferich and Wall-Sun-Sun searches.
// Available ONLY to 64bit OS. Uncomment if you have 64bit OS.
// If you have an OpenCL-capable GPU, uncomment 'wwwwcl'
//wwwwexe=wwww.exe
//wwwwexe=wwwwcl.exe
wwwwexe=wwwwcl64.exe
// This sets the CPU affinity for LLR on multi-CPU machines. It defaults to
// -1, which means that LLR can run on an CPU.
cpuaffinity=
// This sets the GPU affinity for CUDA apps on multi-GPU machines. It defaults to
// -1, which means that the CUDA app can run on an GPU.
gpuaffinity=
// Set to 1 to tell PFGW to run in NORMAL priority. It defaults to 0, which means
// that PFGW will run in IDLE priority, the same priority used by LLR, phrot,
// and genefer.
normalpriority=1
// This option is used to default the startup option if the PREVIOUS
// SHUTDOWN LEFT UNCOMPLETED WORKUNITS. If no previous work was left
// this will act like option 9.
// 0 - prompt
// 1 - Return completed work units, abandon the rest, then get more work
// 2 - Return completed work units, abandon the rest, then shut down
// 3 - Return completed, then continue
// 4 - Complete in-progress work units, abandon the rest, then get more work
// 5 - Complete in-progress work units, abandon the rest, then shut down
// 6 - Complete all work units, report them, then shut down
// 7 - Complete all work units then shut down (do not report completed work)
// 9 - Continue from where client left off when it was shut down
startoption=6
// stopoption= tells the client what to do when it is stopped with CTRL-C and there is
// work that has not been completed and returned to the server. Options 2, 5, and 6 will
// return all workunits. This will override stopasapoption. The accepted values are:
// 0 - prompt
// 2 - Return completed work units, abandon the rest, then shut down
// 3 - Return completed work units (keep the rest), then shut down
// 5 - Complete in-progress work units, abandon the rest, report them, then shut down
// 6 - Complete all work units, report them, then shut down
// 7 - Complete all work units then shut down (do not report completed work)
// 9 - Do nothing and shut down (presumes you will restart with startoption=9)
stopoption=9
// stopasapoption= tells the client that it needs to be shutdown automatically, i.e. without
// a CTRL-C. It is evaluated after each test is completed. It should be 0 upon startup.
// The accepted values are:
// 0 - Continue processing work units
// 2 - Return completed work units and abandon the rest
// 3 - Return completed work units (keep the rest)
// 6 - Complete all work units and return them
// 7 - Complete all work units then shut down (do not report completed work)
stopasapoption=0
// Timeout on communications errors
// (default is 60 minutes, minimum is 1 minute if not specified here...)
// Note that the actual used in the client is anywhere from 90% to 110% of this value
errortimeout=1
// Size limit in megabytes for the prpclient.log file...
// 0 means no limit.
// -1 means no log.
loglimit=1
// Set the debug level for the client
// 0 - no debug messages
// 1 - all debug messages
// 2 - output debug messages from socket communication
debuglevel=0
// Whether or not to echo "INFO" messages from server to console for accepted tests
// 0 - no echo
// 1 - echo (default)
echotest=1
as I said this WAS working fine until I changed startoption to 0 then to 6. On another machine I never set it to 0 and only changed it from 6 to 9 and back to 6 and it works as it should. Not sure what setting 0 has done... | |
|
GDBSend message
Joined: 15 Nov 11 Posts: 298 ID: 119185 Credit: 4,058,876,376 RAC: 1,940,379
                      
|
What exactly are you trying to do, or want to do? | |
|
|
What exactly are you trying to do, or want to do?
Originally I was using start option 6. This allowed me to start the app when I wanted to, run one work unit, or finish one work unit then exit when it completed. If I wanted to run another work unit I had to start it manually again.
I had changed it to run continuously and keep processing work units without intervention using the 9 start option. This worked fine as well.
It's only when I changed it a third time to the 0 option to prompt me for my startup option that I wasn't getting the desired results. It DID NOT prompt me and just ran continuously.
So I changed it back to startup option 6 again so I could manually control starting and stopping them and it would exit when it finished each work unit. This no longer seems to work as I have the options set as I originally did. No idea why.
So I'd like to get option 6 working right again, to process a new work unit, or finish any started work upon start, then exit when completed. It's nice to have it run continuously too if I wanted to, but for now I just want to get option 6 working again.
| |
|
GDBSend message
Joined: 15 Nov 11 Posts: 298 ID: 119185 Credit: 4,058,876,376 RAC: 1,940,379
                      
|
// This option is used to default the startup option if the PREVIOUS
// SHUTDOWN LEFT UNCOMPLETED WORKUNITS. If no previous work was left
// this will act like option 9.
// 0 - prompt
// 1 - Return completed work units, abandon the rest, then get more work
// 2 - Return completed work units, abandon the rest, then shut down
// 3 - Return completed, then continue
// 4 - Complete in-progress work units, abandon the rest, then get more work
// 5 - Complete in-progress work units, abandon the rest, then shut down
// 6 - Complete all work units, report them, then shut down
// 7 - Complete all work units then shut down (do not report completed work)
// 9 - Continue from where client left off when it was shut down
startoption=6
Did you understand the comments at the top? If there is no previous work left, it doesn't matter what you set it to, it will run like you set option 9.
Only if previous work is left, will it obey your option selection. | |
|
|
// This option is used to default the startup option if the PREVIOUS
// SHUTDOWN LEFT UNCOMPLETED WORKUNITS. If no previous work was left
// this will act like option 9.
// 0 - prompt
// 1 - Return completed work units, abandon the rest, then get more work
// 2 - Return completed work units, abandon the rest, then shut down
// 3 - Return completed, then continue
// 4 - Complete in-progress work units, abandon the rest, then get more work
// 5 - Complete in-progress work units, abandon the rest, then shut down
// 6 - Complete all work units, report them, then shut down
// 7 - Complete all work units then shut down (do not report completed work)
// 9 - Continue from where client left off when it was shut down
startoption=6
Did you understand the comments at the top? If there is no previous work left, it doesn't matter what you set it to, it will run like you set option 9.
Only if previous work is left, will it obey your option selection.
But I had previous work left, it was set to option 6, and it got new work not shutting down when the previous work was completed. It never even said at the top will shutdown when workunits completed like it was doing previously. I will run it again now and see what happens, I will let it run its course, but I think it's going to keep getting work with option 6 set, whether I have previous work left, or not. That's what I don't understand as option 6 used to work as described fine.
| |
|
|
this is what is says:
Total percent of servers does not equal 100. Normalizing
[2018-10-14 19:59:03 EDT] PRPNet Client application v5.4.0 started
[2018-10-14 19:59:03 EDT] User name Penguin at email address is
Resuming at bit 823
PRP: 27*2^7048430+1 824/7048434
nothing about shutting down like it should, and like it did when I had this option set previously. It's resuming old work... now that is correct, but I will see what happens when it runs its course over the next 12hrs. I would bet it does not shut down and gets more work. | |
|
|
This is what I get, with option 6 set, on my 2nd machine... it works as expected:
[2018-10-14 20:03:05 EDT] Client will shut down after completing all work units
Total percent of servers does not equal 100. Normalizing
[2018-10-14 20:03:05 EDT] PRPNet Client application v5.4.0 started
[2018-10-14 20:03:05 EDT] User name Penguin at email address is
[2018-10-14 20:03:06 EDT] 27: Getting work from server prpnet.primegrid.com at port 12006
[2018-10-14 20:03:07 EDT] 27: PRPNet server is version 5.4.3
k=27 Prime Search
Starting Lucas Lehmer Riesel prime test of 27*2^7048922-1
Using AVX FFT length 448K, Pass1=448, Pass2=1K
V1 = 3 ; Computing U0...done.
Starting Lucas-Lehmer loop...
| |
|
|
The only difference is I tried setting it to 0 and to prompt on the other machine before changing it back to option 6 as it did not prompt me... now option 6 seems to not be working.
| |
|
GDBSend message
Joined: 15 Nov 11 Posts: 298 ID: 119185 Credit: 4,058,876,376 RAC: 1,940,379
                      
|
You do realize that changing the start option only comes into effect the NEXT time you start the CMD file? | |
|
|
You do realize that changing the start option only comes into effect the NEXT time you start the CMD file?
Yes I do. As I said I have had success changing it to and from 6 and 9 multiple times and it was working flawlessly then. | |
|
|
This is the last 9 days of the log file for instance 1 on the machine with issues. You will notices multiple instances of where it says "Client will shut down after completing all work units"
It no longer says this after stopping and restarting the application.
[2018-10-06 17:20:27 EDT] Client will shut down after completing all work units
[2018-10-06 17:20:27 EDT] PRPNet Client application v5.4.0 started
[2018-10-06 17:20:27 EDT] User name Penguin at email address is
[2018-10-06 17:20:27 EDT] 27: Getting work from server prpnet.primegrid.com at port 12006
[2018-10-06 17:20:28 EDT] 27: PRPNet server is version 5.4.3
[2018-10-07 08:34:20 EDT] 27: 27*2^7041644+1 is not prime. Residue CFAAB71B641A6453
[2018-10-07 08:34:20 EDT] Total Time: 15:13:55 Total Work Units: 1 Special Results Found: 0
[2018-10-07 08:34:20 EDT] 27: Returning work to server prpnet.primegrid.com at port 12006
[2018-10-07 08:34:20 EDT] 27: INFO: Test for 27*2^7041644+1 was accepted
[2018-10-07 08:34:20 EDT] 27: INFO: All 1 test results were accepted
[2018-10-07 08:34:22 EDT] Client shutdown complete
[2018-10-07 20:14:31 EDT] Client will shut down after completing all work units
[2018-10-07 20:14:31 EDT] PRPNet Client application v5.4.0 started
[2018-10-07 20:14:31 EDT] User name Penguin at email address is
[2018-10-07 20:14:32 EDT] 27: Getting work from server prpnet.primegrid.com at port 12006
[2018-10-07 20:14:33 EDT] 27: PRPNet server is version 5.4.3
[2018-10-08 11:20:52 EDT] 27: 27*2^7042169-1 is not prime. Residue B58ECB47EEBC6070
[2018-10-08 11:20:52 EDT] Total Time: 15:06:27 Total Work Units: 1 Special Results Found: 0
[2018-10-08 11:20:52 EDT] 27: Returning work to server prpnet.primegrid.com at port 12006
[2018-10-08 11:20:52 EDT] 27: INFO: Test for 27*2^7042169-1 was accepted
[2018-10-08 11:20:52 EDT] 27: INFO: All 1 test results were accepted
[2018-10-08 11:20:54 EDT] Client shutdown complete
[2018-10-08 17:52:39 EDT] Client will shut down after completing all work units
[2018-10-08 17:52:39 EDT] PRPNet Client application v5.4.0 started
[2018-10-08 17:52:39 EDT] User name Penguin at email address is
[2018-10-08 17:52:39 EDT] 27: Getting work from server prpnet.primegrid.com at port 12006
[2018-10-08 17:52:40 EDT] 27: PRPNet server is version 5.4.3
[2018-10-09 19:13:29 EDT] Client will shut down after completing all work units
[2018-10-09 19:13:29 EDT] PRPNet Client application v5.4.0 started
[2018-10-09 19:13:29 EDT] User name Penguin at email address is
[2018-10-09 21:34:39 EDT] Client will shut down after completing all work units
[2018-10-09 21:34:39 EDT] PRPNet Client application v5.4.0 started
[2018-10-09 21:34:39 EDT] User name Penguin at email address is
[2018-10-09 22:02:33 EDT] 27: Test results not found in file [work_27.out]. Assuming user stopped with ^C
[2018-10-09 22:02:33 EDT] Total Time: 0:28:03 Total Work Units: 0 Special Results Found: 0
[2018-10-09 22:02:33 EDT] Client shutdown complete
[2018-10-09 22:14:40 EDT] Client will shut down after completing all work units
[2018-10-09 22:14:40 EDT] PRPNet Client application v5.4.0 started
[2018-10-09 22:14:40 EDT] User name Penguin at email address is
[2018-10-10 00:10:30 EDT] 27: 27*2^7043344-1 is not prime. Residue E31E8EC1A99062FF
[2018-10-10 00:10:30 EDT] Total Time: 1:55:52 Total Work Units: 1 Special Results Found: 0
[2018-10-10 00:10:30 EDT] 27: Returning work to server prpnet.primegrid.com at port 12006
[2018-10-10 00:10:30 EDT] 27: INFO: Test for 27*2^7043344-1 was accepted
[2018-10-10 00:10:30 EDT] 27: INFO: All 1 test results were accepted
[2018-10-10 00:10:32 EDT] Client shutdown complete
[2018-10-10 12:34:05 EDT] Client will shut down after completing all work units
[2018-10-10 12:34:05 EDT] PRPNet Client application v5.4.0 started
[2018-10-10 12:34:05 EDT] User name Penguin at email address is
[2018-10-10 12:34:05 EDT] 27: Getting work from server prpnet.primegrid.com at port 12006
[2018-10-10 12:34:07 EDT] 27: PRPNet server is version 5.4.3
[2018-10-10 22:23:25 EDT] 27: Test results not found in file [work_27.out]. Assuming user stopped with ^C
[2018-10-10 22:23:25 EDT] Total Time: 9:49:26 Total Work Units: 0 Special Results Found: 0
[2018-10-10 22:23:25 EDT] Client shutdown complete
[2018-10-10 22:23:54 EDT] PRPNet Client application v5.4.0 started
[2018-10-10 22:23:54 EDT] User name Penguin at email address is
[2018-10-11 04:07:05 EDT] 27: 27*2^7045633-1 is not prime. Residue 8A3C2AF58960DB0F
[2018-10-11 04:07:05 EDT] Total Time: 5:43:12 Total Work Units: 1 Special Results Found: 0
[2018-10-11 04:07:05 EDT] 27: Returning work to server prpnet.primegrid.com at port 12006
[2018-10-11 04:07:06 EDT] 27: INFO: Test for 27*2^7045633-1 was accepted
[2018-10-11 04:07:06 EDT] 27: INFO: All 1 test results were accepted
[2018-10-11 04:07:06 EDT] 27: Getting work from server prpnet.primegrid.com at port 12006
[2018-10-11 04:07:07 EDT] 27: PRPNet server is version 5.4.3
[2018-10-11 11:45:13 EDT] PRPNet Client application v5.4.0 started
[2018-10-11 11:45:13 EDT] User name Penguin at email address is
[2018-10-11 20:06:29 EDT] 27: 27*2^7046494+1 is not prime. Residue E4DCEC08EDE2528D
[2018-10-11 20:06:29 EDT] Total Time: 8:21:22 Total Work Units: 1 Special Results Found: 0
[2018-10-11 20:06:30 EDT] 27: Returning work to server prpnet.primegrid.com at port 12006
[2018-10-11 20:06:30 EDT] 27: INFO: Test for 27*2^7046494+1 was accepted
[2018-10-11 20:06:30 EDT] 27: INFO: All 1 test results were accepted
[2018-10-11 20:06:30 EDT] 27: Getting work from server prpnet.primegrid.com at port 12006
[2018-10-11 20:06:31 EDT] 27: PRPNet server is version 5.4.3
[2018-10-12 08:27:27 EDT] 27: Test results not found in file [work_27.out]. Assuming user stopped with ^C
[2018-10-12 08:27:27 EDT] Total Time: 20:42:20 Total Work Units: 1 Special Results Found: 0
[2018-10-12 08:27:27 EDT] Client shutdown complete
[2018-10-12 11:54:49 EDT] PRPNet Client application v5.4.0 started
[2018-10-12 11:54:49 EDT] User name Penguin at email address is
[2018-10-12 13:31:15 EDT] 27: Test results not found in file [work_27.out]. Assuming user stopped with ^C
[2018-10-12 13:31:15 EDT] Total Time: 1:36:34 Total Work Units: 0 Special Results Found: 0
[2018-10-12 13:31:15 EDT] Client shutdown complete
[2018-10-12 13:31:33 EDT] PRPNet Client application v5.4.0 started
[2018-10-12 13:31:33 EDT] User name Penguin at email address is
[2018-10-12 14:43:43 EDT] 27: 27*2^7047370+1 is not prime. Residue 095C08491BB81B93
[2018-10-12 14:43:43 EDT] Total Time: 1:12:13 Total Work Units: 1 Special Results Found: 0
[2018-10-12 14:43:44 EDT] Could not connect to any servers and no work is pending. Pausing 1 minute
[2018-10-12 14:44:45 EDT] Could not connect to any servers and no work is pending. Pausing 1 minute
[2018-10-12 14:45:46 EDT] 27: Returning work to server prpnet.primegrid.com at port 12006
[2018-10-12 14:45:46 EDT] 27: INFO: Test for 27*2^7047370+1 was accepted
[2018-10-12 14:45:46 EDT] 27: INFO: All 1 test results were accepted
[2018-10-12 14:45:46 EDT] 27: Getting work from server prpnet.primegrid.com at port 12006
[2018-10-12 14:45:48 EDT] 27: PRPNet server is version 5.4.3
[2018-10-12 19:40:03 EDT] 27: Test results not found in file [work_27.out]. Assuming user stopped with ^C
[2018-10-12 19:40:03 EDT] Total Time: 6:08:33 Total Work Units: 1 Special Results Found: 0
[2018-10-12 19:40:03 EDT] Client shutdown complete
[2018-10-12 19:59:36 EDT] PRPNet Client application v5.4.0 started
[2018-10-12 19:59:36 EDT] User name Penguin at email address is
[2018-10-12 20:53:32 EDT] 27: Test results not found in file [work_27.out]. Assuming user stopped with ^C
[2018-10-12 20:53:32 EDT] Total Time: 0:54:03 Total Work Units: 0 Special Results Found: 0
[2018-10-12 20:53:32 EDT] Client shutdown complete
[2018-10-13 19:14:58 EDT] PRPNet Client application v5.4.0 started
[2018-10-13 19:14:58 EDT] User name Penguin at email address is
[2018-10-13 19:33:57 EDT] 27: Test results not found in file [work_27.out]. Assuming user stopped with ^C
[2018-10-13 19:33:57 EDT] Total Time: 0:19:06 Total Work Units: 0 Special Results Found: 0
[2018-10-13 19:33:57 EDT] Client shutdown complete
[2018-10-13 19:37:17 EDT] PRPNet Client application v5.4.0 started
[2018-10-13 19:37:17 EDT] User name Penguin at email address is
[2018-10-14 05:11:12 EDT] 27: Test results not found in file [work_27.out]. Assuming user stopped with ^C
[2018-10-14 05:11:12 EDT] Total Time: 9:34:05 Total Work Units: 0 Special Results Found: 0
[2018-10-14 05:11:12 EDT] Client shutdown complete
[2018-10-14 05:11:20 EDT] PRPNet Client application v5.4.0 started
[2018-10-14 05:11:20 EDT] User name Penguin at email address is
[2018-10-14 05:30:05 EDT] 27: 27*2^7047784+1 is not prime. Residue 6BCF176AE3817B80
[2018-10-14 05:30:05 EDT] Total Time: 0:18:46 Total Work Units: 1 Special Results Found: 0
[2018-10-14 05:30:05 EDT] 27: Returning work to server prpnet.primegrid.com at port 12006
[2018-10-14 05:30:05 EDT] 27: INFO: Test for 27*2^7047784+1 was accepted
[2018-10-14 05:30:05 EDT] 27: INFO: All 1 test results were accepted
[2018-10-14 05:30:05 EDT] 27: Getting work from server prpnet.primegrid.com at port 12006
[2018-10-14 05:30:07 EDT] 27: PRPNet server is version 5.4.3
[2018-10-14 05:30:13 EDT] 27: Test results not found in file [work_27.out]. Assuming user stopped with ^C
[2018-10-14 05:30:13 EDT] Total Time: 0:18:54 Total Work Units: 1 Special Results Found: 0
[2018-10-14 05:30:13 EDT] Client shutdown complete
[2018-10-14 19:59:03 EDT] PRPNet Client application v5.4.0 started
[2018-10-14 19:59:03 EDT] User name Penguin at email address is
| |
|
|
Now, I have just started intsance #4, which I never used the 0 option, it is set the same as the others, minus the fact that I had used option 0 like on instance 1 and 2. It is set with option 6, and look what I get when I start it up:
[2018-10-15 07:31:23 EDT] Client will shut down after completing all work units
Total percent of servers does not equal 100. Normalizing
[2018-10-15 07:31:23 EDT] PRPNet Client application v5.4.0 started
[2018-10-15 07:31:23 EDT] User name Penguin at email address is
[2018-10-15 07:31:23 EDT] 27: Getting work from server prpnet.primegrid.com at port 12006
[2018-10-15 07:31:24 EDT] 27: PRPNet server is version 5.4.3
k=27 Prime Search
PRP: 27*2^7049575+1 1/7049579
Client will shut down after completing all work units
It works as it should.
Why instance 1 and 2 are not working has me baffled and I believe it is a bug. | |
|
|
Instance 1 did not stop, so I stop it with ctrl-c, and restart, but it still will not shut down.
This is what's on screen currently:
Total percent of servers does not equal 100. Normalizing
[2018-10-15 08:54:14 EDT] PRPNet Client application v5.4.0 started
[2018-10-15 08:54:14 EDT] User name Penguin at email address is
Resuming at bit 6189498
27*2^7048480+1 is composite: RES64: [117AE2F90E6A7E29] (7281.0782s+0.0017s)
[2018-10-15 10:55:35 EDT] 27: 27*2^7048480+1 is not prime. Residue 117AE2F90E6A7E29
[2018-10-15 10:55:35 EDT] Total Time: 2:01:26 Total Work Units: 1 Special Results Found: 0
[2018-10-15 10:55:36 EDT] 27: Returning work to server prpnet.primegrid.com at port 12006
[2018-10-15 10:55:36 EDT] 27: INFO: Test for 27*2^7048480+1 was accepted
[2018-10-15 10:55:36 EDT] 27: INFO: All 1 test results were accepted
[2018-10-15 10:55:36 EDT] 27: Getting work from server prpnet.primegrid.com at port 12006
[2018-10-15 10:55:37 EDT] 27: PRPNet server is version 5.4.3
k=27 Prime Search
PRP: 27*2^7049701-1 832500/7049705
This is with option 6 set b4 I started it.
Now on restart:
Total percent of servers does not equal 100. Normalizing
[2018-10-15 12:43:49 EDT] PRPNet Client application v5.4.0 started
[2018-10-15 12:43:49 EDT] User name Penguin at email address is
Resuming at bit 841408
PRP: 27*2^7049701-1 841409/7049705
Continuously running with option 6 set in the ini file. | |
|
|
Now I know I can just reset each instance's directory, but why did this happen, and is it a bug?
The instances stopped on machine #2 after completing the work as it said it would do. | |
|
rogueVolunteer developer
 Send message
Joined: 8 Sep 07 Posts: 1256 ID: 12001 Credit: 18,565,548 RAC: 0
 
|
It isn't a bug, but it isn't a feature either.
If I understand correctly, you want an option that allows you to start the client, do a single workunit, then report that workunit, then shutdown. | |
|
|
It isn't a bug, but it isn't a feature either.
If I understand correctly, you want an option that allows you to start the client, do a single workunit, then report that workunit, then shutdown.
That's exactly it. Which i have been doing using the options I have in the prpclient.ini file. It works that way on the laptop just fine. And it does on the desktop too, or it did, till I used option 0 for a start option.
With option 6 set, it either continues a work unit that's left and shuts down, or it gets 1 workunit (a new one) and runs it till it completes and shuts down. Waiting to be started again manually.
That's how I have it working.
BUT, as I keep saying, it refuses to do that now for the two instances with where I used option 0 waiting to be prompted. Now it just runs continuously when I run it in those directories, ignoring my option 6. All other instances when I run them work as I described. | |
|
|
These are the options I have set on multiple machines to get it to do just that:
// This option is used to default the startup option if the PREVIOUS
// SHUTDOWN LEFT UNCOMPLETED WORKUNITS. If no previous work was left
// this will act like option 9.
// 0 - prompt
// 1 - Return completed work units, abandon the rest, then get more work
// 2 - Return completed work units, abandon the rest, then shut down
// 3 - Return completed, then continue
// 4 - Complete in-progress work units, abandon the rest, then get more work
// 5 - Complete in-progress work units, abandon the rest, then shut down
// 6 - Complete all work units, report them, then shut down
// 7 - Complete all work units then shut down (do not report completed work)
// 9 - Continue from where client left off when it was shut down
startoption=6
// stopoption= tells the client what to do when it is stopped with CTRL-C and there is
// work that has not been completed and returned to the server. Options 2, 5, and 6 will
// return all workunits. This will override stopasapoption. The accepted values are:
// 0 - prompt
// 2 - Return completed work units, abandon the rest, then shut down
// 3 - Return completed work units (keep the rest), then shut down
// 5 - Complete in-progress work units, abandon the rest, report them, then shut down
// 6 - Complete all work units, report them, then shut down
// 7 - Complete all work units then shut down (do not report completed work)
// 9 - Do nothing and shut down (presumes you will restart with startoption=9)
stopoption=9
// stopasapoption= tells the client that it needs to be shutdown automatically, i.e. without
// a CTRL-C. It is evaluated after each test is completed. It should be 0 upon startup.
// The accepted values are:
// 0 - Continue processing work units
// 2 - Return completed work units and abandon the rest
// 3 - Return completed work units (keep the rest)
// 6 - Complete all work units and return them
// 7 - Complete all work units then shut down (do not report completed work)
stopasapoption=0
| |
|
rogueVolunteer developer
 Send message
Joined: 8 Sep 07 Posts: 1256 ID: 12001 Credit: 18,565,548 RAC: 0
 
|
Use the -debug command line argument when you start the client and report what it outputs when it doesn't work as you would like it to. | |
|
|
Use the -debug command line argument when you start the client and report what it outputs when it doesn't work as you would like it to.
ok, I will run it right now again and report back
| |
|
|
Use the -debug command line argument when you start the client and report what it outputs when it doesn't work as you would like it to.
This is what I have so far:
[2018-10-16 16:06:52 EDT] 27: AddWorkUnitToList for 27*2^7049701-1
[2018-10-16 16:06:52 EDT] 27: IsWorkUnitCompleted for 27*2^7049701-1. Returning false (not completed, main)
Total percent of servers does not equal 100. Normalizing
[2018-10-16 16:06:52 EDT] PRPNet Client application v5.4.0 started
[2018-10-16 16:06:52 EDT] User name Penguin at email address is
[2018-10-16 16:06:52 EDT] 27: IsWorkUnitInProgress for 27*2^7049701-1. Returning false (all done)
[2018-10-16 16:06:52 EDT] 27: CanDoAnotherTest. Returning false (none in progress)
[2018-10-16 16:06:52 EDT] 27: IsWorkUnitCompleted for 27*2^7049701-1. Returning false (not completed, main)
[2018-10-16 16:06:52 EDT] 27: CanDoAnotherTest for 27*2^7049701-1. Returning true (not done)
[2018-10-16 16:06:52 EDT] 27: Returning work. currentworkunits=1, completedworkunits=0, quitOption=3
[2018-10-16 16:06:52 EDT] 27: IsWorkUnitCompleted for 27*2^7049701-1. Returning false (not completed, main)
[2018-10-16 16:06:52 EDT] 27: CanDoAnotherTest for 27*2^7049701-1. Returning true (not done)
[2018-10-16 16:06:52 EDT] in FindAnyIncompleteWork
[2018-10-16 16:06:52 EDT] 27: IsWorkUnitInProgress for 27*2^7049701-1. Returning false (all done)
[2018-10-16 16:06:52 EDT] 27: CanDoAnotherTest. Returning false (none in progress)
[2018-10-16 16:06:52 EDT] 27: IsWorkUnitCompleted for 27*2^7049701-1. Returning false (not completed, main)
[2018-10-16 16:06:52 EDT] 27: CanDoAnotherTest for 27*2^7049701-1. Returning true (not done)
[2018-10-16 16:06:52 EDT] Work: 27, HaveInProgressTest = false, CanDoAnotherTest = true
[2018-10-16 16:06:52 EDT] 27: IsWorkUnitCompleted for 27*2^7049701-1. Returning false (not completed, main)
[2018-10-16 16:06:52 EDT] 27: CanDoAnotherTest for 27*2^7049701-1. Returning true (not done)
[2018-10-16 16:06:52 EDT] 27: GetNextIncompleteWorkUnit looking for work. In Progress=false
[2018-10-16 16:06:52 EDT] 27: IsWorkUnitCompleted for 27*2^7049701-1. Returning false (not completed, main)
[2018-10-16 16:06:52 EDT] 27: GetNextIncompleteWorkUnit found 27*2^7049701-1
Resuming at bit 852770
PRP: 27*2^7049701-1 855000/7049705
I'm going to run it on the other machine which does work correctly and post that info up as well. | |
|
|
This is the full output on the working machine, same settings as the other machine, except it started with no work, so i let it get work, the stopped it, and restarted since the other machine continuously gets work it already had work in the above post
C:\PrimeGrid\prpnet>cd prpclient-1
C:\PrimeGrid\prpnet\prpclient-1>prpclient -debug
[2018-10-16 16:09:57 EDT] Client will shut down after completing all work units
Total percent of servers does not equal 100. Normalizing
[2018-10-16 16:09:57 EDT] PRPNet Client application v5.4.0 started
[2018-10-16 16:09:57 EDT] User name Penguin at email address is
[2018-10-16 16:09:57 EDT] 27: Returning work. currentworkunits=0, completedworkunits=0, quitOption=3
[2018-10-16 16:09:57 EDT] in FindAnyIncompleteWork
[2018-10-16 16:09:57 EDT] Work: 27, HaveInProgressTest = false, CanDoAnotherTest = false
[2018-10-16 16:09:57 EDT] in FindNextServerForWork: total time for client=0 seconds
[2018-10-16 16:09:57 EDT] Work: 27, no work done yet, target pct work done=100
[2018-10-16 16:09:57 EDT] 27: sending [FROM 5.4.0 ASUSi3Laptop Penguin noteam 1]
[2018-10-16 16:09:58 EDT] 27: received [Connected to server 5.4.3 3]
[2018-10-16 16:09:58 EDT] 27: Getting work from server prpnet.primegrid.com at port 12006
[2018-10-16 16:09:58 EDT] 27: sending [GETWORK 5.4.0 1]
[2018-10-16 16:09:58 EDT] 27: sending [llr]
[2018-10-16 16:09:58 EDT] 27: sending [pfgw]
[2018-10-16 16:09:58 EDT] 27: sending [wwwwcl]
[2018-10-16 16:09:58 EDT] 27: sending [End of Message]
[2018-10-16 16:09:58 EDT] 27: received [ServerConfig: 0]
[2018-10-16 16:09:58 EDT] 27: received [WorkUnit: 27*2^7051160+1 1539720600 27 2 7051160 1]
[2018-10-16 16:09:58 EDT] 27: AddWorkUnitToList for 27*2^7051160+1
[2018-10-16 16:09:58 EDT] 27: IsWorkUnitCompleted for 27*2^7051160+1. Returning false (not completed, main)
[2018-10-16 16:09:59 EDT] 27: received [End of Message]
[2018-10-16 16:09:59 EDT] 27: PRPNet server is version 5.4.3
[2018-10-16 16:09:59 EDT] 27: received [Start Greeting]
[2018-10-16 16:09:59 EDT] 27: received [k=27 Prime Search]
k=27 Prime Search
[2018-10-16 16:09:59 EDT] 27: received [End Greeting]
[2018-10-16 16:09:59 EDT] 27: closing socket
[2018-10-16 16:09:59 EDT] 27: AddWorkUnitToList for 27*2^7051160+1
[2018-10-16 16:09:59 EDT] 27: IsWorkUnitCompleted for 27*2^7051160+1. Returning false (not completed, main)
[2018-10-16 16:09:59 EDT] 27: IsWorkUnitCompleted for 27*2^7051160+1. Returning false (not completed, main)
[2018-10-16 16:09:59 EDT] 27: CanDoAnotherTest for 27*2^7051160+1. Returning true (not done)
[2018-10-16 16:09:59 EDT] 27: GetNextIncompleteWorkUnit looking for work. In Progress=false
[2018-10-16 16:09:59 EDT] 27: IsWorkUnitCompleted for 27*2^7051160+1. Returning false (not completed, main)
[2018-10-16 16:09:59 EDT] 27: GetNextIncompleteWorkUnit found 27*2^7051160+1
Starting Proth prime test of 27*2^7051160+1
Using all-complex AVX FFT length 480K, Pass1=384, Pass2=1280, a = 5
Caught signal. Terminating.
[2018-10-16 16:10:47 EDT] 27: Could not open file [lresults.txt] for reading. Assuming user stopped with ^C
[2018-10-16 16:10:47 EDT] Total Time: 0:00:54 Total Work Units: 0 Special Results Found: 0
[2018-10-16 16:10:47 EDT] Client shutdown complete
C:\PrimeGrid\prpnet\prpclient-1>prpclient -debug
[2018-10-16 16:11:00 EDT] Client will shut down after completing all work units
[2018-10-16 16:11:00 EDT] 27: AddWorkUnitToList for 27*2^7051160+1
[2018-10-16 16:11:00 EDT] 27: IsWorkUnitCompleted for 27*2^7051160+1. Returning false (not completed, main)
Total percent of servers does not equal 100. Normalizing
[2018-10-16 16:11:00 EDT] PRPNet Client application v5.4.0 started
[2018-10-16 16:11:00 EDT] User name Penguin at email address is
[2018-10-16 16:11:00 EDT] 27: IsWorkUnitInProgress for 27*2^7051160+1. Returning true (in progress, main)
[2018-10-16 16:11:00 EDT] 27: HaveInProgressTest for 27*2^7051160+1. Returning true (in progress)
[2018-10-16 16:11:00 EDT] 27: Returning work. currentworkunits=1, completedworkunits=0, quitOption=3
[2018-10-16 16:11:00 EDT] 27: IsWorkUnitCompleted for 27*2^7051160+1. Returning false (not completed, main)
[2018-10-16 16:11:00 EDT] 27: CanDoAnotherTest for 27*2^7051160+1. Returning true (not done)
[2018-10-16 16:11:00 EDT] in FindAnyIncompleteWork
[2018-10-16 16:11:00 EDT] 27: IsWorkUnitInProgress for 27*2^7051160+1. Returning true (in progress, main)
[2018-10-16 16:11:00 EDT] 27: HaveInProgressTest for 27*2^7051160+1. Returning true (in progress)
[2018-10-16 16:11:00 EDT] 27: IsWorkUnitCompleted for 27*2^7051160+1. Returning false (not completed, main)
[2018-10-16 16:11:00 EDT] 27: CanDoAnotherTest for 27*2^7051160+1. Returning true (not done)
[2018-10-16 16:11:00 EDT] Work: 27, HaveInProgressTest = true, CanDoAnotherTest = true
[2018-10-16 16:11:00 EDT] 27: IsWorkUnitCompleted for 27*2^7051160+1. Returning false (not completed, main)
[2018-10-16 16:11:00 EDT] 27: CanDoAnotherTest for 27*2^7051160+1. Returning true (not done)
[2018-10-16 16:11:00 EDT] 27: GetNextIncompleteWorkUnit looking for work. In Progress=false
[2018-10-16 16:11:00 EDT] 27: IsWorkUnitCompleted for 27*2^7051160+1. Returning false (not completed, main)
[2018-10-16 16:11:00 EDT] 27: GetNextIncompleteWorkUnit found 27*2^7051160+1
Resuming Proth prime test of 27*2^7051160+1 at bit 1881 [0.02%]
Using all-complex AVX FFT length 480K, Pass1=384, Pass2=1280, a = 5 | |
|
|
started and stopped again on machine a, the problem machine:
C:\PrimeGrid\prpnet\prpclient-1>prpclient -debug
[2018-10-16 16:17:48 EDT] 27: AddWorkUnitToList for 27*2^7049701-1
[2018-10-16 16:17:48 EDT] 27: IsWorkUnitCompleted for 27*2^7049701-1. Returning false (not completed, main)
Total percent of servers does not equal 100. Normalizing
[2018-10-16 16:17:48 EDT] PRPNet Client application v5.4.0 started
[2018-10-16 16:17:48 EDT] User name Penguin at email address is
[2018-10-16 16:17:48 EDT] 27: IsWorkUnitInProgress for 27*2^7049701-1. Returning true (in progress, main)
[2018-10-16 16:17:48 EDT] 27: HaveInProgressTest for 27*2^7049701-1. Returning true (in progress)
[2018-10-16 16:17:48 EDT] 27: Returning work. currentworkunits=1, completedworkunits=0, quitOption=3
[2018-10-16 16:17:48 EDT] 27: IsWorkUnitCompleted for 27*2^7049701-1. Returning false (not completed, main)
[2018-10-16 16:17:48 EDT] 27: CanDoAnotherTest for 27*2^7049701-1. Returning true (not done)
[2018-10-16 16:17:48 EDT] in FindAnyIncompleteWork
[2018-10-16 16:17:48 EDT] 27: IsWorkUnitInProgress for 27*2^7049701-1. Returning true (in progress, main)
[2018-10-16 16:17:48 EDT] 27: HaveInProgressTest for 27*2^7049701-1. Returning true (in progress)
[2018-10-16 16:17:48 EDT] 27: IsWorkUnitCompleted for 27*2^7049701-1. Returning false (not completed, main)
[2018-10-16 16:17:48 EDT] 27: CanDoAnotherTest for 27*2^7049701-1. Returning true (not done)
[2018-10-16 16:17:49 EDT] Work: 27, HaveInProgressTest = true, CanDoAnotherTest = true
[2018-10-16 16:17:49 EDT] 27: IsWorkUnitCompleted for 27*2^7049701-1. Returning false (not completed, main)
[2018-10-16 16:17:49 EDT] 27: CanDoAnotherTest for 27*2^7049701-1. Returning true (not done)
[2018-10-16 16:17:49 EDT] 27: GetNextIncompleteWorkUnit looking for work. In Progress=false
[2018-10-16 16:17:49 EDT] 27: IsWorkUnitCompleted for 27*2^7049701-1. Returning false (not completed, main)
[2018-10-16 16:17:49 EDT] 27: GetNextIncompleteWorkUnit found 27*2^7049701-1
Resuming at bit 928077
PRP: 27*2^7049701-1 928078/7049705
^C Handler Routine called, shutting down program
[2018-10-16 16:17:50 EDT] 27: Test results not found in file [work_27.out]. Assuming user stopped with ^C
[2018-10-16 16:17:50 EDT] Total Time: 0:00:03 Total Work Units: 0 Special Results Found: 0
[2018-10-16 16:17:50 EDT] Client shutdown complete
C:\PrimeGrid\prpnet\prpclient-1>prpclient -debug
[2018-10-16 16:18:00 EDT] 27: AddWorkUnitToList for 27*2^7049701-1
[2018-10-16 16:18:00 EDT] 27: IsWorkUnitCompleted for 27*2^7049701-1. Returning false (not completed, main)
Total percent of servers does not equal 100. Normalizing
[2018-10-16 16:18:00 EDT] PRPNet Client application v5.4.0 started
[2018-10-16 16:18:00 EDT] User name Penguin at email address is
[2018-10-16 16:18:00 EDT] 27: IsWorkUnitInProgress for 27*2^7049701-1. Returning true (in progress, main)
[2018-10-16 16:18:00 EDT] 27: HaveInProgressTest for 27*2^7049701-1. Returning true (in progress)
[2018-10-16 16:18:01 EDT] 27: Returning work. currentworkunits=1, completedworkunits=0, quitOption=3
[2018-10-16 16:18:01 EDT] 27: IsWorkUnitCompleted for 27*2^7049701-1. Returning false (not completed, main)
[2018-10-16 16:18:01 EDT] 27: CanDoAnotherTest for 27*2^7049701-1. Returning true (not done)
[2018-10-16 16:18:01 EDT] in FindAnyIncompleteWork
[2018-10-16 16:18:01 EDT] 27: IsWorkUnitInProgress for 27*2^7049701-1. Returning true (in progress, main)
[2018-10-16 16:18:01 EDT] 27: HaveInProgressTest for 27*2^7049701-1. Returning true (in progress)
[2018-10-16 16:18:01 EDT] 27: IsWorkUnitCompleted for 27*2^7049701-1. Returning false (not completed, main)
[2018-10-16 16:18:01 EDT] 27: CanDoAnotherTest for 27*2^7049701-1. Returning true (not done)
[2018-10-16 16:18:01 EDT] Work: 27, HaveInProgressTest = true, CanDoAnotherTest = true
[2018-10-16 16:18:01 EDT] 27: IsWorkUnitCompleted for 27*2^7049701-1. Returning false (not completed, main)
[2018-10-16 16:18:01 EDT] 27: CanDoAnotherTest for 27*2^7049701-1. Returning true (not done)
[2018-10-16 16:18:01 EDT] 27: GetNextIncompleteWorkUnit looking for work. In Progress=false
[2018-10-16 16:18:01 EDT] 27: IsWorkUnitCompleted for 27*2^7049701-1. Returning false (not completed, main)
[2018-10-16 16:18:01 EDT] 27: GetNextIncompleteWorkUnit found 27*2^7049701-1
Resuming at bit 928090
PRP: 27*2^7049701-1 928091/7049705
^C Handler Routine called, shutting down program
[2018-10-16 16:18:04 EDT] 27: Test results not found in file [work_27.out]. Assuming user stopped with ^C
[2018-10-16 16:18:04 EDT] Total Time: 0:00:05 Total Work Units: 0 Special Results Found: 0
[2018-10-16 16:18:04 EDT] Client shutdown complete
It seems to not detect the option to shutdown when work is completed. | |
|
rogueVolunteer developer
 Send message
Joined: 8 Sep 07 Posts: 1256 ID: 12001 Credit: 18,565,548 RAC: 0
 
|
Do you have the same startoption for both clients?
Are there any trailing characters on the startoption line for the client that doesn't work? I'm suspecting that the client isn't parsing that line correctly. | |
|
|
Do you have the same startoption for both clients?
Are there any trailing characters on the startoption line for the client that doesn't work? I'm suspecting that the client isn't parsing that line correctly.
Yes, same startupoption of 6 is set on both clients.
I wlll double check the prpclient.ini file, I don't think there are any trailing characters, but its sure worth a look. I agree with your diagnosis. | |
|
|
Nothing looks off for that line...
Here's my prpclient.ini file for 3 instances, the first 2 are the problem files:
instance 1:
// email= is a REQUIRED field. The server will be use this address
// to send you an e-mail when your client discovers a prime.
email=
// userid= is a REQUIRED field that will be used by the server
// to report on stats, etc. without having to reveal the user's
// e-mail address. DO NOT USE spaces. Instead use underscore _.
userid=Penguin
// This value differentiates clients using the same e-mail ID
// DO NOT USE spaces. Instead use underscore _.
machineid=AMD-8350
// This value differentiates instances on a machine
// This will be set automatically by the *-update-prpclient-ini script
// If you prefer to setup up prpclient directories manually, please
// set this to a unique identifier (e.g. 1,2,3,4...)
instanceid=1
// Tests completed by this "team" will be rolled-up as part of team stats. This
// will be recorded on tests that are pending and then updated when tests are
// completed. Since it is stored on the server per test, it is possible for a
// single user to be a member of multiple teams. If no value is specified for
// this field, then completed tests and primes will not be awarded to any teams.
// DO NOT USE spaces. Instead use underscore _.
teamid=
// server= configures the mix of work to perform across one or more
// servers. It is parsed as follows:
// <suffix>:<pct>:<workunits>:<server IP>:<port>
//
// <suffix> - a unique suffix for the server. This is used to distinguish
// file names that are created for each configured server.
// <pct> - the percentage of PRP tests to do from the server.
// <workunits> - the number of PRP tests to get from the server. The
// server also has a limit, so the server will never return
// more than its limit.
// <server IP> - the IP address or name for the server
// <port> - the port of the PRPNet server
//
// Setting pct to 0 means that the client will only get work from the
// server if it cannot connect to one of the other configured servers.
// Please read the prpnet_servers.txt in this directory for information
// on the latest PRPNet servers.
// The following servers are from PrimeGrid. To make a server active,
// you must remove the "//". For more information about proper settings
// please see the readme_primegrid.txt in this directory.
// For descriptions of each project, please see this thread:
// http://www.primegrid.com/forum_thread.php?id=1215&nowrap=true#13329
//server=121:0:1:prpnet.primegrid.com:12001
//server=FPS:0:1:prpnet.primegrid.com:12002
//server=GCW:0:1:prpnet.primegrid.com:12004
server=27:0:1:prpnet.primegrid.com:12006
//server=PRS:0:1:prpnet.primegrid.com:12008
//server=WIEFERICH:0:1:prpnet.primegrid.com:13000
//server=WALLSUNSUN:0:1:prpnet.primegrid.com:13001
// This is the name of LLR executable. On Windows, this needs to be
// the LLR console application, not the GUI application. The GUI
// application does not terminate when the PRP test is done.
// On some systems you will need to put a "./" in front of the executable
// name so that it looks in the current directory for it rather than
// in the system path.
// LLR can be downloaded from http://jpenne.free.fr/index2.html
// If running a 64-bit system, comment out the llr.exe and uncomment llr64.exe
//llrexe=llr.exe
llrexe.exe=cllr64.exe
// This is the name of the PFGW executable. On Windows, this needs to
// be the PFGW console application, not the GUI application.
// PFGW can be downloaded from http://tech.groups.yahoo.com/group/openpfgw/
// If you are running a 64 bit OS, comment out the pfgw32 line
// and uncomment the pfgw64 line.
//pfgwexe=pfgw32.exe
pfgwexe=pfgw64.exe
// This is the name of the executable used for Wieferich and Wall-Sun-Sun searches.
// Available ONLY to 64bit OS. Uncomment if you have 64bit OS.
// If you have an OpenCL-capable GPU, uncomment 'wwwwcl'
//wwwwexe=wwww.exe
//wwwwexe=wwwwcl.exe
wwwwexe=wwwwcl64.exe
// This sets the CPU affinity for LLR on multi-CPU machines. It defaults to
// -1, which means that LLR can run on an CPU.
cpuaffinity=
// This sets the GPU affinity for CUDA apps on multi-GPU machines. It defaults to
// -1, which means that the CUDA app can run on an GPU.
gpuaffinity=
// Set to 1 to tell PFGW to run in NORMAL priority. It defaults to 0, which means
// that PFGW will run in IDLE priority, the same priority used by LLR, phrot,
// and genefer.
normalpriority=1
// This option is used to default the startup option if the PREVIOUS
// SHUTDOWN LEFT UNCOMPLETED WORKUNITS. If no previous work was left
// this will act like option 9.
// 0 - prompt
// 1 - Return completed work units, abandon the rest, then get more work
// 2 - Return completed work units, abandon the rest, then shut down
// 3 - Return completed, then continue
// 4 - Complete in-progress work units, abandon the rest, then get more work
// 5 - Complete in-progress work units, abandon the rest, then shut down
// 6 - Complete all work units, report them, then shut down
// 7 - Complete all work units then shut down (do not report completed work)
// 9 - Continue from where client left off when it was shut down
startoption=6
// stopoption= tells the client what to do when it is stopped with CTRL-C and there is
// work that has not been completed and returned to the server. Options 2, 5, and 6 will
// return all workunits. This will override stopasapoption. The accepted values are:
// 0 - prompt
// 2 - Return completed work units, abandon the rest, then shut down
// 3 - Return completed work units (keep the rest), then shut down
// 5 - Complete in-progress work units, abandon the rest, report them, then shut down
// 6 - Complete all work units, report them, then shut down
// 7 - Complete all work units then shut down (do not report completed work)
// 9 - Do nothing and shut down (presumes you will restart with startoption=9)
stopoption=9
// stopasapoption= tells the client that it needs to be shutdown automatically, i.e. without
// a CTRL-C. It is evaluated after each test is completed. It should be 0 upon startup.
// The accepted values are:
// 0 - Continue processing work units
// 2 - Return completed work units and abandon the rest
// 3 - Return completed work units (keep the rest)
// 6 - Complete all work units and return them
// 7 - Complete all work units then shut down (do not report completed work)
stopasapoption=0
// Timeout on communications errors
// (default is 60 minutes, minimum is 1 minute if not specified here...)
// Note that the actual used in the client is anywhere from 90% to 110% of this value
errortimeout=1
// Size limit in megabytes for the prpclient.log file...
// 0 means no limit.
// -1 means no log.
loglimit=1
// Set the debug level for the client
// 0 - no debug messages
// 1 - all debug messages
// 2 - output debug messages from socket communication
debuglevel=0
// Whether or not to echo "INFO" messages from server to console for accepted tests
// 0 - no echo
// 1 - echo (default)
echotest=1
instance 2:
// email= is a REQUIRED field. The server will be use this address
// to send you an e-mail when your client discovers a prime.
email=
// userid= is a REQUIRED field that will be used by the server
// to report on stats, etc. without having to reveal the user's
// e-mail address. DO NOT USE spaces. Instead use underscore _.
userid=Penguin
// This value differentiates clients using the same e-mail ID
// DO NOT USE spaces. Instead use underscore _.
machineid=AMD-8350
// This value differentiates instances on a machine
// This will be set automatically by the *-update-prpclient-ini script
// If you prefer to setup up prpclient directories manually, please
// set this to a unique identifier (e.g. 1,2,3,4...)
instanceid=2
// Tests completed by this "team" will be rolled-up as part of team stats. This
// will be recorded on tests that are pending and then updated when tests are
// completed. Since it is stored on the server per test, it is possible for a
// single user to be a member of multiple teams. If no value is specified for
// this field, then completed tests and primes will not be awarded to any teams.
// DO NOT USE spaces. Instead use underscore _.
teamid=
// server= configures the mix of work to perform across one or more
// servers. It is parsed as follows:
// <suffix>:<pct>:<workunits>:<server IP>:<port>
//
// <suffix> - a unique suffix for the server. This is used to distinguish
// file names that are created for each configured server.
// <pct> - the percentage of PRP tests to do from the server.
// <workunits> - the number of PRP tests to get from the server. The
// server also has a limit, so the server will never return
// more than its limit.
// <server IP> - the IP address or name for the server
// <port> - the port of the PRPNet server
//
// Setting pct to 0 means that the client will only get work from the
// server if it cannot connect to one of the other configured servers.
// Please read the prpnet_servers.txt in this directory for information
// on the latest PRPNet servers.
// The following servers are from PrimeGrid. To make a server active,
// you must remove the "//". For more information about proper settings
// please see the readme_primegrid.txt in this directory.
// For descriptions of each project, please see this thread:
// http://www.primegrid.com/forum_thread.php?id=1215&nowrap=true#13329
//server=121:0:1:prpnet.primegrid.com:12001
//server=FPS:0:1:prpnet.primegrid.com:12002
//server=GCW:0:1:prpnet.primegrid.com:12004
server=27:0:1:prpnet.primegrid.com:12006
//server=PRS:0:1:prpnet.primegrid.com:12008
//server=WIEFERICH:0:1:prpnet.primegrid.com:13000
//server=WALLSUNSUN:0:1:prpnet.primegrid.com:13001
// This is the name of LLR executable. On Windows, this needs to be
// the LLR console application, not the GUI application. The GUI
// application does not terminate when the PRP test is done.
// On some systems you will need to put a "./" in front of the executable
// name so that it looks in the current directory for it rather than
// in the system path.
// LLR can be downloaded from http://jpenne.free.fr/index2.html
// If running a 64-bit system, comment out the llr.exe and uncomment llr64.exe
//llrexe=llr.exe
llrexe.exe=cllr64.bat
// This is the name of the PFGW executable. On Windows, this needs to
// be the PFGW console application, not the GUI application.
// PFGW can be downloaded from http://tech.groups.yahoo.com/group/openpfgw/
// If you are running a 64 bit OS, comment out the pfgw32 line
// and uncomment the pfgw64 line.
//pfgwexe=pfgw32.exe
pfgwexe=pfgw64.exe
// This is the name of the executable used for Wieferich and Wall-Sun-Sun searches.
// Available ONLY to 64bit OS. Uncomment if you have 64bit OS.
// If you have an OpenCL-capable GPU, uncomment 'wwwwcl'
//wwwwexe=wwww.exe
//wwwwexe=wwwwcl.exe
wwwwexe=wwwwcl64.exe
// This sets the CPU affinity for LLR on multi-CPU machines. It defaults to
// -1, which means that LLR can run on an CPU.
cpuaffinity=
// This sets the GPU affinity for CUDA apps on multi-GPU machines. It defaults to
// -1, which means that the CUDA app can run on an GPU.
gpuaffinity=
// Set to 1 to tell PFGW to run in NORMAL priority. It defaults to 0, which means
// that PFGW will run in IDLE priority, the same priority used by LLR, phrot,
// and genefer.
normalpriority=1
// This option is used to default the startup option if the PREVIOUS
// SHUTDOWN LEFT UNCOMPLETED WORKUNITS. If no previous work was left
// this will act like option 9.
// 0 - prompt
// 1 - Return completed work units, abandon the rest, then get more work
// 2 - Return completed work units, abandon the rest, then shut down
// 3 - Return completed, then continue
// 4 - Complete in-progress work units, abandon the rest, then get more work
// 5 - Complete in-progress work units, abandon the rest, then shut down
// 6 - Complete all work units, report them, then shut down
// 7 - Complete all work units then shut down (do not report completed work)
// 9 - Continue from where client left off when it was shut down
startoption=9
// stopoption= tells the client what to do when it is stopped with CTRL-C and there is
// work that has not been completed and returned to the server. Options 2, 5, and 6 will
// return all workunits. This will override stopasapoption. The accepted values are:
// 0 - prompt
// 2 - Return completed work units, abandon the rest, then shut down
// 3 - Return completed work units (keep the rest), then shut down
// 5 - Complete in-progress work units, abandon the rest, report them, then shut down
// 6 - Complete all work units, report them, then shut down
// 7 - Complete all work units then shut down (do not report completed work)
// 9 - Do nothing and shut down (presumes you will restart with startoption=9)
stopoption=9
// stopasapoption= tells the client that it needs to be shutdown automatically, i.e. without
// a CTRL-C. It is evaluated after each test is completed. It should be 0 upon startup.
// The accepted values are:
// 0 - Continue processing work units
// 2 - Return completed work units and abandon the rest
// 3 - Return completed work units (keep the rest)
// 6 - Complete all work units and return them
// 7 - Complete all work units then shut down (do not report completed work)
stopasapoption=0
// Timeout on communications errors
// (default is 60 minutes, minimum is 1 minute if not specified here...)
// Note that the actual used in the client is anywhere from 90% to 110% of this value
errortimeout=1
// Size limit in megabytes for the prpclient.log file...
// 0 means no limit.
// -1 means no log.
loglimit=1
// Set the debug level for the client
// 0 - no debug messages
// 1 - all debug messages
// 2 - output debug messages from socket communication
debuglevel=0
// Whether or not to echo "INFO" messages from server to console for accepted tests
// 0 - no echo
// 1 - echo (default)
echotest=1
and one instance which works as it should, instance 3:
// email= is a REQUIRED field. The server will be use this address
// to send you an e-mail when your client discovers a prime.
email=
// userid= is a REQUIRED field that will be used by the server
// to report on stats, etc. without having to reveal the user's
// e-mail address. DO NOT USE spaces. Instead use underscore _.
userid=Penguin
// This value differentiates clients using the same e-mail ID
// DO NOT USE spaces. Instead use underscore _.
machineid=AMD-8350
// This value differentiates instances on a machine
// This will be set automatically by the *-update-prpclient-ini script
// If you prefer to setup up prpclient directories manually, please
// set this to a unique identifier (e.g. 1,2,3,4...)
instanceid=3
// Tests completed by this "team" will be rolled-up as part of team stats. This
// will be recorded on tests that are pending and then updated when tests are
// completed. Since it is stored on the server per test, it is possible for a
// single user to be a member of multiple teams. If no value is specified for
// this field, then completed tests and primes will not be awarded to any teams.
// DO NOT USE spaces. Instead use underscore _.
teamid=
// server= configures the mix of work to perform across one or more
// servers. It is parsed as follows:
// <suffix>:<pct>:<workunits>:<server IP>:<port>
//
// <suffix> - a unique suffix for the server. This is used to distinguish
// file names that are created for each configured server.
// <pct> - the percentage of PRP tests to do from the server.
// <workunits> - the number of PRP tests to get from the server. The
// server also has a limit, so the server will never return
// more than its limit.
// <server IP> - the IP address or name for the server
// <port> - the port of the PRPNet server
//
// Setting pct to 0 means that the client will only get work from the
// server if it cannot connect to one of the other configured servers.
// Please read the prpnet_servers.txt in this directory for information
// on the latest PRPNet servers.
// The following servers are from PrimeGrid. To make a server active,
// you must remove the "//". For more information about proper settings
// please see the readme_primegrid.txt in this directory.
// For descriptions of each project, please see this thread:
// http://www.primegrid.com/forum_thread.php?id=1215&nowrap=true#13329
//server=121:0:1:prpnet.primegrid.com:12001
//server=FPS:0:1:prpnet.primegrid.com:12002
//server=GCW:0:1:prpnet.primegrid.com:12004
server=27:0:1:prpnet.primegrid.com:12006
//server=PRS:0:1:prpnet.primegrid.com:12008
//server=WIEFERICH:0:1:prpnet.primegrid.com:13000
//server=WALLSUNSUN:0:1:prpnet.primegrid.com:13001
// This is the name of LLR executable. On Windows, this needs to be
// the LLR console application, not the GUI application. The GUI
// application does not terminate when the PRP test is done.
// On some systems you will need to put a "./" in front of the executable
// name so that it looks in the current directory for it rather than
// in the system path.
// LLR can be downloaded from http://jpenne.free.fr/index2.html
// If running a 64-bit system, comment out the llr.exe and uncomment llr64.exe
//llrexe=llr.exe
llrexe.exe=cllr64.bat
// This is the name of the PFGW executable. On Windows, this needs to
// be the PFGW console application, not the GUI application.
// PFGW can be downloaded from http://tech.groups.yahoo.com/group/openpfgw/
// If you are running a 64 bit OS, comment out the pfgw32 line
// and uncomment the pfgw64 line.
//pfgwexe=pfgw32.exe
pfgwexe=pfgw64.exe
// This is the name of the executable used for Wieferich and Wall-Sun-Sun searches.
// Available ONLY to 64bit OS. Uncomment if you have 64bit OS.
// If you have an OpenCL-capable GPU, uncomment 'wwwwcl'
//wwwwexe=wwww.exe
//wwwwexe=wwwwcl.exe
wwwwexe=wwwwcl64.exe
// This sets the CPU affinity for LLR on multi-CPU machines. It defaults to
// -1, which means that LLR can run on an CPU.
cpuaffinity=
// This sets the GPU affinity for CUDA apps on multi-GPU machines. It defaults to
// -1, which means that the CUDA app can run on an GPU.
gpuaffinity=
// Set to 1 to tell PFGW to run in NORMAL priority. It defaults to 0, which means
// that PFGW will run in IDLE priority, the same priority used by LLR, phrot,
// and genefer.
normalpriority=1
// This option is used to default the startup option if the PREVIOUS
// SHUTDOWN LEFT UNCOMPLETED WORKUNITS. If no previous work was left
// this will act like option 9.
// 0 - prompt
// 1 - Return completed work units, abandon the rest, then get more work
// 2 - Return completed work units, abandon the rest, then shut down
// 3 - Return completed, then continue
// 4 - Complete in-progress work units, abandon the rest, then get more work
// 5 - Complete in-progress work units, abandon the rest, then shut down
// 6 - Complete all work units, report them, then shut down
// 7 - Complete all work units then shut down (do not report completed work)
// 9 - Continue from where client left off when it was shut down
startoption=6
// stopoption= tells the client what to do when it is stopped with CTRL-C and there is
// work that has not been completed and returned to the server. Options 2, 5, and 6 will
// return all workunits. This will override stopasapoption. The accepted values are:
// 0 - prompt
// 2 - Return completed work units, abandon the rest, then shut down
// 3 - Return completed work units (keep the rest), then shut down
// 5 - Complete in-progress work units, abandon the rest, report them, then shut down
// 6 - Complete all work units, report them, then shut down
// 7 - Complete all work units then shut down (do not report completed work)
// 9 - Do nothing and shut down (presumes you will restart with startoption=9)
stopoption=9
// stopasapoption= tells the client that it needs to be shutdown automatically, i.e. without
// a CTRL-C. It is evaluated after each test is completed. It should be 0 upon startup.
// The accepted values are:
// 0 - Continue processing work units
// 2 - Return completed work units and abandon the rest
// 3 - Return completed work units (keep the rest)
// 6 - Complete all work units and return them
// 7 - Complete all work units then shut down (do not report completed work)
stopasapoption=0
// Timeout on communications errors
// (default is 60 minutes, minimum is 1 minute if not specified here...)
// Note that the actual used in the client is anywhere from 90% to 110% of this value
errortimeout=1
// Size limit in megabytes for the prpclient.log file...
// 0 means no limit.
// -1 means no log.
loglimit=1
// Set the debug level for the client
// 0 - no debug messages
// 1 - all debug messages
// 2 - output debug messages from socket communication
debuglevel=0
// Whether or not to echo "INFO" messages from server to console for accepted tests
// 0 - no echo
// 1 - echo (default)
echotest=1
They all look the same to me. I'm going to copy the instance 1 ini file to another directory and then replace it with one from instance 3 and see if it runs ok.
| |
|
|
Yes, it's something with those two prpclient.ini files. I copied to another directory that was working, and now the same error occurs, not shutting down. The original problem ini was replaced with a working one, and it is running fine now with the shut down option showing.
So easy fix, just copy some prpclient.ini files that work into the right directories change the instance, and back up and crunching as it should. Tho now I'm going to let em run continuously for a while anyways.
wish I knew what was off with the txt in those files that don't work though. | |
|
dukebgVolunteer tester
 Send message
Joined: 21 Nov 17 Posts: 242 ID: 950482 Credit: 23,670,125 RAC: 0
                  
|
They all look the same to me.
Well, copying those blocks of text into any comparing tools does show differences. Other that instanceid=n
In instance 2 you have startoption=9 rather than startoption=6 in instances 1 and 3
In instance 1 you have llrexe.exe=cllr64.exe rather than llrexe.exe=cllr64.bat in instances 2 and 3
Maybe prpnet client is also sensetive to line ending formats (CR LF / etc)? Those would obviously not copy-paste to forums, so you would have to check those locally. | |
|
rogueVolunteer developer
 Send message
Joined: 8 Sep 07 Posts: 1256 ID: 12001 Credit: 18,565,548 RAC: 0
 
|
The client is not sensitive to line endings. It strips off \n and \r from lines that it reads.
You can use a tool like NotePad++ to show the invisible characters. | |
|
|
Unfortunately I can't edit my old posts, is it possible for a mod to edit so my email addy doesn't show any longer in the posts? Its not the worst thing in the world, but may be better off not having it posted. | |
|
Michael Goetz Volunteer moderator Project administrator
 Send message
Joined: 21 Jan 10 Posts: 14011 ID: 53948 Credit: 432,511,519 RAC: 1,095,528
                               
|
Unfortunately I can't edit my old posts, is it possible for a mod to edit so my email addy doesn't show any longer in the posts? Its not the worst thing in the world, but may be better off not having it posted.
Done.
____________
My lucky number is 75898524288+1 | |
|
|
Unfortunately I can't edit my old posts, is it possible for a mod to edit so my email addy doesn't show any longer in the posts? Its not the worst thing in the world, but may be better off not having it posted.
Done.
Much appreciated. I was going to say to make it easier we could just delete the whole thread if need be. Thanks again Michael. | |
|
Message boards :
Project Staging Area :
prpclient settings, not taking startupoption setting 6 now.... |