mersenneforum.org  

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

Reply
 
Thread Tools
Old 2013-07-23, 14:08   #199
pepi37
 
pepi37's Avatar
 
Dec 2011
After milion nines:)

1,451 Posts
Default

Quote:
Originally Posted by rogue View Post
PFGW has supported AVX since version 3.6.2. It is almost always recommended to use the latest release.
Yes, I always download latest version , because there was number of candidates where LLR stops working. In that case PFGW is great choice and it never fail :)
pepi37 is online now   Reply With Quote
Old 2013-08-01, 07:35   #200
Antonio
 
Antonio's Avatar
 
"Antonio Key"
Sep 2011
UK

32×59 Posts
Default

Flag -f0 doesn't work in version 3.7.7, it recognises the command and then ignores it! See attached screenshot.
Attached Thumbnails
Click image for larger version

Name:	PFGW377.jpg
Views:	178
Size:	92.6 KB
ID:	10075  
Antonio is offline   Reply With Quote
Old 2013-08-01, 11:16   #201
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

2×32×11×19 Posts
Default

You are asking PFGW to do a full primality test, which is slower than a 3-PRP test. Drop the "-t" flag until you find a PRP. If the input file has not been sieved you ought to use the "-f" flag.

Last fiddled with by paulunderwood on 2013-08-01 at 11:18
paulunderwood is offline   Reply With Quote
Old 2013-08-01, 14:34   #202
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Cambridge (GMT/BST)

16FE16 Posts
Default

A n+1 or n-1 primality test works by factoring n+1 or n-1. You should be using n+1(-tp) not n-1(-t) for those numbers. Factoring can't be turned off for those tests for a reason. It shouldn't be trying to factor n with the command you used.
henryzz is online now   Reply With Quote
Old 2013-08-01, 14:42   #203
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

1110101100102 Posts
Default

Quote:
Originally Posted by henryzz View Post
A n+1 or n-1 primality test works by factoring n+1 or n-1. You should be using n+1(-tp) not n-1(-t) for those numbers. Factoring can't be turned off for those tests for a reason. It shouldn't be trying to factor n with the command you used.
He should use neither -t nor -tp. A PRP test is enough to discover a likely prime and is quicker. He can then use: -tp -q"candidate". Proving requires factoring of N-1 or N+1 to 33.33%. That is what the screenshot shows

pfgwdoc.txt

Quote:
-t Deterministic test.
This switch does not require any arguments. It will default to
-tm if not specified, but if specified, must be p, c, or m.
This option defaults to a N-1 test.
This is NOT a probable test.
You will want to use this mode whenever your number is easily
factorable when you subtract 1. (for example n!+1)
If the factorisation will be less then 33.33%, an F-strong test
will be performed.

-tp N+1 test.
uses the N+1 test to check whether the number is prime.
This is NOT a probable test.
You will want to use this mode whenever your number is easily
factorable when you add 1. (for example n!-1)
If the factorisation is less then 33.33%, an F-strong test
will be performed.

-tc Combined N+1 and N-1 test.
When you are short of factoring N-1, or N+1, and the other
has some factors, you can try this mode to achieve a prove.
This too is NOT a probable test.
If the factored portions are F1 and F2, with F1>F2, and 3*F1+F2 is
100% or more, pfgw will be able to complete the proof. If this total
is slightly below 100%, it should still be able to force a proof
with some square tests using the -x flag.

-tm Use optimal choices.
This option will make pfgw use a minimal of factors for the proof.

Last fiddled with by paulunderwood on 2013-08-01 at 14:48
paulunderwood is offline   Reply With Quote
Old 2013-08-01, 14:54   #204
Antonio
 
Antonio's Avatar
 
"Antonio Key"
Sep 2011
UK

32×59 Posts
Default

Quote:
Originally Posted by henryzz View Post
A n+1 or n-1 primality test works by factoring n+1 or n-1. You should be using n+1(-tp) not n-1(-t) for those numbers. Factoring can't be turned off for those tests for a reason. It shouldn't be trying to factor n with the command you used.
Thank's - I spotted that mistake just after posting and corrected it.


Quote:
He should use neither -t nor -tp. A PRP test is enough to discover a likely prime and is quicker He can then use: -tp -q"candidate". Proving requires factoring of N-1 or N+1 to 33%. That is what the screenshot shows
Thank you for the PRP hint Mr. Underwood, it does speed things up somewhat.
Antonio is offline   Reply With Quote
Old 2013-08-28, 09:50   #205
Citrix
 
Citrix's Avatar
 
Jun 2003

2×7×113 Posts
Default

One feature request for PFGW.

For numbers of the form k*b^n+-1 -- when is k is large or b is too large, srsieve cannot sieve them.

I am using the -f flag currently to sieve them.
Is it possible to use GPU to speed up the trial factoring?

Thanks!
Citrix is offline   Reply With Quote
Old 2013-08-28, 12:40   #206
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

2·32·353 Posts
Default

Quote:
Originally Posted by Citrix View Post
Is it possible to use GPU to speed up the trial factoring?!
Yes, but this is really something better suited to an external application.
rogue is offline   Reply With Quote
Old 2013-09-14, 18:25   #207
ATH
Einyen
 
ATH's Avatar
 
Dec 2003
Denmark

2×1,579 Posts
Default

I tried to run pfgw64.exe -V -tp on the new big wagstaff prps, but it doesn't create any intermediate savefiles and it is a very long job. I tried with Win64PFGW as well.

Is there anyway to force the save files? According to the pfgwdoc.txt there is not, and in that case it is a bug it is not creating them:
Quote:
6. Save/Resume is automatic. There is no user interaction.
For numbers large enough, the save file is written upon
early shutdown (^C or in WinPFGW, the stop button). Also
the save files are written every 20 minutes or so.

Last fiddled with by ATH on 2013-09-14 at 18:27
ATH is offline   Reply With Quote
Old 2013-09-14, 18:32   #208
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

2·32·11·19 Posts
Default

I am running "-tp" too. My o/c 4770k reset itself this morning. I lost 3 days of calculation on the new Wagstaffs. It is going to take 5-6 days to complete them.
paulunderwood is offline   Reply With Quote
Old 2013-09-14, 20:44   #209
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

2×32×353 Posts
Default

pfgw does not create temp files during primality tests. Unfortunately such an enhancement would be very difficult because of how pfgw as written.
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 13:56.


Mon Aug 2 13:56:39 UTC 2021 up 10 days, 8:25, 0 users, load averages: 4.08, 2.89, 2.36

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.