mersenneforum.org  

Go Back   mersenneforum.org > Prime Search Projects > No Prime Left Behind

Reply
 
Thread Tools
Old 2009-07-28, 15:54   #1
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA

52×11×23 Posts
Smile PRPnet

Hi all,

With recent releases of PRPnet, PRPnet is stable enough to handle large #'s of clients on a wide variety of tests. We have several PRPnet servers available for various team drives. See PRPnet servers for NPLB for details.

For those unfamiliar with PRPnet, it was designed by Mark Rodenkirch (who goes by "rogue" on this forum) to replace the aging LLRnet software. LLRnet, due to its tight integration with the underlying LLR code, was hampered by the fact that it utilized the older, slower LLR version 3.5. PRPnet was designed modularly, so that its underlying LLR code can be upgraded easily, and thus does not suffer from this limitation.

In addition, PRPnet supports utilization of both LLR and PFGW for primality testing in cases where those respective programs are faster or otherwise better applicable. While this aspect of the program does not particularly benefit NPLB, it is a great boon for our sister project, Conjectures 'R Us (CRUS), which does a lot of testing on non-base-2 numbers, which require PRP or N+/-1 tests instead of LLR tests.

The PRPnet client is not difficult to set up and use. It works a little differently than the classic LLRnet client, behaving more akin to the updated LLRnet client that we are currently using. Rather than constantly topping off its work queue after each completed test, PRPnet finishes its entire queue before returning it and starting on the next batch. This limits the amount of network connections PRPnet needs to make, and eliminates many of the strange behaviors that occurred in LLRnet and drove many of us nuts.

One interesting feature that PRPnet has is the ability to mix and match multiple servers in user-specified proportions. For example, you can have it spend 70% of its time working on server A, and 30% time working on server B. You can even configure servers with a 0% proportion, to be used as a backup to ensure your computer does not go idle if the primary server(s) cannot be reached. This feature opens the door to all sorts of interesting possibilities, by allowing almost BOINC-like flexibility yet retaining the simplicity of a standalone application.

You can download the latest PRPnet from the following link: Primegrid prpnet clients



To set up the client:
  • Download the client package for your operating system from the link above.
  • Extract the zip file to a new folder.
  • Open the file prpclient.ini.
  • Plug in your email address and username near the top of the file. Also, you'll need to provide an arbitrary name for the particular computer this client is running on. This is mainly useful in case we find a bad result from your computer in future doublechecking, so you can identify the culprit machine more easily.
  • Below the area where you just put your user information, you'll see a section where you can configure what servers the client gets work from. Here, you can configure the proportions and queue sizes for each individual server. The instructions provided in the prpclient.ini file are rather self-explanatory, so we won't go into detail about that here. You can reference the prpnet_servers.txt file for a list of known active public PRPnet servers at the time of this version's release, or check our PRPnet servers for NPLB thread for an up-to-date list of NPLB servers.
  • Farther down the file, you'll see two options, "startoption" and "stopoption". By default, each time the client is stopped or started, it asks you what to do with any work left in its queue. This can become rather redundant during normal operation, and can be especially annoying on Windows systems where PRPnet will hold up a system shutdown until you answer its prompt. We recommend configuring the client to startoption=9 (complete assigned work units), and stopoption=3 (return completed workunits, keep incomplete workunits in queue, and shut down).
  • Once you're satisfied with the configuration, save the file.
  • Now, run prpclient.exe (or ./prpclient from a terminal on Linux). The client will run, fetch its first batch of work from whatever server has the highest work proportion, and start working. When that batch is done, it will return the results and grab a new batch to work on.
  • To stop the client, press Ctrl-C. The client will stop according to your specified stopoption.
That's all there is to it! If you have any questions, feel free to post them in this thread and someone knowledgeable with PRPnet will answer your question.

Note on what we expect will be a frequently asked question: Most of the various options in prpclient.ini may look a little confusing, but are quite safely left at their defaults.

Max

Last fiddled with by gd_barnes on 2022-06-08 at 23:36 Reason: bring up to date
mdettweiler is offline   Reply With Quote
Old 2009-07-28, 16:20   #2
TimSorbet
Account Deleted
 
TimSorbet's Avatar
 
"Tim Sorbera"
Aug 2006
San Antonio, TX USA

11·389 Posts
Default

The Windows package includes what I presume to be the Linux executable (in addition to the Windows executable).
Attached is a zip file with all the text files modified to have the Windows-style endline markers so that Notepad can view them properly. (the LLR and Phrot readmes are the same as the ones already included)
Attached Files
File Type: zip texts.zip (18.6 KB, 347 views)
TimSorbet is offline   Reply With Quote
Old 2009-07-28, 16:31   #3
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA

52·11·23 Posts
Default

Quote:
Originally Posted by Mini-Geek View Post
The Windows package includes what I presume to be the Linux executable (in addition to the Windows executable).
Attached is a zip file with all the text files modified to have the Windows-style endline markers so that Notepad can view them properly. (the LLR and Phrot readmes are the same as the ones already included)
Oh, good catch! Thanks, I've got the fixed file uploading right now.
mdettweiler is offline   Reply With Quote
Old 2009-08-02, 14:14   #4
vaughan
 
vaughan's Avatar
 
Jan 2005
Sydney, Australia

5·67 Posts
Default

