![]() |
![]() |
#1 |
∂2ω=0
Sep 2002
República de California
22×3×5×193 Posts |
![]()
Update on v19 code development: At long last I have the basic Mersenne-mod PRP Gerbicz-checking working in Mlucas - here from my gdb session stepping through the latest code, this fiddled things so as to update the Gerbicz checkproduct (mod-product of PRP-test residues at fixed user-set iteration intervals) every 1000 squarings, and perform the final up-squaring step and comparison of the 2 resulting mod-products at the end of that. The two displayed Res64 values compare just the bottom limb of the 2 residue-length quantities being compared ... the mi64_cmp_eq() call compares the full vectors:
Code:
Gerbicz check: B[] Res64: 7681E95DC8B1C8A6 Breakpoint 10, ernstMain (mod_type=1, test_type=2, exponent=173431, fft_length=8, radix_set=2, maxFFT=8, iterations=10000, sh0=0x7fff5fbff910, sh1=0x7fff5fbff908, sh2=0x7fff5fbff900, scrnFlag=0, runtime=0x7fff5fbff480) at ../Mlucas.c:1871 1871 for(i = 1; i < PRP_BASE; i++) { (gdb) n 1872 if(mi64_cmpult(c_uint64_ptr,d_uint64_ptr,j)) break; (gdb) 1876 ASSERT(HERE, mi64_cmpult(c_uint64_ptr,d_uint64_ptr,j), "Gerbicz checkproduct reduction (mod 2^p-1) failed!"); (gdb) 1877 fprintf(stderr,"Gerbicz check: D[] Res64: %016llX\n",c_uint64_ptr[0]); (gdb) Gerbicz check: D[] Res64: 7681E95DC8B1C8A6 1878 if(mi64_cmp_eq((uint64*)arrtmp,c_uint64_ptr,j)) (gdb) 1879 fprintf(stderr,"Gerbicz check passed!\n"); (gdb) Gerbicz check passed! Still remaining to be done prior to code release: 1. New 2-operand modmul code in the real/complex-FFT-wrapper-and-dyadic-square step occurring between the forward and inverse FFTs needs to be SIMD-ized, which means sse2, avx, avx-512 and ARM asimd assembly-code macros need to be written and debugged; 2. Gerbicz-checkproduct write/read and integrity-checking needs to be added to the savefile write/read code; 3. The rollback-on-error handling mechanism needs to be coded up; 4. Said savefile-code needs to play nice with the v18-added premature-checkpoint-on-signal-and-exit handling ... when such a signal is cuaght we need to update the PRP residue in the savefile but not the Gerbicz checkproduct; 5. The Gerbicz-check computations need to be fiddled to play nice in the cintext of circularly-shifted PRP residues - all my code-dev so far has been for the easier shift = 0 case. Last fiddled with by ewmayer on 2019-08-25 at 23:00 |
![]() |
![]() |
![]() |
#2 |
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest
29×167 Posts |
![]()
(.... crickets, for days....)
6. Update documentation, including file format Any guess when v19 release may occur? With or without primenet integration? |
![]() |
![]() |
![]() |
#3 | |
∂2ω=0
Sep 2002
República de California
2D3C16 Posts |
![]() Quote:
The primenet.py script that's been shipping since v17 makes tight primenet integration unnecessary, IMO. The one added feature that would be nice to have in said script would be the ability to do regular assignment progress updates ... I actually have the code needed for that in place and debugged, but the current server set-up is such that it needed Aaron (madpoo) to do some manual intervention at the server end (in effect simulating the result of a v5 API "update computer info" transaction) for me to be able to test and use that new feature. |
|
![]() |
![]() |
![]() |
#4 |
Sep 2002
Database er0rr
2·5·353 Posts |
![]()
A month should coincide with the end of my first N2 wavefront LL test. I look forward to using the PRP beta version.
|
![]() |
![]() |
![]() |
#5 |
Banned
"Luigi"
Aug 2002
Team Italia
112668 Posts |
![]() |
![]() |
![]() |
![]() |
#6 |
∂2ω=0
Sep 2002
República de California
22·3·5·193 Posts |
![]() |
![]() |
![]() |
![]() |
#7 | |
Banned
"Luigi"
Aug 2002
Team Italia
10010101101102 Posts |
![]() Quote:
![]() |
|
![]() |
![]() |
![]() |
#8 | |
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest
29·167 Posts |
![]() Quote:
|
|
![]() |
![]() |
![]() |
#9 |
Sep 2002
Database er0rr
67128 Posts |
![]() ![]() |
![]() |
![]() |
![]() |
#10 |
∂2ω=0
Sep 2002
República de California
22×3×5×193 Posts |
![]()
Alas, no - I have all the new core-math-code infrastructure (needed to support generic 2-imput FFT-modmul ... my code was 100% geared toward 1-input FFT-autosquare up til now) in place including 6 custom versions of the key optimized code macros (scalar-double, ARMv8 SIMD, sse2,avx,avx2/fma,avx-512) but wrestling with all the control logic needed for the new execution path is taking longer than I had hoped. So please bear with me and just queue up more LL-test work as your current jobs finish.
|
![]() |
![]() |
![]() |
#11 |
∂2ω=0
Sep 2002
República de California
22·3·5·193 Posts |
![]()
I am doing final shakedown tests of the v19 beta release on the hardware available to me. Since the fellow who physically hosted the GIMPS KNL workstation has gone AWOL, I could use remote access to a Skylake-X system running Linux in order to test the new PRP+Gerbicz code under avx-512.
|
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
v18 pre-release discussion | ewmayer | Mlucas | 11 | 2019-03-01 04:10 |
Next GMP release? | Andi47 | GMP-ECM | 6 | 2007-11-26 07:29 |
v24.13 release candidate 1 | Prime95 | Software | 13 | 2005-07-14 23:29 |
V24.12 release candidate 3 | Prime95 | Software | 45 | 2005-07-02 19:13 |
V24.12 Release 1 Crashing on P4 M | njcroquet1 | Software | 8 | 2005-06-24 14:40 |