![]() |
![]() |
#12 |
Sep 2002
Database er0rr
10000011010112 Posts |
![]()
I had a quick look at the source and I think you need 50 or so rounds of "safe" multiplication before and after each of the main loops. This will solve any FFT entropy problems.
![]() |
![]() |
![]() |
![]() |
#13 |
Sep 2002
Database er0rr
32×467 Posts |
![]()
Is that BSD licence alright? You are using George Woltman's library and GMP. Should they not be attributed as well?
Last fiddled with by paulunderwood on 2020-03-12 at 20:32 |
![]() |
![]() |
![]() |
#14 |
Mar 2007
Estonia
149 Posts |
![]()
In the file llr.zig lines 103:106 I do gwsquare2_carefully for the first and last 30 rounds. Without that even the selftest fails on my system.
Well the thing with the license is that my code is BSD licensed. Linking to LGPL GMP is okay. But the weird license from gwnum says that if you find a Mersenne prime you have to share the prize with GIMPS. I probably have to at least add both licenses to my project. LLR64 doesn't seem to have a copyright license, so it has reserved all rights, which I am pretty sure is not the correct way to do this... Last fiddled with by kuratkull on 2020-03-13 at 07:34 |
![]() |
![]() |
![]() |
#15 |
"Alexander"
Nov 2008
The Alamo City
81210 Posts |
![]()
LLR having no license for its own code (i.e. not the gwnum code) is a problem. Someone should clarify that with Jean.
I'm not a lawyer, so take this advice with a grain of salt. As long as your LLR code wouldn't be considered a derivative work of Jean's LLR, which may be an issue, you could probably get away with the BSD license for your code. It's compatible with the LGPL, and linking with gwnum should be OK as long as it's clear that the library has its own license. If you distribute gwnum with your code, include its license in that folder. Keep in mind that the combined program would inherit gwnum's restrictions on Mersenne primes. Unless you're bundling GMP, I don't think you'll need to include the LGPL text in your code. As Paul suggested, you should consider crediting these libraries in a README or similar file. Last fiddled with by Happy5214 on 2020-03-13 at 21:56 |
![]() |
![]() |
![]() |
#16 |
Mar 2007
Estonia
149 Posts |
![]()
I am not bundling any third party code and I have not copied code from LLR64, so RPT is completely mine. I think only the compiled binary is suhject to the licenses, because the executable contains statically linked GMP and gwnum. But yes, other than that I agree with your conclusions @Happy5214
|
![]() |
![]() |
![]() |
#17 | |
"Alexander"
Nov 2008
The Alamo City
22×7×29 Posts |
![]() Quote:
Since the executable is statically linked, it probably would have to be distributed under the most restrictive terms of the combination (e.g. gwnum's Mersenne prime rule, GMP's rules on providing the license and an offer of the source code). Since you're really distributing the source code, however, I think you're right that those static link rules don't apply as such to that source distribution. |
|
![]() |
![]() |
![]() |
#18 |
Mar 2007
Estonia
149 Posts |
![]()
I didn't translate nor copy his code in any even barely attributable capacity, so this is not an issue.
Last fiddled with by kuratkull on 2020-03-14 at 01:23 |
![]() |
![]() |
![]() |
#19 | |
Romulan Interpreter
"name field"
Jun 2011
Thailand
997310 Posts |
![]() Quote:
![]() If I would be to find a 100M-digits prime in the future, using my own program, completely written by myself and without consulting any library (I do not have such a program, this is only for the sake of the argument), or, by the way, cudaLucas or gpuOwl (to my knowledge, they are not bounded - yet - by GIMPS condition), then for sure I would let GIMPS handle it, speed up verification, do the paper work, and I would be totally satisfied with the $50k and the short-term fame. Or maybe, I just got an idea! In my greed, ![]() But to go for the prize by myself, that would be too much of an effort and arguments, and I am kinda too lazy for it ![]() Last fiddled with by LaurV on 2020-03-14 at 04:49 |
|
![]() |
![]() |
![]() |
#20 |
Undefined
"The unspeakable one"
Jun 2006
My evil lair
650510 Posts |
![]() |
![]() |
![]() |
![]() |
#21 | |
Romulan Interpreter
"name field"
Jun 2011
Thailand
26F516 Posts |
![]() Quote:
|
|
![]() |
![]() |
![]() |
#22 |
Mar 2007
Estonia
149 Posts |
![]()
I would have written the same if the license said that you have to perform an interpretive dance in public when you find a prime.They have a strange license because they do not ask me to notify the users of binary files at all of the license conditions. So if someone downloads the software and doesn't know about that license point then they and GIMPS will have a totally different understanding of the situation. From a license perspective I have to considered the issue as if every user finds a new Mersenne prime.
|
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Alternative to LL | paulunderwood | Miscellaneous Math | 36 | 2019-08-26 08:09 |
Alternative CPU architecture | henryzz | Hardware | 11 | 2018-07-10 07:33 |
New Algorithm - Tester(s) required | bearnol | Factoring | 29 | 2006-08-16 04:57 |
SBprp - a better PRP tester | Ken_g6 | Prime Sierpinski Project | 10 | 2005-01-04 14:36 |
Sound Card Tester?? | dave_0273 | Hardware | 2 | 2004-06-19 15:34 |