mersenneforum.org  

Go Back   mersenneforum.org > Prime Search Projects > Twin Prime Search

Reply
 
Thread Tools
Old 2011-08-25, 16:37   #78
lsoule
 
lsoule's Avatar
 
Nov 2004
California

23·3·71 Posts
Default

I was interested in distributing LLR over a bunch of local machines. I guess I never looked at PRPnet due to the name - does it also distribute LLR?
lsoule is offline   Reply With Quote
Old 2011-08-25, 16:40   #79
lsoule
 
lsoule's Avatar
 
Nov 2004
California

170410 Posts
Default

That is, running my own server locally to distribute LLR over a bunch of local machines...
lsoule is offline   Reply With Quote
Old 2011-08-25, 16:56   #80
amphoria
 
amphoria's Avatar
 
"Dave"
Sep 2005
UK

AD816 Posts
Default

Quote:
Originally Posted by lsoule View Post
That is, running my own server locally to distribute LLR over a bunch of local machines...
It does. On windows it uses cllr.exe the command line version of LLR. I have been using it to distribute work over local machines for about 2 years now. The server is easy to set up once you have installed mysql.

Last fiddled with by amphoria on 2011-08-25 at 16:58
amphoria is offline   Reply With Quote
Old 2011-08-25, 16:59   #81
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

162528 Posts
Default

Quote:
Originally Posted by lsoule View Post
That is, running my own server locally to distribute LLR over a bunch of local machines...
Yes, that and much more. There are a number of differences between the two, including:

1) The client program (prpclient) and llr program (cllr) are not linked together. This allows you to replace one or the other allowing you to upgrade more easily. So if Jean upgrades llr or I upgrade PRPNet, you can drop in the new executables without waiting for someone else to integrate the two together.
2) Lots of stats available via HTML. You can see CRUS stats here: http://noprimeleftbehind.net:1400/all.html
3) I'm continually making enhancements and bug fixes. In other words I keep it actively developed.
4) Used by many more projects, both great and small. PrimeGrid has more than 10 projects, some of which have had hundreds of users. Many people on this forum (including myself) run PRPNet servers at home.
5) Support for many project types. Beyond the Sierpinski/Riesel searches (offshoots of CRUS), it can handle simple k*b^n+c searches and Twin Prime Searches. I'm open to adding new searches as people make requests.
6) Support for many client programs. It supports LLR (for k*b^n+c), genefer, PFGW, and phrot.
7) Support for many OSes and CPUs. It runs on x86 and ppc across all versions of Windows, Mac, and Linux.
8) The server can run on MySQL or PostgreSQL databases, both of which are free and easy to install and easy to use (presuming you know SQL).

I could go on, but that gives you an idea of what it can do above and beyond llrnet.
rogue is offline   Reply With Quote
Old 2011-08-25, 17:24   #82
lsoule
 
lsoule's Avatar
 
Nov 2004
California

110101010002 Posts
Default

Great - thanks for the reply. I'm on Ubuntu and it looks like MySql is easy to install there. I'll take a look!

-Larry
lsoule is offline   Reply With Quote
Old 2011-08-25, 17:47   #83
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

2·3·1,223 Posts
Default

Quote:
Originally Posted by lsoule View Post
Great - thanks for the reply. I'm on Ubuntu and it looks like MySql is easy to install there. I'll take a look!
If you run into issues, there are a couple of Ubuntu users on this forum who are running PRPNet servers. If you have any questions about PRPNet itself, please let me know.

Last fiddled with by rogue on 2011-08-25 at 17:48
rogue is offline   Reply With Quote
Old 2011-08-25, 18:26   #84
lsoule
 
lsoule's Avatar
 
Nov 2004
California

23·3·71 Posts
Default

So far so good. Is there a readme for the prpserver.ini? I'd like to search for primes of the form k*2^n-1 and not sure of the server type. Also, is there an example mysql.ini as well?

thanks,
Larry
lsoule is offline   Reply With Quote
Old 2011-08-25, 18:51   #85
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

1CAA16 Posts
Default

