mersenneforum.org  

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

Reply
 
Thread Tools
Old 2022-10-17, 19:24   #1
Jean Penné
 
Jean Penné's Avatar
 
May 2004
FRANCE

27016 Posts
Default LLR Version 4.0.3 released.

Hi All,

You can find the new Version 4.0.3 now on my personal site :

http://jpenne.free.fr/

The 32bit and 64bit Windows compressed binaries are available as usual.
The Linux 64bit binary is also released here.
The 64bit Mac and 32bit Linux binaries are not yet uploaded here due to technical difficulties...

I uploaded also the complete source in a compressed file.

What is new in this version :

I added two new ABC formats, principally to help PRP searchers.
- k*b^n+c format with k, b, c fixed, for example : ABC 22*17^n+13
- (k*b^n+c)/d format with k, b, c, d fixed, for example : ABC (1*16^n+619)/5
- In Proth or LLR tests, even values of k yield a false result...
These bugs are now fixed.

Please, inform me if you encountered any problem while using this new version.
Best Regards,
Jean
Jean Penné is offline   Reply With Quote
Old 2022-10-21, 18:52   #2
Jean Penné
 
Jean Penné's Avatar
 
May 2004
FRANCE

24·3·13 Posts
Default MAC OS binary available now.

Hi,

I uploaded to-day the binary for MacIntel / MAC OS X 64bit.
Best Regards,

Jean
Jean Penné is offline   Reply With Quote
Old 2022-10-21, 19:27   #3
sweety439
 
"99(4^34019)99 palind"
Nov 2016
(P^81993)SZ base 36

47·79 Posts
Default

Quote:
Originally Posted by Jean Penné View Post
I added two new ABC formats, principally to help PRP searchers.
- k*b^n+c format with k, b, c fixed, for example : ABC 22*17^n+13
- (k*b^n+c)/d format with k, b, c, d fixed, for example : ABC (1*16^n+619)/5
- In Proth or LLR tests, even values of k yield a false result...
These bugs are now fixed.
Well, your examples ... you seems to saw my data for minimal primes!!!

22*17^n+13 is the family 15{0}D in base 17, which has the first (probable) prime 15(0^24325)D (= 22*17^24326+13), which is the 10404th "base 17 minimal prime", see https://github.com/xayahrainie4793/q.../main/kernel17

(1*16^n+619)/5 is the family {3}AF in base 16, which has the first (probable) prime (3^116137)AF (= (1*16^116139+619)/5), which is the 2347th "base 16 minimal prime", see https://github.com/xayahrainie4793/q.../main/kernel16

You can also see my article for more information.
sweety439 is offline   Reply With Quote
Old 2022-10-23, 18:21   #4
Jean Penné
 
Jean Penné's Avatar
 
May 2004
FRANCE

27016 Posts
Default

Quote:
Originally Posted by sweety439 View Post
Well, your examples ... you seems to saw my data for minimal primes!!!

22*17^n+13 is the family 15{0}D in base 17, which has the first (probable) prime 15(0^24325)D (= 22*17^24326+13), which is the 10404th "base 17 minimal prime", see https://github.com/xayahrainie4793/q.../main/kernel17

(1*16^n+619)/5 is the family {3}AF in base 16, which has the first (probable) prime (3^116137)AF (= (1*16^116139+619)/5), which is the 2347th "base 16 minimal prime", see https://github.com/xayahrainie4793/q.../main/kernel16

You can also see my article for more information.
I am sorry, but in fact, I knew nothing about your work, until receiving your post.
But, around a month ago, I received an e-mail from a professor at Bruxelles.
He ask me questions to know if LLR program could help him while searching for first PRP in series of chains of characters interpreted in base b positional numeration and being the concatenation three chains s1, s and s2
s1 and s2 are small chains and s is the repetition of n characters c, with c a base b digit, so 0 <= c <= b-1 and n may be large.
Indeed, his domain of interest is near yours, and the examples he gave to me are present in your data.
I hope this explanation will be satisfactory for you and I thank you for the information you sent to me about your work, because I am now interested to know more about it.

