mersenneforum.org  

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

Reply
 
Thread Tools
Old 2016-06-03, 20:39   #243
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

2·11·269 Posts
Default

Quote:
Originally Posted by ATH View Post
The "-tc" options gives:
Code:
is Fermat and Lucas PRP!
which means the N-1 options I was wondering about has to be Fermat PRP, I guess base 3?
That is the default base. I think it would only give PRP if you can't use the base, but I don't know how to verify that.
rogue is offline   Reply With Quote
Old 2016-06-03, 20:46   #244
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

2·11·269 Posts
Default

pfgw 3.8.1 is now released. You can find Windows and Mac builds over at sourceforge.

The main change in this release is the support of a new file format I call "DECIMAL". This is the format I suggested over in the Primes in π thread. The distribution has a text file explaining the file format. The main reason I created this was to slim down the size of files input to pfgw for projects like Primes in π, which also includes Smarandache-Wellin and Copeland-Erdos searches.

FYI, the files on sourceforge only have 64-bit builds. If you absolutely need a 32-bit build, please let me know.

Last fiddled with by rogue on 2016-06-03 at 20:56
rogue is offline   Reply With Quote
Old 2016-06-03, 21:03   #245
ATH
Einyen
 
ATH's Avatar
 
Dec 2003
Denmark

55748 Posts
Default

When you run the "N+1" test it does run 2-3 tests depending on the number before the last one gives: "Lucas PRP". I looked in the code but cannot find where the Lucas PRP test takes place.

Do you know or can quickly find out where that is? Maybe then the Lucas PRP could be a switch option like Fermat PRPs? The advantage is that combined with Fermat PRP test it would almost be a BPSW test (Fermat instead of Miller-Rabin test).

Last fiddled with by ATH on 2016-06-03 at 21:09
ATH is offline   Reply With Quote
Old 2016-06-03, 22:41   #246
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

134368 Posts
Default

Quote:
Originally Posted by ATH View Post
When you run the "N+1" test it does run 2-3 tests depending on the number before the last one gives: "Lucas PRP". I looked in the code but cannot find where the Lucas PRP test takes place.

Do you know or can quickly find out where that is? Maybe then the Lucas PRP could be a switch option like Fermat PRPs? The advantage is that combined with Fermat PRP test it would almost be a BPSW test (Fermat instead of Miller-Rabin test).
It isn't clear to me either. It seems that the switch with -t determines what it outputs. The primality test code in pfgw is pretty nasty stuff and I've not really touched the original code.
rogue is offline   Reply With Quote
Old 2016-07-08, 20:18   #247
MrRepunit
 
MrRepunit's Avatar
 
Mar 2011
Germany

23×11 Posts
Default

Hi. When running pfgw-3.7.10 on ubuntu 14.04 (64 bit) I get for some numbers a SIGILL error.
I tested on a Intel Core i7 920 and a Core i7 6700K.
Also version 3.8.1 for Windows is affected.

The problem seems to be related to the POWMOD function .
If you start the following minimal script in pfgw you get the error at the end of the POWMOD iterations.
Code:
SCRIPT
DIM result,0
POWMOD result, 10, (10^86453-1)/9, 22944*10^86454-229439
MrRepunit is offline   Reply With Quote
Old 2016-07-25, 01:41   #248
Angular
 
Aug 2002

2·33 Posts
Default

Quote:
Originally Posted by rogue View Post
I have released PFGW 3.4.0. You can d/l it from here.

Here are the highlights of this release:
[list][*]Upgraded to gwnum v26.2[*]Upgraded to use GMP 5.0[*]First 64-bit release of PFGW. Both 32-bit and 64-bit distributed together.
..
A 64-bit build for Linux has not been included as it has not been built yet. This is related my last note above. I need to make it easier for the average person to build PFGW. It is just too difficult to do on *nix, now more so than ever since it needs to build both with a single makefile.
What does the Linux build setup look like? Perhaps we can simply with limited functionality to get it going again.
Angular is offline   Reply With Quote
Old 2016-07-25, 13:58   #249
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