Quote:
Originally Posted by lsoule View Post
So far so good. Is there a readme for the prpserver.ini? I'd like to search for primes of the form k*2^n-1 and not sure of the server type. Also, is there an example mysql.ini as well?
The prpserver.ini has a lot of comments regarding the options. You will most likely use one of these server types:

// 3 - Fixed b, k, and c, grouped by n
// 4 - Fixed b, n, and c, grouped by k

Which you use depends upon how you sieved. If you used a fixed k sieve, then use servertype 3. If you used a fixed n sieve use servertype 4. The servertype impacts a number of things. For example it affects how stats are stored and how HTML is generated. It also impacts the client as the client will use it to determine which software to use for the PRP test.

If the documentation references mysql.ini, then it is incorrect. I renamed the ini file to database.ini when I introduced PostgreSQL support. You will find that file in the server directory.
rogue is offline   Reply With Quote
Old 2011-08-26, 03:57   #86
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA

2×47×67 Posts
Default

Quote:
Originally Posted by lsoule View Post
Are the binaries or sources available for the server part of llrnet?

thanks,
Larry
FYI--though your ensuing discussion with Mark regarding PRPnet has somewhat obviated this request, we do nonetheless have a copy of the LLRnet source code (both client and server) posted on the noprimeleftbehind.net website for posterity. You can download it from:

http://www.noprimeleftbehind.net/dow...et-sources.tgz

That said, I would definitely agree that PRPnet is a better choice these days. LLRnet does still work (in fact we use it alongside PRPnet at NPLB, with an updated client we developed that lets it use the latest LLR in a similar manner to PRPnet), though it is much less robust and full-featured. LLRnet does have the advantage of being very simple to set up (no database, just a straight-up NewPGen format text file for input); but once you get the hang of PRPnet, it's pretty easy to keep up. Personally, I find the server-end administration process much easier with PRPnet.

Anyway, just my $0.02...
mdettweiler is offline   Reply With Quote
Old 2011-09-17, 09:58   #87
odicin
 
Sep 2011
Potsdam, Germany

151 Posts
Default

Is it possible, to update the prpnet-server from 4.1.4 to an newer version after the rally? During the race (and also before), sometimes the problem occurs, that the server is send a wu to my client but the client never reach them. Every time I checked this with the candidate in the prpclient.log and test_result.log on the client. The candidate never reached them. Thats why a pending zomie wu is now haunting 72h at the server (at pending tests). I try to remember, that this was a bug in this version of prpnet, besides some other like twisting client/team name.

Regards Odi
odicin is offline   Reply With Quote
Old 2011-09-17, 19:35   #88
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA

2·47·67 Posts
Default

Quote:
Originally Posted by odicin View Post
Is it possible, to update the prpnet-server from 4.1.4 to an newer version after the rally? During the race (and also before), sometimes the problem occurs, that the server is send a wu to my client but the client never reach them. Every time I checked this with the candidate in the prpclient.log and test_result.log on the client. The candidate never reached them. Thats why a pending zomie wu is now haunting 72h at the server (at pending tests). I try to remember, that this was a bug in this version of prpnet, besides some other like twisting client/team name.

Regards Odi
Yep, it's on my to-do list. I have hesitated to upgrade many of the NPLB/CRUS/TPS PRPnet servers from 4.1.4 since it has worked very well on the whole and I have been severely cramped for time; but it is definitely on my list. We've had CRUS's port 1400 running on the latest 4.3.5 for a couple of months now and it's proven to be quite stable.
mdettweiler is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Public PRPNet Servers rogue Open Projects 26 2013-01-16 01:33
Automated LLR testing with LLRnet mdettweiler No Prime Left Behind 24 2011-11-04 19:20
SR5 PRPnet 2.4.7 Servers - Shutting Down Joe O Sierpinski/Riesel Base 5 6 2010-12-06 20:41
PRPNet servers down? opyrt Prime Sierpinski Project 13 2009-11-04 21:33
Automated PRP using LLRNet axn Sierpinski/Riesel Base 5 73 2008-11-26 03:46

All times are UTC. The time now is 13:32.


Fri Jul 7 13:32:24 UTC 2023 up 323 days, 11 hrs, 0 users, load averages: 1.19, 1.23, 1.21

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.

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