mersenneforum.org  

Go Back   mersenneforum.org > Prime Search Projects > Sierpinski/Riesel Base 5

Reply
 
Thread Tools
Old 2008-11-23, 14:14   #111
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

11×577 Posts
Default

Quote:
Originally Posted by Siemelink View Post
Maybe. Is there more that I should do than to replace phrot.p3? My first example now gives PRP, but the second one still reports composite.

phrotp3 -b3 t17_b3.prp

Input 63063960488*3^5184-1 Actually testing 3723863802855912*1594323^398-1 (witness=3 401/896 limbs)
Klen>2 not supported for LLR residues
63063960488*3^5184-1 [-418304,450292,-649446,-387508] is composite LLR64=6c49bb5a5b6d4311. (t=0.94s)

Or phrotp3 -b3 t17_b3.prp

Input 63063960488*3^5184-1 Actually testing 3723863802855912*1594323^398-1 (witness=2 401/896 limbs)
63063960488*3^5184-1 [193024,-200289,-589860,-265982] is composite. (t=1.01s)

Thanks, Willem.
Fixed again. I only tested your first number, which passed, but didn't test your second number. The code had two multiplies that can cause an overflow. I fixed the one, presuming that it would resolve the error for both. I was wrong. I have now fixed the other as well. You can d/l from the aforementioned link.
rogue is offline   Reply With Quote
Old 2008-11-25, 00:29   #112
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA (GMT-5)

3×2,083 Posts
Default

So...given these errors, is it safe to assume that all numbers that Phrot gives a "Klen>2" error for will be reported as composite regardless of whether they actually are prime? I too am running the Riesel base 3 project and get these errors sporadically throughout the files that I'm testing; however, I'm using Linux and the new, fixed builds are for Windows only. In fact, due to this I am still stuck using Geoff's Linux build of Phrot 0.51 from a little while back, i.e. the version without checkpointing or any of that stuff...

Rogue, has building a Linux binary for Phrot become easier since when you and I tried to build one on my machine a while back? If so, then I need to worry about waiting for someone else to produce an x86 Linux version of version 0.52.
mdettweiler is offline   Reply With Quote
Old 2008-11-25, 13:29   #113
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

11·577 Posts
Default

Quote:
Originally Posted by mdettweiler View Post
So...given these errors, is it safe to assume that all numbers that Phrot gives a "Klen>2" error for will be reported as composite regardless of whether they actually are prime? I too am running the Riesel base 3 project and get these errors sporadically throughout the files that I'm testing; however, I'm using Linux and the new, fixed builds are for Windows only. In fact, due to this I am still stuck using Geoff's Linux build of Phrot 0.51 from a little while back, i.e. the version without checkpointing or any of that stuff...

Rogue, has building a Linux binary for Phrot become easier since when you and I tried to build one on my machine a while back? If so, then I need to worry about waiting for someone else to produce an x86 Linux version of version 0.52.
The Klen>2 message has no relationship to this issue.

As for building a linux binary, no. I think that the problems you were experiencing are related to something in your environment, such as the compiler.
rogue is offline   Reply With Quote
Old 2008-11-25, 16:16   #114
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA (GMT-5)

3·2,083 Posts
Default

Quote:
Originally Posted by rogue View Post
The Klen>2 message has no relationship to this issue.

As for building a linux binary, no. I think that the problems you were experiencing are related to something in your environment, such as the compiler.
Ah, I see. Well, as long as the Klen>2 message is unrelated to the missed PRP's, then I'll keep on using Phrot 0.51 for my testing until a Linux build for Phrot 0.52 becomes available.

*me nudges Geoff and/or Nugget
mdettweiler is offline   Reply With Quote
Old 2008-11-27, 02:06   #115
geoff
 
geoff's Avatar
 
Mar 2003
New Zealand

13·89 Posts
Default

Quote:
Originally Posted by mdettweiler View Post
*me nudges Geoff and/or Nugget
I have uploaded phrot 0.52 MinGW and Linux executables here.

How do you get it to go 28% faster nugget?
geoff is offline   Reply With Quote
Old 2008-11-27, 03:40   #116
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA (GMT-5)

3×2,083 Posts
Default

Quote:
Originally Posted by geoff View Post
I have uploaded phrot 0.52 MinGW and Linux executables here.

How do you get it to go 28% faster nugget?
Thanks a bunch!
mdettweiler is offline   Reply With Quote
Old 2008-12-04, 01:36   #117
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

11×577 Posts
Default phrot 0.60 released