2·11·269 Posts
Default

Quote:
Originally Posted by Angular View Post
What does the Linux build setup look like? Perhaps we can simply with limited functionality to get it going again.
Steven Harvey hasn't had as much time. I could nudge him again.

As for building on Linux, it shouldn't be too hard. You need to build GMP and will need to install the gwnum components. There is a makefile that is up to date, but might need some changes to work on your specific Linux implementation. You can get code from sourceforge and from there, send me e-mails to help you thru the build process.
rogue is offline   Reply With Quote
Old 2016-07-26, 01:03   #250
Angular
 
Aug 2002

2·33 Posts
Default

Thanks, yes please ask Steven I would appreciate that. I'm sure he could do a much better job that I.
I might be able to help some with the building although I am by no means a developer. Should I use the default gcc 4.8.x from CentOS 7.1 64b or the latest stable v5.4? (other distros are available as well)

Given the newer GW libraries available would you guess a double digit performance increase is possible? (pfgw 3.7.1 vs 3.8.1 9 months)

I don't see any of the PFGW source code on sourceforge: https://sourceforge.net/projects/ope...?source=navbar
Is this the latest gwnum from 2011? https://github.com/rudimeier/mprime/tree/master/gwnum
GMP 6.0.0 looks to be in the centos epel repos, or 6.1.1 from the project website: https://gmplib.org/

Last fiddled with by Angular on 2016-07-26 at 01:06
Angular is offline   Reply With Quote
Old 2016-07-26, 01:08   #251
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

2×11×269 Posts
Default

Quote:
Originally Posted by Angular View Post
Thanks, I might be able to help some with the building although I am by no means a developer. Should I use the default gcc 4.8.x from CentOS 7.1 64b or the latest stable v5.4?

Given the newer GW libraries available would you guess a double digit performance increase is possible? (pfgw 3.7.1 vs 3.8.1 9 months)

I don't see any of the PFGW source code on sourceforge: https://sourceforge.net/projects/ope...?source=navbar

Is this the latest gwnum from 2011? https://github.com/rudimeier/mprime/tree/master/gwnum

GMP 6.0.0 looks to be in the centos epel repos, or 6.1.1 from the project website: https://gmplib.org/
You can probably use either gcc.

I do not know what improvements were made to gwnum, but I don't think they were that significant.

Use this to check out the source code: svn checkout svn://svn.code.sf.net/p/openpfgw/code/ openpfgw-code

In the gwnum package directory I believe it tells you where to d/l the latest gwnum.

Use can use GMP 6.1.1, but you will have to build it on your own.
rogue is offline   Reply With Quote
Old 2016-12-05, 19:02   #252
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

2×11×269 Posts
Default

Unless anyone asks otherwise, I am going to remove ABCZ (aka PrZ) file support in the next release. This is in the pfgw documentation:

Code:
     This is a highly compressed ABCD (or NewPGen) format file.  The file
     is compressed considerably more with the PrZ format, than it is with
     PkZip (or RAR/LHA/ACE2/SITX), and it is "processable" by PFGW in the 
     compressed form.  At this writing, the PrZ format is still a work in 
     progress, so the code itself will (may) change some.
I don't think that file sizes are much of a concern today (compared to more than 10 years ago when this code was written).
rogue is offline   Reply With Quote
Old 2016-12-06, 15:03   #253
Xyzzy
 
Xyzzy's Avatar
 
"Mike"
Aug 2002

1E1E16 Posts
Default

http://xkcd.com/1172/
Xyzzy is offline   Reply With Quote
Reply

Thread Tools


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 13:22.

Mon Sep 28 13:22:07 UTC 2020 up 18 days, 10:33, 1 user, load averages: 2.13, 2.34, 2.51

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.