mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Software (https://www.mersenneforum.org/forumdisplay.php?f=10)
-   -   LLR Version 3.8.19 released (https://www.mersenneforum.org/showthread.php?t=22049)

Jean Penné 2017-02-20 11:21

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 :

[url]http://jpenne.free.fr/[/url]

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

IBethune 2017-02-20 16:03

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

Cheers

- Iain

Jean Penné 2017-02-20 16:38

[QUOTE=IBethune;453325]Mac binaries are available from: [url]https://ibethune.github.io/files/llr38j_mac.zip[/url]

Cheers

- Iain[/QUOTE]

Many thanks, Iain!

Jean

rebirther 2017-02-20 17:14

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

Also sent the files to Jean.

Jean Penné 2017-02-20 20:26

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

ATH 2017-02-21 15:59

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.
[/CODE]

Prime95 2017-02-21 17:47

[QUOTE=ATH;453400]
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.[/QUOTE]

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 2017-02-22 19:01

[QUOTE=Prime95;453407]Sigh. It may well be related to the previous bug. .[/QUOTE]

The problem is what I thought it might be. I've uploaded new gwnum source for Jean.

Thanks for finding the problem.

Jean Penné 2017-02-22 22:05

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

AG5BPilot 2017-02-22 23:07

[QUOTE=Jean Penné;453487]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[/QUOTE]

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!

Jean Penné 2017-02-23 07:25

[QUOTE=AG5BPilot;453491]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![/QUOTE]

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


All times are UTC. The time now is 17:06.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.