LLR Version 3.8.17 released
log in

Advanced search

Message boards : Number crunching : LLR Version 3.8.17 released

Author Message
Profile rebirther
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist
Avatar
Send message
Joined: 2 Jan 13
Posts: 3469
Credit: 22,879,153
RAC: 0
Message 2347 - Posted: 12 Feb 2016, 18:18:05 UTC

This LLR version is linked with the Version 28.8 of George Woltman's gwnum library
in which George have fixed the issue that occurred rarely while using AVX code.
I released also a cllrd binary, which is linked with the debug version of this
gwnum library.

Three new features has been added in the small primes ranges (< 1000 digits), all of them using the GNU-MP library and the APR-CL codes ; they are :
- The search for Wieferich primes in the range and with the base stated by the user.
- The test of Wieferich prime candidates with the base stated by user.
- The APR-CL primality test of general digit strings.
Please, look at the Readme file for details.
On Linux and Mac-Intel platforms, the relevant code is linked in the llr binary.
On the other part, on Windows platforms, three companion executables are required, which are compiled under cygwin system, and launched by the llr program as child processes. They are "llrwfsrch.exe", "tw.exe" and "aprcl.exe" ; the "cygwin1.dll" dynamic library is also needed.
To build these executables on 64bit Windows platform, using a cygwin shell, you can find all the sources in the aprcl sub-directory.

There are further improvements in Roundoff errors processing :
To avoid endless retries, AbortOnRoundoff option is forced when testing with the next FFT length has been done more than MaxFFTinc times (5 by default). Then, the default is continuing the test with the next term in the input file. But the user can override this behavior by setting -oStopOnAbort=1, and then, manually deciding to continue.

At the request of an user, the backup of the .ini file is now implemented, and is done each time a ks= or ns= is added in the .ini file.


I will wait until I know if the files are working correctly but already built them for windows.

Profile rebirther
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist
Avatar
Send message
Joined: 2 Jan 13
Posts: 3469
Credit: 22,879,153
RAC: 0
Message 2350 - Posted: 12 Feb 2016, 22:36:38 UTC

Updates in gwnum28.8:

1) In the rarely used undoc.txt feature, TitleOutputFrequency cannot be less than ScaledOutputFrequency. This worked in some 28.5 versions. Fixed in 28.7.
2) Roundoff errors PRPing 55459*2^159718+1 in 32-bit mode. For version 28.7, the maximum exponent that can be tested with a 12K SSE2 FFT has been reduced by 0.5%.
3) Base 2 PRP test of (48591^11329-1)/48590 using AVX FFTs failed. Fixed in version 28.7.
4) Some have complained about the number of roundoff error warnings (and retries) generated. Prime95 will now warn for roundoffs > 27/64 if near the FFT limit and 26/64 for FFTs not near the limit. Fixed in 28.7.
5) Some Intel CPUs not recognized. Added support for CPUID results from several Atom, Haswell, Broadwell, and Skylake CPUs. Fixed in 28.7.
6) A rare bug in generating the final 64-bit residue occurred when the shift count was more than exponent - 64. Fixed in 28.8.
7) LLR failed testing 13126*39^85217-1 using AVX FFTs. This is another example of the carry propagation bug in the add and subtract that was "fixed" in 28.6. A hopefully better fix is now in place for version 28.8.
8) PRP of 10223*2^29588045-1 generated roundoff errors using 2400K to 2688K FFT. Very rare bug computing number of bits to stuff in each FFT word -- computation required more than 53 bits of precision. Fixed in 28.8.

Sergey Kovalchuk
Send message
Joined: 27 Oct 15
Posts: 4
Credit: 1,171,437
RAC: 1,479
Message 2360 - Posted: 15 Feb 2016, 8:23:49 UTC - in response to Message 2347.

Totally errored on linux 32 bit, ok on linux 64 bit (Ubuntu 14.04)

Host

Profile rebirther
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist
Avatar
Send message
Joined: 2 Jan 13
Posts: 3469
Credit: 22,879,153
RAC: 0
Message 2361 - Posted: 15 Feb 2016, 8:41:30 UTC - in response to Message 2360.
Last modified: 15 Feb 2016, 8:58:09 UTC

