John Forum moderator Project scientist Send message Joined: Feb 21 06 Posts: 1560 ID: 2449 Credit: 357,929 RAC: 0
Welcome to PRPNet!
PrimeGrid uses PRPNet to test and prepare new projects. It is also used as a way to offer more varied prime searches that normally will not make it to BOINC.
PRPNet, developed by Mark Rodenkirch, is very similar to BOINC but is used specifically for prime finding. There is no GUI. Instead, it runs in a dos window or Linux terminal. It's very simple to run...just download and unzip the file for your OS, edit a few lines in the prpclient.ini file, and run. You'll be crunching in less than 5 minutes. :)
Manual cobblestones are available.
3.3.2beta archives
prpclient-3.3.2beta-linux_32
prpclient-3.3.2beta-linux_64
prpclient-3.3.2beta-windows (32 bit - will run on 64 bit)
prpclient-3.3.2beta-macintel (coming soon)
prpclient-3.3.2beta-macppc (coming soon)
prpclient-3.3.2beta-ps3 (coming soon)
prpclient-3.3.2beta-ultrasparc32 (coming soon)
prpclient-3.3.2beta-ultrasparc64 (coming soon)
prpclient-3.3.2beta-ppc_linux_64
prpclient-3.3.2beta-ppc_linux_G5
Mac, PS3 and UltraSPARC builds courtesy of Andreas Kobara (Lexs). Thanks!!!
PPC_Linux 64 and PPC_Linux G5 builds courtesy of Pat Blair (Redstar3894). Thanks!!!
NOTE: 64 bit Windows clients should UNcomment the line "geneferexe=genefX64.exe" in the master_prpclient.ini file if participating in the GFN Prime Search.
port: 12000; Sophie Germain Prime Search: (k*2^666666-1); Max WU: 10
port: 12001; 121 Prime Search: 121 for k*2^n+-1 for n<10M; Max WU: 20
port: 12002; Factorial Prime Search: n!+1 & n!-1 for n<1M; Max WU: 30
port: 12003; Generalized Fermat Number Prime Search (b^2^n+1); Max WU: 10
port: 12004; Generalized Woodall & Cullen; b=13 (n*13^n-/+1); Max WU: 10
port: 12005; Generalized Fermat Number Prime Search (b^2^n+1); Max WU: 10
port: 12006; 27121 Prime Search: k=27 & 121 for k*2^n+-1 for n<10M; Max WU: 20
port: 12007; Proth Prime Search Extended: k*2^n=1; 1200<k<10000 for n>500K; Max WU: 100
port: 12008; Primorial Prime Search: p#+1 & p#-1 for n<10M; Max WU: 10
server = "prime2u.com"
port: 11000; Proth Prime Search Extended: k*2^n=1; 1200<k<10000 for n<500K; Max WU: 100
server = "pgllr.mine.nu"
port: 9000; The extended Sierpinski problem; Max WU: 10
port: 10000; Proth Prime Search Extended: k*2^n=1; 1200<k<10000 for n<500K; Max WU: 100
Max WU time:
Max WU time is determined by the size (digits) of the WU being tested. For example, a WU that's less than 50,000 digits will be given 1 day to complete. A WU greater than 50,000 digits but less than 100,000 digits will be given 2 days to complete.
All ports
50,000 digit : 1 day
100000 digit : 2 days
200000 digit : 3 days
300000 digit : 4 days
400000 digit : 7 days
500000 digit : 14 days
Only GCW13 port
500000 digit : 6 days
600000 digit : 8 days
700000 digit : 10 days
800000 digit : 12 days
900000 digit : 14 days
1000000 digit : 16 days
Open the master_prpclient.ini and modify the following settings:
email= This is a REQUIRED field. Enter your email address. E-mail will be sent to this address when a number is found to be PRP. If you wish for your prime to be included in PrimeGrid's Primes Database, please use the same address that you registered with when connecting to PrimeGrid.
userid= This is a REQUIRED field. Enter your PrimeGrid username here. It will be used by the server to report on stats, etc. and to grant credit. NOTE: If your PrimeGrid userid has a space in it, please use the underscore character _ to replace it. For example: "Prime Time" would become "Prime_Time".
clientid= This identifies a specific client.
server= This points to PrimeGrid's PRPNet server from which the client will get work. It is already prepared with default values. Please make adjustments to your preference.
Save the master_prpclient.ini file
Run the "#-update-prpclient-ini.bat" ("#-update-prpclient-ini.sh" for Linux) file to update the prpclient.ini files in all the folders. Mac users will have to make sure they select the proper executable as well.
Run the "#-start-prpclient.bat" ("#-start-prpclient.sh" for Linux) to start all the clients (the windows will be minimized). The clients will start, communicate with the server, and download WU's based on your server settings in the master_prpclient.ini file.
The client will automatically select which "primality testing program" (LLR, Phrot, or PFGW) to use on the downloaded WU's. It will continue until interrupted.
To stop client, press ctrl-C.
Additional Information
The configuration of the server section is parsed as follows:
This tells the client to only get work from the Proth Prime Search Extended port 7171. However, you can select other combinations such as 10, 60, 30. This would provide 10% work from PPSE7171, 60% work from PPSE10K, and 30% work from SGS. You can make any combinations you like. Just make sure all numbers add up to 100. :)
NOTE: Using a percentage of 0 will get work from that server only if the client could not connect to any other servers. Therefore, if you don't want work from a particular server, then comment it out and adjust the percentages over the remaining servers.
Finishing the queue and closing the client
When you ctrl-c to close the client, you'll be prompted about what to do.
What should the client do with untested workunits?
1 = Abort all (including current tests)
2 = Report completed tests to server
3 = Nothing
To finish the WU's in cache, upload the results and close the client, change <workunits> to 0. Stop the client and restart for the new setting to take effect.
Please let us know in the PRPNet Discussion thread if you experience any other problems or have any questions.
ID: 13329 |
lennart SM5YMT Forum moderator Project tester Send message Joined: May 7 07 Posts: 641 ID: 7989 Credit: 87,862,151 RAC: 14,234
Below is a copy of the prpclient.ini file. Highlighted in red are the sections you need to add your information.
Highlighted in blue in the server section is where you adjust your project preferences. You can even comment out ports that you don't want to participate in by adding // at the beginning of the line.
// 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=Your@email.here
// 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. userid=User name
// This value differentiates clients using the same e-mail ID clientid=computername
// 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, normally 7101
//
// 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 server=PPSE10k:0:10:uwin.mine.nu:10000
server=PPSE11K:0:10:uwin.mine.nu:11000
server=PPSE:0:1:prpnet.primegrid.com:12007
server=SGS:0:1:prpnet.primegrid.com:12000
server=FPS:0:1:prpnet.primegrid.com:12002
server=GFN:0:2:prpnet.primegrid.com:12005
server=GFN2:0:2:prpnet.primegrid.com:12003
server=GCW13:0:1:prpnet.primegrid.com:12004
server=27121:0:1:prpnet.primegrid.com:12006
server=PRS:0:1:prpnet.primegrid.com:12008
// the following servers are from the Prime Sierpinski Project server=PSPtest:0:1:www.psp-project.de:7100
server=PSPtestdc:0:1:www.psp-project.de:7101
// 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 llrexe=llr.exe
// This is the name of Phrot executable.
// 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.
// Phrot can be downloaded from http://home.roadrunner.com/~mrodenkirch/ phrotexe=phrot.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/ pfgwexe=pfgw.exe
// This is the name of the genefer executables used for GFN searches. Up
// to three different Genefer programs can be specified. The client will
// attempt a test with genefx64 first. If a round off error occurs, it will
// try genefer. If a round of occurs in genefer, it will try genefer80. If
// genefer80 fails, then the number cannot be tested. The order they are
// specified here is not important. geneferexe=genefer.exe
geneferexe=genefer80.exe
geneferexe=genefX64.exe
// This sets the CPU affinity for LLR on multi-CPU machines.
affinity=
// 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=0
// This option is used to default the startup option if the previous
// shutdown left uncompleted workunits.
// 0 - prompt
// 1 - Return completed work units and abandon the rest
// 2 - Complete assigned work units
startoption=2
// This option is used to default the stop option when the client
// is terminated
// 0 - prompt
// 1 - Return completed work units and abandon the rest
// 2 - Return completed work units
// 3 - Do nothing with current work units and terminate the process
stopoption=2
// Default idle status is 1 (idle)
idle=1
// Minimum delay between server connections in minutes
// The default is 12 hours (720 minutes), minimum is 1 minute
frequency=720
// 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=3
// Size limit for the prpclient.log file...
// 0 means no limit.
// -1 means no log.
loglimit=900000
// Set the debug level for the client
// 0 - no debug messages
// 1 - all debug messages
// 2 - output debug messages from socket communication
debuglevel=0
ID: 13331 |
John Forum moderator Project scientist Send message Joined: Feb 21 06 Posts: 1560 ID: 2449 Credit: 357,929 RAC: 0
PRPNet Update 3.3.2 - BETA
After some deft debugging and a quick resolution, we are now ready to release 3.3.2beta. Thanks to everyone who provided feedback to the last issue. Yes, we have finally advanced to beta. :) Please update as soon as possible.
Single, dual, quad, and dual quad installs are included. Instructions are in the readme_primegrid.txt file. Download the client for your OS and extract. You can download the archives here: http://pgllr.mine.nu/PRPNet/
3.3.2beta archives
prpclient-3.3.2beta-linux_32
prpclient-3.3.2beta-linux_64
prpclient-3.3.2beta-windows (32 bit - will run on 64 bit)
prpclient-3.3.2beta-macintel
prpclient-3.3.2beta-macppc
prpclient-3.3.2beta-ps3
prpclient-3.3.2beta-ultrasparc32
prpclient-3.3.2beta-ultrasparc64
prpclient-3.3.2beta-ppc_linux_64
prpclient-3.3.2beta-ppc_linux_G5
Mac, PS3 and UltraSPARC builds courtesy of Andreas Kobara (Lexs). Thanks!!!
PPC_Linux 64 and PPC_Linux G5 builds courtesy of Pat Blair (Redstar3894). Thanks!!!
NOTE: The above archives contain the following:
prpclient - Version 3.3.2beta
llr - Version 3.8.1 (Linux, Windows, MacIntel)
pfgw - Version 3.3.4 (Linux, Windows, MacIntel)
phrot - Version 0.72 (MacIntel, MacPPC, ultrasparc32, ultrasparc64, PS3, PPC_Linux_64, PPC_Linux_G5)
Genefer - Version 2.2.0 (Linux, Windows, MacIntel, MacPPC, PPC_Linux_64, PPC_Linux_G5)
Genefer80 - Version 2.2.0 (Windows only)
GenefX64 - Version 2.2.0 (Windows 64 bit only)
Version 3.3.2: June 2010 - Patch Release
prpclient: Fixed crash that occurs when client cannot connect to the server.
Fixed behavioral issue when starting client so that it can continue
to work on other servers if unable to return work.
Version 3.3.1: June 2010 - Patch Release
prpserver: Added CountInProgress column to create_tables.sql script.
Change summary lines on Sierpinski/Riesel HTML to bold text.