Best Regards,
Jean
,
Jean Penné is offline   Reply With Quote
Old 2023-02-08, 19:09   #5
Jean Penné
 
Jean Penné's Avatar
 
May 2004
FRANCE

27016 Posts
Default A warning for LLR users testing k*b^n+/-1 numbers.

Hello to all,

If you are testing k*b^n-1 or k*b^n+1 numbers using an LLR version at least 4.0.0, please take care to set the option -oUseCharCode=1
This is because I added the mask 0x100 to allow the test of 2k.b^n-3 after a positive result, if wanted by the user.
Unfortunately, this mask is always set by srsieve program in the NewPGen header, causing an unwanted second test which, if is it negative, (which is almost always the case) prevents the first positive result to be registered in the .res file...
This mask will be changed in next LLR release.

Sorry for this drawback and Best Regards,

Jean
Jean Penné is offline   Reply With Quote
Old 2023-03-26, 15:45   #6
storm5510
Random Account
 
storm5510's Avatar
 
Aug 2009
Not U. + S.A.

54538 Posts
Default

Quote:
Originally Posted by Jean Penné View Post
Hi All,

You can find the new Version 4.0.3 now on my personal site :

http://jpenne.free.fr/...
I have found this release to be far faster than any before. I don't use it often now. Still, I am pleased with it.
storm5510 is online now   Reply With Quote
Old 2023-05-01, 21:34   #7
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

3×2,447 Posts
Default

I ran into an interesting problem with llr 4.0.3.

It was consistently choosing:

Code:
Base factorized as : 2*19
Base prime factor(s) taken : 19
Starting N-1 prime test of 197361*38^197361+1
Using zero-padded FMA3 FFT length 128K, Pass1=512, Pass2=256, clm=2, a = 3
for base 38 Cullens such as 197361*38^197361+1, but when it switched bases it consistently choose a different FFT

Code:
Current FFT beeing too near the limit, next FFT length is forced...
Starting Proth prime test of 158389*40^158389+1
Using generic reduction FMA3 FFT length 100K, Pass1=320, Pass2=320, clm=4, a = 3
for base 40 Cullens like this: 158389*40^158389+1.

On another computer running llr 3.8.23 base 40 is still selecting the zero-padded FFT.

The reason I bring this up is that the zero-padded FFT was completing tests in about 550 seconds, but the generic FFT is taking 4x as long even though the base 38 numbers are larger than the base 40 numbers being tested.

I wonder if there is a problem in the FFT selection logic. This is on a 10-core Intel Core i9 iMac released in 2020.

Last fiddled with by rogue on 2023-05-01 at 21:34
rogue is online now   Reply With Quote
Old 2023-05-02, 14:45   #8
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Liverpool (GMT/BST)

3×23×89 Posts
Default

Could it be converting it to base 2 with a very large k(which would need a generic FFT)?
henryzz is offline   Reply With Quote
Old 2023-05-02, 17:46   #9
Happy5214
 
Happy5214's Avatar
 
"Alexander"
Nov 2008
The Alamo City

99110 Posts
Default

Quote:
Originally Posted by henryzz View Post
Could it be converting it to base 2 with a very large k(which would need a generic FFT)?
Given that it's running a Proth test, that's likely
Happy5214 is offline   Reply With Quote
Old 2023-05-31, 01:54   #10
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
San Diego, Calif.

101000000111012 Posts
Default a small (useful) patch to LLR 4.0.3

Quote:
Originally Posted by Jean Penné View Post
Hi All,

You can find the new Version 4.0.3 now on my personal site :

http://jpenne.free.fr/

Please, inform me if you encountered any problem while using this new version.
Best Regards,
Jean
@Jean -