Totally errored on linux 32 bit, ok on linux 64 bit (Ubuntu 14.04)

Host


You have some permission issues with the wrapper, in log:

execv() failed: : Permission denied

Sergey Kovalchuk
Send message
Joined: 27 Oct 15
Posts: 4
Credit: 1,171,437
RAC: 1,479
Message 2362 - Posted: 15 Feb 2016, 8:57:17 UTC - in response to Message 2361.
Last modified: 15 Feb 2016, 8:58:26 UTC

No problem with old srbase_v4_l32.zip on this host.
No problem with new srbase_v5_l64.zip on x64 - hosts BOINC#

Same install of Ubuntu 14.04, but 64 bit.

ls -la total 6172 drwxrwx--x 2 boinc boinc 4096 Feb 15 10:02 . drwxrwx--x 16 boinc boinc 4096 Feb 1 11:12 .. -rwxr-xr-x 1 boinc boinc 188 Feb 15 09:22 job_srbase7_l32_00018.xml -rwxr-xr-x 1 boinc boinc 188 Feb 15 09:58 job_srbase_l32_00018.xml -rw-r--r-- 1 boinc boinc 5037430 Feb 15 09:22 srbase_v5_l32.zip -rwxr-xr-x 1 boinc boinc 1261648 Feb 15 09:22 wrapper_26012-v2_i686-pc-linux-gnu

Profile rebirther
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist
Avatar
Send message
Joined: 2 Jan 13
Posts: 3469
Credit: 22,879,153
RAC: 0
Message 2363 - Posted: 15 Feb 2016, 8:58:22 UTC - in response to Message 2362.
Last modified: 15 Feb 2016, 9:05:20 UTC

No problem with old srbase_v4_l32.zip on this host.
No problem with new srbase_v5_l64.zip on x64 - hosts BOINC#

Same install of Ubuntu 14.04, but 64 bit.


I have changed the execute bit in download folder for the wrapper. If you can redownload the files for linux 32 it should be working now.

You can also fix this problem by running chmod -x wrapper_26012-v2_i686-pc-linux-gnu in BOINC project folder.

Sergey Kovalchuk
Send message
Joined: 27 Oct 15
Posts: 4
Credit: 1,171,437
RAC: 1,479
Message 2364 - Posted: 15 Feb 2016, 9:10:15 UTC - in response to Message 2363.
Last modified: 15 Feb 2016, 9:11:55 UTC

Problem not solved

x64 - ok

-rw-r--r-- 1 boinc boinc 43 Feb 15 10:12 inputa60_0400526.prp -rwxr-xr-x 1 boinc boinc 188 Feb 15 10:03 job_srbase7_l64_00018.xml -rwxr-xr-x 1 boinc boinc 188 Feb 15 10:12 job_srbase_l64_00018.xml -rw-r--r-- 1 boinc boinc 6471371 Feb 15 10:03 srbase_v5_l64.zip -rwxr-xr-x 1 boinc boinc 1434493 Feb 15 10:03 wrapper_26012-v2_x86_64-pc-linux-gnu


x32 - error
-rw-r--r-- 1 boinc boinc 43 Feb 15 11:02 inputa60_0401332.prp -rwxr-xr-x 1 boinc boinc 188 Feb 15 11:02 job_srbase7_l32_00018.xml -rwxr-xr-x 1 boinc boinc 188 Feb 15 11:02 job_srbase_l32_00018.xml -rw-r--r-- 1 boinc boinc 5037430 Feb 15 11:02 srbase_v5_l32.zip -rwxr-xr-x 1 boinc boinc 1261648 Feb 15 11:02 wrapper_26012-v2_i686-pc-linux-gnu



May be problem with UID or attribute for llr32 in .zip ?

Profile rebirther
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist
Avatar
Send message
Joined: 2 Jan 13
Posts: 3469
Credit: 22,879,153
RAC: 0
Message 2365 - Posted: 15 Feb 2016, 9:31:53 UTC - in response to Message 2364.
Last modified: 15 Feb 2016, 9:43:10 UTC

Problem not solved