I am releasing phrot version 0.60. There are a number of changes to this version, including:
  • Renamed source as phrot.c
  • Removed support for MODULAR_REDUCE_2 and MODULAR_REDUCE_3 as they weren't used. This code can still be found in glprov.c, which should be included with the distribution of phrot.
  • Removed old history from phrot.c
  • Support many more ABC file formats
  • Support some NewPGen file format
  • Default to -b=3 to always output LLR compatible residues.
  • Added "-d" option. Without it, phrot will not output lowest limbs after PRP test.
  • Added "-e" option to force error checking for all tests. Without -e phrot will only do error checking if k or b is a power of 2. This effectively removes the need for the error checking build of phrot.
  • Add "make clean" to makefile
  • Added a few new messages to catch issues that prevent phrot from performing a PRP test.

As part of the enhancements to support more ABC formats and some NewPGen formats, phrot can now be used with output from gcwsieve and from the SR5 project manual reservation page.

This distribution includes a Windows build that required CygWin.

If anyone runs into any problems, please let me know.

--Mark
Attached Files
File Type: zip phrot.zip (110.0 KB, 107 views)
rogue is offline   Reply With Quote
Old 2008-12-04, 05:42   #118
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA (GMT-5)

3·2,083 Posts
Default

Quote:
Originally Posted by rogue View Post
I am releasing phrot version 0.60. There are a number of changes to this version, including:
  • Renamed source as phrot.c
  • Removed support for MODULAR_REDUCE_2 and MODULAR_REDUCE_3 as they weren't used. This code can still be found in glprov.c, which should be included with the distribution of phrot.
  • Removed old history from phrot.c
  • Support many more ABC file formats
  • Support some NewPGen file format
  • Default to -b=3 to always output LLR compatible residues.
  • Added "-d" option. Without it, phrot will not output lowest limbs after PRP test.
  • Added "-e" option to force error checking for all tests. Without -e phrot will only do error checking if k or b is a power of 2. This effectively removes the need for the error checking build of phrot.
  • Add "make clean" to makefile
  • Added a few new messages to catch issues that prevent phrot from performing a PRP test.

As part of the enhancements to support more ABC formats and some NewPGen formats, phrot can now be used with output from gcwsieve and from the SR5 project manual reservation page.

This distribution includes a Windows build that required CygWin.

If anyone runs into any problems, please let me know.

--Mark
Cool! These features should come in quite handy, especially the NewPGen file support and default -b=3, at least for me personally.

Now all that's left before I can use the new version is to wait for someone to post a Linux build...
mdettweiler is offline   Reply With Quote
Old 2008-12-04, 17:34   #119
nuggetprime
 
nuggetprime's Avatar
 
Mar 2007
Austria

2×151 Posts
Default

On my linux machine I'm getting LLR64=000000.. for all numbers.
Also,the checkpointing slows things down somewhat... I suggest you get stuck with my 0.51 binaries.

--nuggetprime
nuggetprime is offline   Reply With Quote
Old 2008-12-04, 18:24   #120
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA (GMT-5)

3·2,083 Posts
Default

Quote:
Originally Posted by nuggetprime View Post
On my linux machine I'm getting LLR64=000000.. for all numbers.
Also,the checkpointing slows things down somewhat... I suggest you get stuck with my 0.51 binaries.

--nuggetprime
Hmm...maybe it would be better to, say, have Phrot write out its checkpoint data every 5 minutes or so, sort of like LLR does, instead of at every iteration?
mdettweiler is offline   Reply With Quote
Old 2008-12-05, 01:15   #121
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

11·577 Posts
Default

Quote:
Originally Posted by mdettweiler View Post
Hmm...maybe it would be better to, say, have Phrot write out its checkpoint data every 5 minutes or so, sort of like LLR does, instead of at every iteration?
It doesn't write it out for every iteration, only when the counter is updated.
rogue is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
PRPNET & Phrot discussion masser Sierpinski/Riesel Base 5 27 2010-09-08 03:10
Phrot announcements rogue Conjectures 'R Us 33 2010-01-22 19:39
LLR/PRP/phrot/pfgw:- Pick A Range masser Sierpinski/Riesel Base 5 8 2009-08-18 19:44
Using Phrot For LLRNET Reservations thommy Sierpinski/Riesel Base 5 1 2008-11-03 14:53
Programmer needed to write networked Phrot app! mdettweiler Programming 0 2008-04-07 21:25

All times are UTC. The time now is 09:15.


Sat Jul 17 09:15:10 UTC 2021 up 50 days, 7:02, 1 user, load averages: 1.37, 1.63, 1.60

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