mersenneforum.org  

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

Reply
 
Thread Tools
Old 2017-02-20, 11:21   #1
Jean Penné
 
Jean Penné's Avatar
 
May 2004
FRANCE

23116 Posts
Default LLR Version 3.8.19 released

Hi All,

I uploaded today the version 3.8.19 of the LLR program.
You can find it now on my personal site :

http://jpenne.free.fr/

The 32bit Windows and Linux compressed binaries are available as usual.
The Linux 64bit binaries are also released here.
I uploaded also the complete source in a compressed file ; it may be used to
build the Mac-Intel executable and also the 64bit Windows binary.

The main new feature in this version is that MULTITHREADING is now available by setting -oThreadsPerTest=<number> or -t<number> in the command line.
Thanks to Serge Batalov who showed me how simple it was to implement this!

This LLR version is linked with the Version 28.12 of George Woltman's gwnum library.
George has fixed in this gwnum version, the bug which sometimes affected prime or PRP tests done using multithreading and FMA3.

When doing PRP tests, the Fermat test is now not strong by default, because it is time consuming...

Now, if the input file name (PgenInputFile parameter) has changed while working with the same .ini file, the PgenLine parameter is forced to one.
I made this update to fix the "CLLR bug" found by LaurV.

As usual, I need help to build the 32bit Mac Intel binary, and also the 64bit Mac Intel and Windows ones.
Please, inform me if you encountered any problem while using this new version.
Best Regards,
Jean

Last fiddled with by Jean Penné on 2017-02-20 at 11:34
Jean Penné is offline   Reply With Quote
Old 2017-02-20, 16:03   #2
IBethune
 
Nov 2010

1916 Posts
Default

Mac binaries are available from: https://ibethune.github.io/files/llr38j_mac.zip

Cheers

- Iain
IBethune is offline   Reply With Quote
Old 2017-02-20, 16:38   #3
Jean Penné
 
Jean Penné's Avatar
 
May 2004
FRANCE

3×11×17 Posts
Default

Quote:
Originally Posted by IBethune View Post
Mac binaries are available from: https://ibethune.github.io/files/llr38j_mac.zip

Cheers

- Iain
Many thanks, Iain!

Jean
Jean Penné is offline   Reply With Quote
Old 2017-02-20, 17:14   #4
rebirther
 
rebirther's Avatar
 
Sep 2011
Germany

252110 Posts
Default

http://www.bc-team.org/downloads.php?cat=7 for win64 console + GUI

Also sent the files to Jean.
rebirther is offline   Reply With Quote
Old 2017-02-20, 20:26   #5
Jean Penné
 
Jean Penné's Avatar
 
May 2004
FRANCE

3·11·17 Posts
Default All is available now!

Hi,

Thanks to Iain Bethune and to Rebirther, all LLR 3.8.19 binaries are now available.
Many thanks for your help and Best Regards,

Jean
Jean Penné is offline   Reply With Quote
Old 2017-02-21, 15:59   #6
ATH
Einyen
 
ATH's Avatar
 
Dec 2003
Denmark

2,969 Posts
Default

With LLR 3.8.19 2 of the 3 numbers that failed in 3.8.18 now give the correct residue with 1,2,3,4,5,6,7 and 8 threads. These were the 2 that used 512K FMA FFT:
64598*5^2318694-1
33333*7^1917000-1

But the last one I found at 384K FMA FFT still fails for 5 and 7 threads (on an 8core 5960X), but works for 1,2,3,4,6,8.

Code:
cllr64.exe -d -q"66666*5^1560000-1"
Base prime factor(s) taken : 5
Starting N+1 prime test of 66666*5^1560000-1
Using FMA3 FFT length 384K, Pass1=256, Pass2=1536, a = 3
66666*5^1560000-1 is not prime.  RES64: 7417FF24F2FBCEB9.  OLD64: 5C47FD6ED8F36C28  Time : 6067.581 sec.

cllr64.exe -d -t2 -q"66666*5^1560000-1"
Base prime factor(s) taken : 5
Starting N+1 prime test of 66666*5^1560000-1
Using FMA3 FFT length 384K, Pass1=256, Pass2=1536, 2 threads, a = 3
66666*5^1560000-1 is not prime.  RES64: 7417FF24F2FBCEB9.  OLD64: 5C47FD6ED8F36C28  Time : 3451.684 sec.

cllr64.exe -d -t3 -q"66666*5^1560000-1"
Base prime factor(s) taken : 5
Starting N+1 prime test of 66666*5^1560000-1
Using FMA3 FFT length 384K, Pass1=256, Pass2=1536, 3 threads, a = 3
66666*5^1560000-1 is not prime.  RES64: 7417FF24F2FBCEB9.  OLD64: 5C47FD6ED8F36C28  Time : 2476.677 sec.

cllr64.exe -d -t4 -q"66666*5^1560000-1"
Base prime factor(s) taken : 5
Starting N+1 prime test of 66666*5^1560000-1
Using FMA3 FFT length 384K, Pass1=256, Pass2=1536, 4 threads, a = 3
66666*5^1560000-1 is not prime.  RES64: 7417FF24F2FBCEB9.  OLD64: 5C47FD6ED8F36C28  Time : 1957.058 sec.

