mersenneforum.org  

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

Reply
 
Thread Tools
Old 2019-03-28, 20:56   #1
Jean Penné
 
Jean Penné's Avatar
 
May 2004
FRANCE

23116 Posts
Default LLR Version 3.8.22 released

Hi All,

I uploaded today the version 3.8.22 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 released here, and also the Mac OS 32bit and 64bit binaries I can now build using a Mac mini machine with software OS X 10.9.1
I uploaded also the complete source in a compressed file ; it may be used to build the 64bit Windows binaries.
In order to build the Linux binaries, I had to add -DSQLITE_OMIT_LOAD_EXTENSION in the CFLAGS in gwnum/Makefile and gwnum/make64.
I had also to suppress irrelevant source and binary libraries references in makemac and makemac64. The makefiles with .orig suffixes are the unmodified ones...

No new feature in this LLR version, but it is linked with the Version 29.6 of George Woltman's gwnum library which includes AVX 512 code.

As usual, I need help to build the 64bit Windows binaries.
Please, inform me if you encountered any problem while using this new version.
Best Regards,
Jean
Jean Penné is offline   Reply With Quote
Old 2019-03-28, 21:24   #2
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

5,953 Posts
Default

I'm suspecting that nobody is using the 32-bit Mac OS binaries. The only Macs built with a 32-bit Intel CPU were built between 2005 and 2007. Prior to that they were using PowerPC and after that they had 64-bit CPUs.

Even with pfgw, nobody has requested a 32-bit build in years so I haven't even bothered with releasing one.
rogue is offline   Reply With Quote
Old 2019-03-28, 21:55   #3
rebirther
 
rebirther's Avatar
 
Sep 2011
Germany

2,521 Posts
Default

@Jean, files sent for 64bit windows.


@all, files are available here
rebirther is offline   Reply With Quote
Old 2019-03-29, 17:30   #4
AG5BPilot
 
AG5BPilot's Avatar
 
Dec 2011
New York, U.S.A.

11000012 Posts
Default

Good news and bad news.

Bad news first: The new LLR is about 4% slower than 3.8.21 on my Haswell:

Code:
C:\Temp\LLR3.8.21>cllr64.3.8.21 -d -q"55459*2^30071686+1" -t4
Starting Proth prime test of 55459*2^30071686+1
Using all-complex FMA3 FFT length 2880K, Pass1=384, Pass2=7680, 4 threads, a = 3

55459*2^30071686+1, bit: 30000 / 30071701 [0.09%].  Time per bit: 4.509 ms.

C:\Temp\LLR3.8.22>cllr64.3.8.22 -d -q"55459*2^30071686+1" -t4
Starting Proth prime test of 55459*2^30071686+1
Using all-complex FMA3 FFT length 2880K, Pass1=640, Pass2=4608, clm=1, 4 threads, a = 3
55459*2^30071686+1, bit: 30000 / 30071701 [0.09%].  Time per bit: 4.715 ms.
Good news is it's about 30% faster on a Skylake-X:

Code:
$ cllr64 -d -q"55459*2^30071686+1" -t10
Starting Proth prime test of 55459*2^30071686+1
Using all-complex FMA3 FFT length 2880K, Pass1=384, Pass2=7680, 10 threads, a = 3
55459*2^30071686+1, bit: 20000 / 30071701 [0.06%].  Time per bit: 1.532 ms.
FYI, I stopped here:
> $ llr64 -d -q"55459*2^30071686+1" -t10
> Starting Proth prime test of 55459*2^30071686+1
> Using all-complex AVX-512 FFT length 2880K, Pass1=192, Pass2=15K, clm=4, 10 threads, a = 3
> 55459*2^30071686+1, bit: 1120000 / 30071701 [3.72%].  Time per bit: 1.061 ms.
>  Caught signal.  Terminating.
The Haswell is an i5-4670K and the Skylake-X is an i9-9820X.

Last fiddled with by AG5BPilot on 2019-03-29 at 18:29 Reason: Fixed the numbers mangled by Discord
AG5BPilot is offline   Reply With Quote
Old 2019-03-30, 09:51   #5
Jean Penné
 
Jean Penné's Avatar
 
May 2004
FRANCE

23116 Posts
Default Win64 binaries

Quote:
Originally Posted by rebirther View Post
@Jean, files sent for 64bit windows.


@all, files are available here
Many thanks to you, Rebirther,

The GUI and console Windows64 binaries are now available!

Best Regards,
Jean
Jean Penné is offline   Reply With Quote
Old 2019-03-30, 10:11   #6
Jean Penné
 
Jean Penné's Avatar
 
May 2004
FRANCE

3·11·17 Posts
Default

Quote:
Originally Posted by rogue View Post
I'm suspecting that nobody is using the 32-bit Mac OS binaries. The only Macs built with a 32-bit Intel CPU were built between 2005 and 2007. Prior to that they were using PowerPC and after that they had 64-bit CPUs.