x64 - ok
-rw-r--r-- 1 boinc boinc 43 Feb 15 10:12 inputa60_0400526.prp -rwxr-xr-x 1 boinc boinc 188 Feb 15 10:03 job_srbase7_l64_00018.xml -rwxr-xr-x 1 boinc boinc 188 Feb 15 10:12 job_srbase_l64_00018.xml -rw-r--r-- 1 boinc boinc 6471371 Feb 15 10:03 srbase_v5_l64.zip -rwxr-xr-x 1 boinc boinc 1434493 Feb 15 10:03 wrapper_26012-v2_x86_64-pc-linux-gnu


x32 - error
-rw-r--r-- 1 boinc boinc 43 Feb 15 11:02 inputa60_0401332.prp -rwxr-xr-x 1 boinc boinc 188 Feb 15 11:02 job_srbase7_l32_00018.xml -rwxr-xr-x 1 boinc boinc 188 Feb 15 11:02 job_srbase_l32_00018.xml -rw-r--r-- 1 boinc boinc 5037430 Feb 15 11:02 srbase_v5_l32.zip -rwxr-xr-x 1 boinc boinc 1261648 Feb 15 11:02 wrapper_26012-v2_i686-pc-linux-gnu



May be problem with UID or attribute for llr32 in .zip ?


Its not possible to give the execute bit to an app into a zip file. It will lost the bit after extraction. I have no idea why 64bit is working and 32bit not. There are 2 linux files available, one dynamic and the other static linked.

Edit:
I will check the v4 with v5 version and update the app if there is a difference. I need to wait until the work creation is done.

Profile rebirther
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist
Avatar
Send message
Joined: 2 Jan 13
Posts: 3469
Credit: 22,879,153
RAC: 0
Message 2366 - Posted: 15 Feb 2016, 9:56:10 UTC

Both versions v4 and v5 are identical for 32bit and 64bit (static linked) If you can find a difference why v4 is working and v5 not let me know. So only thing I can do is to enable the old app again for linux32.

Profile rebirther
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist
Avatar
Send message
Joined: 2 Jan 13
Posts: 3469
Credit: 22,879,153
RAC: 0
Message 2368 - Posted: 15 Feb 2016, 10:44:49 UTC

It looks like the execute bit is working in the zip file somehow. I have done some tests without getting the permission error. I will update the srbase7 linux32 app (base R63) to test it first.

If anyone getting the same error on linux64 let me know.

Profile rebirther
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist
Avatar
Send message
Joined: 2 Jan 13
Posts: 3469
Credit: 22,879,153
RAC: 0
Message 2369 - Posted: 15 Feb 2016, 10:52:52 UTC
Last modified: 15 Feb 2016, 10:53:08 UTC

@Sergey Kovalchuk:

Can you please try the srbase7 linux32 app again? I have updated the app with a fix.

Sergey Kovalchuk
Send message
Joined: 27 Oct 15
Posts: 4
Credit: 1,171,437
RAC: 1,479
Message 2370 - Posted: 15 Feb 2016, 11:13:53 UTC - in response to Message 2369.

2 tasks - "Completed and validated"

Profile rebirther
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist
Avatar
Send message
Joined: 2 Jan 13
Posts: 3469
Credit: 22,879,153
RAC: 0
Message 2371 - Posted: 15 Feb 2016, 11:17:03 UTC - in response to Message 2370.

2 tasks - "Completed and validated"


:), ok I will update the rest of the apps soon.

Profile rebirther
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist
Avatar
Send message
Joined: 2 Jan 13
Posts: 3469
Credit: 22,879,153
RAC: 0
Message 2481 - Posted: 14 Apr 2016, 16:14:01 UTC
Last modified: 14 Apr 2016, 17:57:50 UTC

Hi LLR users,

Primegrid LLR users found that parsing errors may occur when using input file with some ABC formats headers. Many thanks to Jmblazek and to Rogue, wo warned me about this bug!
This is now fixed, and I tested successfully all ABC format headers presently accepted by LLR version 3.8.17.

Jean


I will update all apps on weekend. The bug is not critical.

Update:
I think its not urgent to update. If someone have seen a parsing error let me know.


Post to thread

Message boards : Number crunching : LLR Version 3.8.17 released


Main page · Your account · Message boards


Copyright © 2014-2018 BOINC Confederation / rebirther