mersenneforum.org  

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

Reply
Thread Tools
Old 2022-12-14, 01:31   #529
storm5510
Random Account
 
storm5510's Avatar
 
Aug 2009
Not U. + S.A.

3×953 Posts
Default

***WARNING! file input.txt may have already been fully processed.

It is OK to display this but when it causes a full abort then it is a different story.
storm5510 is online now   Reply With Quote
Old 2022-12-14, 13:32   #530
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

734110 Posts
Default

Quote:
Originally Posted by numberMX View Post
When I go to the Sourceforge page and download `pfgw_mac_4.0.1.7z`, then extract and run it...

Code:
> ./pfgw64 -v
PFGW Version 3.8.1.64BIT.20160603.Mac_Dev [GWNUM 28.6]
...it downloads version 3.8.1, not 4.0.1. It seems like the 4.0.1 download for Mac does not actually have version 4.0.1 in it.
I forgot to commit the source file with the version number before I did a build. I'm fairly certain it is 4.0.1. I will rebuild with the latest gwnum and update the version as soon as I can.
rogue is online now   Reply With Quote
Old 2022-12-14, 13:32   #531
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

3×2,447 Posts
Default

Quote:
Originally Posted by storm5510 View Post
***WARNING! file input.txt may have already been fully processed.

It is OK to display this but when it causes a full abort then it is a different story.
I do not know what you mean by "full abort".
rogue is online now   Reply With Quote
Old 2022-12-14, 16:30   #532
storm5510
Random Account
 
storm5510's Avatar
 
Aug 2009
Not U. + S.A.

3·953 Posts
Default

Quote:
Originally Posted by rogue View Post
I do not know what you mean by "full abort".
A full stop and exit to the command prompt.

The error was of my own doing. I didn't have the "$" in the input terms.
storm5510 is online now   Reply With Quote
Old 2022-12-21, 18:32   #533
a1call
 
a1call's Avatar
 
"Rashid Naimi"
Oct 2015
Remote to Here/There

2×11×109 Posts
Default

Hello,

* Is there a way to set a desired base for N-1 deterministic tests?

I went through the documentation and it only specifies -b switch for PRP tests.
I would like to use the same feature for N-1 deterministic tests so that I can have different instances for different bases run simultaneously.
Is there a way to do that?

Thanks in advance.
a1call is offline   Reply With Quote
Old 2022-12-21, 20:43   #534
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

3·2,447 Posts
Default

Quote:
Originally Posted by a1call View Post
Hello,

* Is there a way to set a desired base for N-1 deterministic tests?

I went through the documentation and it only specifies -b switch for PRP tests.
I would like to use the same feature for N-1 deterministic tests so that I can have different instances for different bases run simultaneously.
Is there a way to do that?

Thanks in advance.
Not at this time. What is the concern? If n-1 says "not prime", then another base isn't going to say it is. If n-1 says "is prime", then the possibility that another base yields "not prime" could only happen if there is a bug.

You might be able to use llr to prove primality. It uses a different algorithm than pfgw.
rogue is online now   Reply With Quote
Old 2022-12-21, 20:56   #535
a1call
 
a1call's Avatar
 
"Rashid Naimi"
Oct 2015
Remote to Here/There

2·11·109 Posts
Default

My understanding from N-1 Deterministic testing is that we test a found PRP in different bases until we find a base which satisfices:
PRP | base^(PRP-1)-1
&&
PRP !| base^((PRP-1)/q)-1

for all the prime factors q of PRP-1

Blindfolded Trial and error procedure of going through different bases in random is time consuming and it could be a time saver if we could have different instances for different bases run simultaneously for the same PRP.

Thank you for the reply.
a1call is offline   Reply With Quote
Old 2022-12-22, 09:09   #536
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

5·937 Posts
Default

Quote:
Originally Posted by a1call View Post
My understanding from N-1 Deterministic testing is that we test a found PRP in different bases until we find a base which satisfices:
PRP | base^(PRP-1)-1
&&
PRP !| base^((PRP-1)/q)-1

for all the prime factors q of PRP-1

Blindfolded Trial and error procedure of going through different bases in random is time consuming and it could be a time saver if we could have different instances for different bases run simultaneously for the same PRP.

Thank you for the reply.
You state https://en.wikipedia.org/wiki/Lucas_primality_test

PFGW uses the BLS "improvement": https://primes.utm.edu/prove/prove3.html

Last fiddled with by paulunderwood on 2022-12-22 at 09:13
paulunderwood is offline   Reply With Quote
Old 2022-12-22, 13:46   #537
a1call
 
a1call's Avatar
 
"Rashid Naimi"
Oct 2015
Remote to Here/There

2×11×109 Posts
Default

Yes, I am aware that PFGW uses more advanced algorithms (which I don’t understand), but I am under the impression that the software still attempts some hit-and-miss on different bases to satisfy some conditions. If so, it would still be a time saver if we could run different instances processing different bases, simultaneously.
Currently I have been running a -t test for quite a few days on a slow computer.
The console states that it has tried N-1 for bases 11, 17, 23, and N+1 using discriminat 31.
Thank you for the reply.
ETA I stand corrected about referring to Lucas test s as N-1 test.

Last fiddled with by a1call on 2022-12-22 at 14:02
a1call is offline   Reply With Quote
Old 2022-12-22, 22:08   #538
Citrix
 
Citrix's Avatar
 
Jun 2003

22×11×37 Posts
Default

Wanted to report a bug.
Code:
pfgw64.exe -q70368727400449 -f{ 2116,+-} -l -b11
PFGW Version 3.7.7.64BIT.20130722.Win_Dev [GWNUM 27.11]

Output logging to file pfgw.out
Sieve re-allocated with a limit of 657666906400000.
70368727400449 factors prime!: 70368727400449
70368727400449=8388607*8388607
It does not factor when there is a space after "f{ "

Last fiddled with by Citrix on 2022-12-22 at 22:10
Citrix is offline   Reply With Quote
Old 2022-12-23, 00:29   #539
S485122
 
S485122's Avatar
 
"Jacob"
Sep 2006
Brussels, Belgium

2×977 Posts
Default

Quote:
Originally Posted by Citrix View Post
Wanted to report a bug.
...
It does not factor when there is a space after "f{ "
Don't ask for to lax parsing rules. After a time the program will not need you any more to do what your supposed to ask it to do. Spaces are important most of the time. And you should have written :
Quote:
It does not factor when there is a space after "f{"
(you put a space after the curly brace :;-)
S485122 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.1 has been released rogue Software 5 2009-08-10 01:43
PFGW 3.1.0 has been Released rogue Software 25 2009-07-21 18:13

All times are UTC. The time now is 14:03.


Fri Jul 7 14:03:49 UTC 2023 up 323 days, 11:32, 0 users, load averages: 1.22, 1.08, 1.11

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

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎𝜍 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