Typo: in line 10 of prpnet.ini it says "differtiates", it should be "differentiates" ie it needs "en" inserting.
vaughan is offline   Reply With Quote
Old 2009-08-13, 04:31   #5
gd_barnes
 
gd_barnes's Avatar
 
"Gary"
May 2007
Overland Park, KS

1256610 Posts
Default

Since PRPnet cannot be used for project-level drives at this point, I have modified the 1st para in the 1st post here to reflect what we would currently recommend for people wanting to run a PRPnet server.

Last fiddled with by gd_barnes on 2009-08-13 at 04:32
gd_barnes is online now   Reply With Quote
Old 2009-10-28, 19:59   #6
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA

11000101101012 Posts
Default

Since PRPnet 2.4.3 appears to be stable on both server and client ends with no apparent problems, I've upgraded all of the NPLB and CRUS servers to the latest version. Note that while the 2.4.3 server is backwards compatible with earlier clients, the 2.4 client (which I will be posting binary packages for soon) only works with >=2.4.0 servers.

This new version of PRPnet should be immune to the blank-residue problem that plagued earlier versions of the server and forced us to limit PRPnet usage drastically. At this point, we can run pretty much anything through PRPnet, and should start looking into what we might want to transition over from LLRnet in the near future. We'll still keep some of our servers on LLRnet for quite a while to come, but nonetheless any discussion on which drives we should transition and when is welcome.

Personally, I think it would be interesting to take one of the k=400-1001 drives and switch it to PRPnet. We currently have three nearly identical drives for that range, and switching one over would not really detract from the selection available in LLRnet servers.
mdettweiler is offline   Reply With Quote
Old 2009-11-02, 18:49   #7
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA

52×11×23 Posts
Default

Hi all,

I've now (finally--sorry for the wait) put together NPLB/CRUS client packages for the 2.4.3 release of PRPnet and posted them for download on the noprimeleftbehind.net website. Download links and setup instructions can be found in the first post of this thread.

A couple of notes on this release:
-Just to reiterate, the 2.4.3 client will not work on a pre-2.4 server. All of the NPLB and CRUS servers are running 2.4.3, though some other projects may not have yet upgraded from 2.3 or 2.2. PSP has upgraded to 2.4, but I don't think PrimeGrid has quite yet for all their servers (though they probably will soon).
-Version 2.4 added support for testing of Generalized Fermat Numbers (GFNs). While neither NPLB or CRUS is testing these numbers, I've included binaries for genefer (the GFN PRP-testing application) in the client packages, in the interest of making a complete client package that will work on any server.

Max
mdettweiler is offline   Reply With Quote
Old 2009-11-02, 19:19   #8
Lennart
 
Lennart's Avatar
 
"Lennart"
Jun 2007

25×5×7 Posts
Default

Quote:
Originally Posted by mdettweiler View Post

A couple of notes on this release:
-Just to reiterate, the 2.4.3 client will not work on a pre-2.4 server. All of the NPLB and CRUS servers are running 2.4.3, though some other projects may not have yet upgraded from 2.3 or 2.2. PSP has upgraded to 2.4, but I don't think PrimeGrid has quite yet for all their servers (though they probably will soon).
-Version 2.4 added support for testing of Generalized Fermat Numbers (GFNs). While neither NPLB or CRUS is testing these numbers, I've included binaries for genefer (the GFN PRP-testing application) in the client packages, in the interest of making a complete client package that will work on any server.

Max
They are all upgraded to 2.4.3 on PrimeGrid :)

Lennart
Lennart is offline   Reply With Quote
Old 2009-11-02, 20:52   #9
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA

52·11·23 Posts
Default

Quote:
Originally Posted by Lennart View Post
They are all upgraded to 2.4.3 on PrimeGrid :)

Lennart
Cool! Now I can upgrade all my clients to 2.4.3. (I was holding off until the PrimeGrid servers were upgraded since I have them configured as backup servers in case Gary's network goes down or something like that.)
mdettweiler is offline   Reply With Quote
Old 2009-11-03, 05:18   #10
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA

52×11×23 Posts
Default

PRPnet 2.4.4 was just recently released to correct a few last-minute bugs that showed up in 2.4.3. It is recommended that all users upgrade to this latest version. (Note that if you already downloaded and set up 2.4.3, then all you have to do is stop the client, swap in the new prpclient.exe, and restart the client. This makes upgrading somewhat easier than having to replace and re-fill-in prpclient.ini as with earlier, more major releases that included changes to that. )
mdettweiler is offline   Reply With Quote
Old 2009-11-25, 16:13   #11
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA

52×11×23 Posts
Default

Hi all,

I have just posted binaries for PRPnet 2.4.6. This fixes some critical bugs in earlier versions that showed up on Linux for both the client and server, though since I think a few minor tweaks may affect Windows as well, I'd recommend everyone upgrade. The only files you'll need to replace are prpclient.exe (or prpclient on Linux) and prpnet_servers.txt (in which I added NPLB's new G3000 PRPnet server for the 5th Drive).

Max
mdettweiler is offline   Reply With Quote
Reply

Thread Tools


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

All times are UTC. The time now is 21:42.


Fri Sep 29 21:42:36 UTC 2023 up 16 days, 19:24, 0 users, load averages: 0.94, 0.94, 1.04

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

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎𝜍 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