cllr64.exe -d -t5 -q"66666*5^1560000-1"
Base prime factor(s) taken : 5
Starting N+1 prime test of 66666*5^1560000-1
Using FMA3 FFT length 384K, Pass1=256, Pass2=1536, 5 threads, a = 3
66666*5^1560000-1 is not prime.  RES64: E1866A6384261F5E.  OLD64: A4933F2A8C725E17  Time : 1614.234 sec.

cllr64.exe -d -t6 -q"66666*5^1560000-1"
Base prime factor(s) taken : 5
Starting N+1 prime test of 66666*5^1560000-1
Using FMA3 FFT length 384K, Pass1=256, Pass2=1536, 6 threads, a = 3
66666*5^1560000-1 is not prime.  RES64: 7417FF24F2FBCEB9.  OLD64: 5C47FD6ED8F36C28  Time : 1336.336 sec.

cllr64.exe -d -t7 -q"66666*5^1560000-1"
Base prime factor(s) taken : 5
Starting N+1 prime test of 66666*5^1560000-1
Using FMA3 FFT length 384K, Pass1=256, Pass2=1536, 7 threads, a = 3
66666*5^1560000-1 is not prime.  RES64: 5715B163A3E04BBB.  OLD64: 0541142AEBA0E32E  Time : 1240.131 sec.

cllr64.exe -d -t8 -q"66666*5^1560000-1"
Base prime factor(s) taken : 5
Starting N+1 prime test of 66666*5^1560000-1
Using FMA3 FFT length 384K, Pass1=256, Pass2=1536, 8 threads, a = 3
66666*5^1560000-1 is not prime.  RES64: 7417FF24F2FBCEB9.  OLD64: 5C47FD6ED8F36C28  Time : 1048.900 sec.
ATH is offline   Reply With Quote
Old 2017-02-21, 17:47   #7
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

112×59 Posts
Default

Quote:
Originally Posted by ATH View Post
But the last one I found at 384K FMA FFT still fails for 5 and 7 threads (on an 8core 5960X), but works for 1,2,3,4,6,8.
Sigh. It may well be related to the previous bug. If my guess is correct, there is another bit of startup code that also needs a fix.
Prime95 is offline   Reply With Quote
Old 2017-02-22, 19:01   #8
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

1BE316 Posts
Default

Quote:
Originally Posted by Prime95 View Post
Sigh. It may well be related to the previous bug. .
The problem is what I thought it might be. I've uploaded new gwnum source for Jean.

Thanks for finding the problem.
Prime95 is offline   Reply With Quote
Old 2017-02-22, 22:05   #9
Jean Penné
 
Jean Penné's Avatar
 
May 2004
FRANCE

3×11×17 Posts
Default

Hi,

Many thanks to George! He fixed in gwnum 28.13, the FMA3 problem remaining while running a PRP test with 5 or 7 threads.
So, I updated on LLR 3.8.19 the source, and the Win32 and Linux binaries. I need help to update the Win64 and Mac Intel binaries with the same version of gwnum.

Regards,
Jean
Jean Penné is offline   Reply With Quote
Old 2017-02-22, 23:07   #10
AG5BPilot
 
AG5BPilot's Avatar
 
Dec 2011
New York, U.S.A.

6116 Posts
Default

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

Many thanks to George! He fixed in gwnum 28.13, the FMA3 problem remaining while running a PRP test with 5 or 7 threads.
So, I updated on LLR 3.8.19 the source, and the Win32 and Linux binaries. I need help to update the Win64 and Mac Intel binaries with the same version of gwnum.

Regards,
Jean
Would it be possible to release the fix as a 3.8.20 version of LLR? If the fixed version is released as 3.8.19, then there will be two versions of 3.8.19 out in the wild, one of which produces the correct results and one that produces erroneous results. That makes it very hard for us to tell if we're getting the correct results from participants.

Thank you!
AG5BPilot is offline   Reply With Quote
Old 2017-02-23, 07:25   #11
Jean Penné
 
Jean Penné's Avatar
 
May 2004
FRANCE

3×11×17 Posts
Default

Quote:
Originally Posted by AG5BPilot View Post
Would it be possible to release the fix as a 3.8.20 version of LLR? If the fixed version is released as 3.8.19, then there will be two versions of 3.8.19 out in the wild, one of which produces the correct results and one that produces erroneous results. That makes it very hard for us to tell if we're getting the correct results from participants.

Thank you!
Sorry, I did not think this necessary after only two days!
So, I shall build a 3.8.20 LLR Version...
When the upload will be complete for the source and all the binaries, I will then make the two previous "multithreaded " versions unavailable, because they are buggy.

Regards,
Jean
Jean Penné is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
LLR Version 3.8.20 released Jean Penné Software 30 2018-08-13 20:00
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 Version 3.8.9 released Jean Penné Software 37 2013-10-31 08:45
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 09:01.

Thu Oct 29 09:01:59 UTC 2020 up 49 days, 6:12, 1 user, load averages: 1.92, 1.75, 1.62

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.