I have added a rough hack that deals with the special case of Phi(3,-b^n) input for N-1 test in Llr.c
Short summary:
I. N = Phi(3, -b^n) = b2n - bn + 1, so I use the existing pattern (ABC $a^$b-$a^$c+1) to enter such candidates
ABC $a^$b-$a^$c+1
40301 16384 8192
93500 65536 32768
96873 131072 65536


II. Currently these are treated as a general number so although they are parallelized, the result is very slow. We can internally identify this condition as "if (format == ABCDN && n == ndiff)"

III. Observe that b3n + 1 = (b2n - bn + 1)(bn + 1), so I can use this fast DWT modulus, with one final mod(N). This is very similar to the Gaussian-Mersenne and Gaussian-Eisenstein code branches. The patch is attached but I simply plugged a couple of places - Jean, because you know the intricacies of your source much better, would you please do a proper treatment of the place where I added "if (0 &&...)"

IV. the results of typical unit testing are attached too (three cases).

P.S. This is of course useful for N-1 proving of the new 11,8XX,XXX-decimal-digit cyclotomic monster in mere 14 hours on 24 threads, not in ~10 days on 32 threads (with default LLR, generic zero-padded FFT of huge size, e,g, 4608K).
Attached Files
File Type: txt Llr_cyclo_unit_tests_outputs.txt (3.1 KB, 20 views)
File Type: txt Llr.c.patch.txt (3.7 KB, 13 views)
Batalov is offline   Reply With Quote
Old 2023-06-01, 07:37   #11
Jean Penné
 
Jean Penné's Avatar
 
May 2004
FRANCE

24×3×13 Posts
Default

Quote:
Originally Posted by Batalov View Post
@Jean -

I have added a rough hack that deals with the special case of Phi(3,-b^n) input for N-1 test in Llr.c
Short summary:
I. N = Phi(3, -b^n) = b2n - bn + 1, so I use the existing pattern (ABC $a^$b-$a^$c+1) to enter such candidates
ABC $a^$b-$a^$c+1
40301 16384 8192
93500 65536 32768
96873 131072 65536


II. Currently these are treated as a general number so although they are parallelized, the result is very slow. We can internally identify this condition as "if (format == ABCDN && n == ndiff)"

III. Observe that b3n + 1 = (b2n - bn + 1)(bn + 1), so I can use this fast DWT modulus, with one final mod(N). This is very similar to the Gaussian-Mersenne and Gaussian-Eisenstein code branches. The patch is attached but I simply plugged a couple of places - Jean, because you know the intricacies of your source much better, would you please do a proper treatment of the place where I added "if (0 &&...)"

IV. the results of typical unit testing are attached too (three cases).

P.S. This is of course useful for N-1 proving of the new 11,8XX,XXX-decimal-digit cyclotomic monster in mere 14 hours on 24 threads, not in ~10 days on 32 threads (with default LLR, generic zero-padded FFT of huge size, e,g, 4608K).
Hi Serge,

I applied your patch yesterday and tested it on your three samples. It works and seems even to be faster on Linux Ubuntu 64 bits with an FMA3 FFT!
I did not apply your "if(0 &&...) adding, but only set the default for NextFFTifNear option to FALSE instead of TRUE.
Many congrats for your work on LLR, for your last success, and Best Regards,
Jean
Jean Penné is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
LLR version 4.0.0 released. Jean Penné Software 16 2021-10-29 22:21
LLR version 3.8.24 released. Jean Penné Software 60 2021-05-02 15:23
LLR Version 3.8.15 released Jean Penné Software 28 2015-08-04 04:51
LLR Version 3.8.11 released Jean Penné Software 37 2014-01-29 16:32
llr 3.8.2 released as dev-version opyrt Prime Sierpinski Project 11 2010-11-18 18:24

All times are UTC. The time now is 13:57.


Fri Jul 7 13:57:33 UTC 2023 up 323 days, 11:26, 0 users, load averages: 0.90, 1.13, 1.15

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.

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