mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software

Reply
 
Thread Tools
Old 2011-09-25, 18:21   #78
Mini-Geek
Account Deleted
 
Mini-Geek's Avatar
 
"Tim Sorbera"
Aug 2006
San Antonio, TX USA

17·251 Posts
Default

Quote:
Originally Posted by rogue View Post
I fixed a few bugs from 3.5.0 (ones that I introduced):
  • Fixed a bug in trivial factoring as primeserver would return 3 when calling the new ByIndex() function with a 1.
  • Fixed a bug with using ABC files and primorials as primeserver didn't re-initialize after processing the first line.
  • Fixed a bug with the p() and nextprime() functions when used in scripts.

I strongly recommend that you get 3.5.1 (which is still a beta BTW) in case you are trying to use 3.5.0.

Right now only the Windows build is available. I hope to get the Mac and Linux ones up later today.
I get a crash in 3.5.1, apparently when I use the p(n) function (from the command line, GUI, or from an ABC2 file). E.g. this makes it crash: "pfgw32 -q349*p(1)^5-1".

Last fiddled with by Mini-Geek on 2011-09-25 at 18:21
Mini-Geek is offline   Reply With Quote
Old 2011-09-25, 20:02   #79
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

11×577 Posts
Default

Quote:
Originally Posted by Mini-Geek View Post
I get a crash in 3.5.1, apparently when I use the p(n) function (from the command line, GUI, or from an ABC2 file). E.g. this makes it crash: "pfgw32 -q349*p(1)^5-1".
This is already fixed. 3.5.2 will be posted tomorrow.
rogue is offline   Reply With Quote
Old 2011-09-27, 12:42   #80
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

11·577 Posts
Default

Quote:
Originally Posted by rogue View Post
This is already fixed. 3.5.2 will be posted tomorrow.
I have posted 3.5.2 patching the known issues.
rogue is offline   Reply With Quote
Old 2011-09-27, 15:27   #81
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

11·577 Posts
Default

A small bug was discovered in the nextprime function. I have re-released 3.5.2 to fix it. No other changes were made.
rogue is offline   Reply With Quote
Old 2011-09-30, 02:21   #82
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

22×23×103 Posts
Default

Oh, @#$!

I've used 3.5.0 with scr.txt to start a couple bases (R291, S381). They were royally screwed. A huge bunch of small composites (e.g. 2*291^1-1) "pass" both PRP and the N+1 test and get into pl_prime.txt.

Was this fixed in 3.5.2? I am switching back to 3.4.9, better safe than sorry. (of course, many of the k values that passed "as primes at n=1 with 3.5.0" get other small primes, but a significant portion don't; the whole script has to be rerun.)
Batalov is offline   Reply With Quote
Old 2011-10-08, 13:36   #83
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

11×577 Posts
Default

I've posted 3.5.5. Testing has shown that known problems are resolved. Batalov, can you do a little test to see if it works correctly for those two bases?
rogue is offline   Reply With Quote
Old 2011-10-08, 19:54   #84
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

100101000001002 Posts
Default

Will do.
Batalov is offline   Reply With Quote
Old 2011-10-08, 21:00   #85
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

250416 Posts
Default

Looks good now.

I tested on R291, S381 (so PRP and both N+1 and N-1 on small inputs were in use) - on linux64 and on Windows (both GUI and plain). The outputs were correct.
Batalov is offline   Reply With Quote
Old 2011-10-08, 22:58   #86
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

11·577 Posts
Default

Quote:
Originally Posted by Batalov View Post
Looks good now.

I tested on R291, S381 (so PRP and both N+1 and N-1 on small inputs were in use) - on linux64 and on Windows (both GUI and plain). The outputs were correct.
Thanks.
rogue is offline   Reply With Quote
Old 2011-10-09, 07:38   #87
Antonio
 
Antonio's Avatar
 
"Antonio Key"
Sep 2011
UK

32×59 Posts
Default

Rogue,
There appears to be a bug in the command line option -f,
choose any value other than 100 and the software defaults to trial factoring to 4000000000 (tried 125, 110,95).
Using PFGW 3.5.5 win32 GUI
Command line: -f100 -tp in.txt
(wanted to use -f125)
Noticed when testing 19081#*2^19081-1
Antonio is offline   Reply With Quote
Old 2011-10-09, 13:17   #88
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

11×577 Posts
Default

Quote:
Originally Posted by Antonio View Post
Rogue,
There appears to be a bug in the command line option -f,
choose any value other than 100 and the software defaults to trial factoring to 4000000000 (tried 125, 110,95).
Using PFGW 3.5.5 win32 GUI
Command line: -f100 -tp in.txt
(wanted to use -f125)
Noticed when testing 19081#*2^19081-1
Thanks for the bug report. I'll look into it.
rogue is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
A possible bug in LLR/PFGW while using GWNUM (no bug in P95) Batalov Software 77 2015-04-14 09:01
PFGW 3.2.0 has been Released rogue Software 94 2010-09-14 21:39
PFGW 3.2.3 has been Released rogue Software 10 2009-10-28 07:07
PFGW 3.2.2 has been Released rogue Software 20 2009-08-23 12:14
PFGW 3.2.1 has been released rogue Software 5 2009-08-10 01:43

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


Fri Jul 16 11:12:35 UTC 2021 up 49 days, 8:59, 1 user, load averages: 1.03, 1.31, 1.37

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.