Even with pfgw, nobody has requested a 32-bit build in years so I haven't even bothered with releasing one.
You are right, Mark, but I built the so called "32 bits" llr on a 64 bits Mac OS X machine (it is possible to do that on Mac OS X, not on Linux...) it works on the same machine, almost as fast as the llr64 binary, but allows to use the 32 bits prefactoring code I linked in it.
It may be interesting for Gaussian Mersenne Norm or Wagstaff hunters...

Best Regards,
Jean
Jean Penné is offline   Reply With Quote
Old 2019-03-30, 13:48   #7
AG5BPilot
 
AG5BPilot's Avatar
 
Dec 2011
New York, U.S.A.

6116 Posts
Exclamation Bug?

There may be a bug.

This computer is running the AVX-512 transform just fine on numerous Proth numbers at PrimeGrid, specifically, PPS-MEGA, PPS, and PPSE. (100% good results.) But when running SGS tasks, it's producing incorrect residues 100% of the time. Normally with hardware errors on SGS we would see some false primes, but there were none. This makes it less likely that the bad residues are a result of a hardware error.

The CPU is an i7-7820X.

Example:
Tested number: 4344392810277*2^1290000-1

Result from a computer (i7-4770K) with AVX transform:
LLR command line: primegrid_llr -d -oDiskWriteTime=1 llr.in
Using zero-padded AVX FFT length 128K, Pass1=512, Pass2=256
4344392810277*2^1290000-1 is not prime. LLR Res64: 7D325B0469A1226E Time : 1162.344 sec.

Result from a computer (Xeon E5-2670) with FMA3 transform:
LLR command line: primegrid_cllr.exe -d -oDiskWriteTime=1 llr.in
Using zero-padded FMA3 FFT length 128K, Pass1=512, Pass2=256
4344392810277*2^1290000-1 is not prime. LLR Res64: 7D325B0469A1226E Time : 2594.600 sec

Bad result with AVX-512 transform:
LLR command line: primegrid_cllr.exe -d -oDiskWriteTime=1 -oThreadsPerTest=1 llr.in
Using zero-padded AVX-512 FFT length 128K, Pass1=128, Pass2=1K, clm=1
4344392810277*2^1290000-1 is not prime. LLR Res64: B878873BD88188FB Time : 313.633 sec.
AG5BPilot is offline   Reply With Quote
Old 2019-03-30, 14:56   #8
AG5BPilot
 
AG5BPilot's Avatar
 
Dec 2011
New York, U.S.A.

97 Posts
Default

We also have an i9-7900X that is running the SGS tests correctly with AVX-512.

EDIT: There's also an i9-7980XE that's running correctly.

Last fiddled with by AG5BPilot on 2019-03-30 at 15:11
AG5BPilot is offline   Reply With Quote
Old 2019-03-30, 16:06   #9
ryanp
 
ryanp's Avatar
 
Jun 2012
Boulder, CO

33·7 Posts
Default

Quote:
Originally Posted by AG5BPilot View Post
We also have an i9-7900X that is running the SGS tests correctly with AVX-512.

EDIT: There's also an i9-7980XE that's running correctly.
Just as a data point, I got the correct residue:

Code:
4344392810277*2^1290000-1 is not prime.  LLR Res64: 7D325B0469A1226E  Time : 1147.827 sec.
with the new binary, on 2 separate Skylake machines.

Code:
$ ./sllr64 -v
LLR Program - Version 3.8.22, using Gwnum Library Version 29.6
ryanp is offline   Reply With Quote
Old 2019-03-30, 17:35   #10
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

112·59 Posts
Default

Quote:
Originally Posted by AG5BPilot View Post
There may be a bug.
I suggest getting prime95 and running an AVX-512 torture test on the machine.

I also suggest building LLR with gwnum 29.7.
Prime95 is offline   Reply With Quote
Old 2019-03-30, 17:36   #11
AG5BPilot
 
AG5BPilot's Avatar
 
Dec 2011
New York, U.S.A.

1418 Posts
Default

Quote:
Originally Posted by ryanp View Post
Just as a data point, I got the correct residue:

Code:
4344392810277*2^1290000-1 is not prime.  LLR Res64: 7D325B0469A1226E  Time : 1147.827 sec.
with the new binary, on 2 separate Skylake machines.

Code:
$ ./sllr64 -v
LLR Program - Version 3.8.22, using Gwnum Library Version 29.6
Which specific CPUs? All the ones I have data for, good or bad, are Skylakes.
AG5BPilot is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
LLR Version 3.8.21 Released Jean Penné Software 26 2019-07-08 16:54
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 08:20.

Thu Oct 29 08:20:01 UTC 2020 up 49 days, 5:30, 1 user, load averages: 1.34, 1.49, 1.48

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.