mersenneforum.org  

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

Reply
 
Thread Tools
Old 2013-09-12, 11:09   #1
pinhodecarlos
 
pinhodecarlos's Avatar
 
"Carlos Pinho"
Oct 2011
Milton Keynes, UK

52·191 Posts
Default RPS with Prime95

I need some guidance.
I got the indication that to run a PRP on Prime95 with numbers of the form "k*2^n-1" I should add the following line at the worktodo.txt file:

"PRP=k,2,n,-1"

Now a few questions. Imagine I have a cluster so how do I add work? Do I need to create a separate [Worker thread #n] lines where "n" is up to the number of cores available? Or Prime95 detects all cores and I simple need to add the work after the line "PRP=k,2,n,-1"?
Other question is how to put the LLR input file into worktodo.txt of Prime95.
1) Is it

"PRP=k,2,n,-1"
5,2,3900000,-1

or

2)

"PRP=5,2,n,-1"
3646020
3646040
etc.

I need some help. I've been testing but I can' find the right way to run PRP with Prime95 on numbers of the form "k*2^n-1".

Thank you in advance,

Carlos
pinhodecarlos is online now   Reply With Quote
Old 2013-09-12, 11:54   #2
ATH
Einyen
 
ATH's Avatar
 
Dec 2003
Denmark

BA616 Posts
Default

Quote:
Originally Posted by pinhodecarlos View Post
Now a few questions. Imagine I have a cluster so how do I add work? Do I need to create a separate [Worker thread #n] lines where "n" is up to the number of cores available? Or Prime95 detects all cores and I simple need to add the work after the line "PRP=k,2,n,-1"?
You need to add these 2 lines to local.txt:
WorkerThreads=4 (change 4 to how many physical cores you have, do not count hyperthreaded cores)
ThreadsPerTest=1

In worktodo.txt you need to do:

[Worker #1]
PRP=100,2,216091,-1

[Worker #2]
PRP=101,2,216091,-1

and so on.


Quote:
Originally Posted by pinhodecarlos View Post
Other question is how to put the LLR input file into worktodo.txt of Prime95.
You cannot use LLR style input files, you have to add the actual k and n-values to each line, there cannot be any letters:

[Worker #1]
PRP=101,2,216091,-1
PRP=102,2,216091,-1
PRP=103,2,216091,-1
PRP=104,2,216091,-1

[Worker #2]
PRP=105,2,216091,-1
PRP=106,2,216091,-1
PRP=107,2,216091,-1
PRP=108,2,216091,-1

Last fiddled with by ATH on 2013-09-12 at 11:54
ATH is offline   Reply With Quote
Old 2013-09-12, 12:01   #3
pepi37
 
pepi37's Avatar
 
Dec 2011
After milion nines:)

32·151 Posts
Default

Prepare NPG file for Prime95
In excel table copy NPG contents ( row A)
( example)
2211 123456 (means --->) 2211*2^123456-1
Replace
2211( and one blank space) - very important
with
PRP=2211,2,
Result will be
PRP=2211,2,123456
Then in row B add formula
=A1&",-1" ( or change +1) if you need for proth
then pull cursor down, and result will be
PRP=2211,2,123456,-1 ( then copy to worktodo.txt)

Last fiddled with by pepi37 on 2013-09-12 at 12:03
pepi37 is offline   Reply With Quote
Old 2013-09-12, 12:11   #4
pinhodecarlos
 
pinhodecarlos's Avatar
 
"Carlos Pinho"
Oct 2011
Milton Keynes, UK

52·191 Posts
Default

Thank you both. How many workers can Prime95 detect?

Last fiddled with by pinhodecarlos on 2013-09-12 at 12:17
pinhodecarlos is online now   Reply With Quote
Old 2013-09-12, 17:35   #5
Citrix
 
Citrix's Avatar
 
Jun 2003

32×52×7 Posts
Default

Is the speed of Prime95 and cLLR 64 bit the same or is LLR better?
Citrix is offline   Reply With Quote
Old 2013-09-12, 18:15   #6
pepi37
 
pepi37's Avatar
 
Dec 2011
After milion nines:)

32·151 Posts
Default

Quote:
Originally Posted by Citrix View Post
Is the speed of Prime95 and cLLR 64 bit the same or is LLR better?
I didnot see any ( significant) difference, but that is just me :)
I just love Prime95 for two reason
1. it has nice GUI, and it removes candidate when finish it
2. it can be used for very fast PRP checking of one candidate :)
pepi37 is offline   Reply With Quote
Old 2013-09-12, 18:45   #7
Citrix
 
Citrix's Avatar
 
Jun 2003

32×52×7 Posts
Default

Quote:
Originally Posted by pepi37 View Post
I didnot see any ( significant) difference, but that is just me :)
I just love Prime95 for two reason
1. it has nice GUI, and it removes candidate when finish it
2. it can be used for very fast PRP checking of one candidate :)
Prime95 doing PRP is new information for me. I also like Prime95 since it can run multiple threads at once and can also do ECM and P-1 work which is very useful for low weight k's. No more creating 8 folders etc...
Citrix is offline   Reply With Quote
Old 2013-09-12, 18:51   #8
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

9,161 Posts
Default

P95 was doing PRP for ages. I've used to for near/quazi-repunits for over half a decade.

The only thing to remember that you still have to prove the prime, while with LLR your done at arrival.
Batalov is offline   Reply With Quote
Old 2013-09-12, 19:23   #9
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Cambridge (GMT/BST)

34·71 Posts
Default

You should bear in mind that some projects won't like prp residues instead of llr. That is probably the case for NPLB.

It would be nice if the changes to the gui/interface/threading were merged into llr. Since the llr gui is originally based on the prime95 gui I don't know how hard this would be.
henryzz is online now   Reply With Quote
Old 2013-09-12, 19:53   #10
pepi37
 
pepi37's Avatar
 
Dec 2011
After milion nines:)

32×151 Posts
Default

Quote:
Originally Posted by henryzz View Post
You should bear in mind that some projects won't like prp residues instead of llr. That is probably the case for NPLB.

It would be nice if the changes to the gui/interface/threading were merged into llr. Since the llr gui is originally based on the prime95 gui I don't know how hard this would be.

There is 32 bit LLR gui, but there is no 64bit LLR gui. And since 64 bit LLR is faster then 32 LLR it is shame :(

Also , when somebody will compile LLR with latest GWNUM Library?
I got 32 and 64 bit for Linux LLR and 32 bit LLR for Windows with latest GWNUM, but not have 64 bit for Windows :( ( dont know how to compile)
pepi37 is offline   Reply With Quote
Old 2013-09-12, 20:01   #11
Lennart
 
Lennart's Avatar
 
"Lennart"
Jun 2007

25·5·7 Posts
Default

Quote:
Originally Posted by pepi37 View Post
There is 32 bit LLR gui, but there is no 64bit LLR gui. And since 64 bit LLR is faster then 32 LLR it is shame :(

Also , when somebody will compile LLR with latest GWNUM Library?
I got 32 and 64 bit for Linux LLR and 32 bit LLR for Windows with latest GWNUM, but not have 64 bit for Windows :( ( dont know how to compile)
LLR Version 3.8.9 for MS Windows 64bit, CONSOLE APPLICATION


Lennart
Lennart is offline   Reply With Quote
Reply

Thread Tools


All times are UTC. The time now is 12:16.

Mon Nov 30 12:16:35 UTC 2020 up 81 days, 9:27, 4 users, load averages: 1.49, 1.42, 1.47

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.