mersenneforum.org  

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

Reply
 
Thread Tools
Old 2019-05-03, 21:21   #12
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

714910 Posts
Default

Does LLR use the GMP library? Would it be a burden if gwnum required the GMP library?
Prime95 is online now   Reply With Quote
Old 2019-05-04, 06:53   #13
S485122
 
S485122's Avatar
 
Sep 2006
Brussels, Belgium

2·5·157 Posts
Default

Quote:
Originally Posted by masser View Post
Should this thread be stickied? Also, the 3.8.20 thread could be un-stickied.
Shouldn't this thread be UN-stickied ?
Also, shouldn't the 3.8.23 thread be "stickied" ?

Jacob
S485122 is offline   Reply With Quote
Old 2019-05-05, 06:32   #14
Jean Penné
 
Jean Penné's Avatar
 
May 2004
FRANCE

24×5×7 Posts
Default

Quote:
Originally Posted by Prime95 View Post
Does LLR use the GMP library? Would it be a burden if gwnum required the GMP library?
LLR uses the GMP library on Linux and Mac OS platforms, only to allow APRCL tests on less than 100 decimal digits candidates...
On windows platforms, the APRCL tests are done by separate binaries compiled under CygWin system.

Best Regards,
Jean
Jean Penné is offline   Reply With Quote
Old 2019-05-05, 16:06   #15
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

22×52×59 Posts
Default

Quote:
Originally Posted by Jean Penné View Post
LLR uses the GMP library on Linux and Mac OS platforms, only to allow APRCL tests on less than 100 decimal digits candidates...
On windows platforms, the APRCL tests are done by separate binaries compiled under CygWin system.

Best Regards,
Jean
If you need help getting GMP to link with Visual Studio, let me know. I do that with pfgw.
rogue is offline   Reply With Quote
Old 2019-05-05, 19:09   #16
Jean Penné
 
Jean Penné's Avatar
 
May 2004
FRANCE

24·5·7 Posts
Default

Quote:
Originally Posted by rogue View Post
If you need help getting GMP to link with Visual Studio, let me know. I do that with pfgw.
I wish to know how did you proceed to build a binary executable using GMP on a Windows platform. Does a library such as gmp.lib exists, or a .dll dynamic library?
Thank you by advance, Mark!
Jean Penné is offline   Reply With Quote
Old 2019-05-05, 21:36   #17
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

714910 Posts
Default

Part 2 of my gwnum development question for rogue and Jean:

Would either of you care if the Crandall's giants code was replaced by GMP code -- eliminating giants code from the gwnum source?
Prime95 is online now   Reply With Quote
Old 2019-05-05, 21:53   #18
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

22·52·59 Posts
Default

Quote:
Originally Posted by Prime95 View Post
Part 2 of my gwnum development question for rogue and Jean:

Would either of you care if the Crandall's giants code was replaced by GMP code -- eliminating giants code from the gwnum source?
I would not care. I don't think that he would care either.
rogue is offline   Reply With Quote
Old 2019-05-06, 12:32   #19
Jean Penné
 
Jean Penné's Avatar
 
May 2004
FRANCE

24·5·7 Posts
Default

Quote:
Originally Posted by Prime95 View Post
Part 2 of my gwnum development question for rogue and Jean:

Would either of you care if the Crandall's giants code was replaced by GMP code -- eliminating giants code from the gwnum source?
Eliminating your enhanced giants code from the gwnum source would cause a big burden for me because LLR makes an intensive use of it...

Sorry for this drawback and Best Regards,

Jean
Jean Penné is offline   Reply With Quote
Old 2019-05-06, 14:44   #20
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

3×2,383 Posts
Default

Quote:
Originally Posted by Jean Penné View Post
Sorry for this drawback
No problem, glad I asked.

FYI, there is a rare bug somewhere in the giants GCD code. I'll debug it -- my other option was to remove it as prime95 no longer uses it.
Prime95 is online now   Reply With Quote
Old 2019-07-07, 23:05   #21
matzetoni
 
matzetoni's Avatar
 
Feb 2019

7210 Posts
Default possible bug in reading from abc format?

Ok, so I use LLR 3.8.21 to play around with small GFNs and noticed the following:
With the number in the input file below I did a deterministic test, running 'cllr64.exe -d input.txt'. This gives for me:


1*864^1024+1 is not prime. Proth RES64: 5F21281BB221A71B Time : 36.197 ms.


Then I went into llr.ini and added the line 'ForcePRP=1'. Running 'cllr64.exe -d input.txt' again gives me:


864^5120+1 is not prime. RES64: 484B1FB02F4A2F09. OLD64: D8E15F108DDE8D18 Time : 880.540 ms.


So, it checked a different number? I haven't checked the newest version of LLR, but I thought it's worth pointing out.
Attached Files
File Type: txt input.txt (25 Bytes, 30 views)

Last fiddled with by matzetoni on 2019-07-07 at 23:06
matzetoni is offline   Reply With Quote
Old 2019-07-07, 23:25   #22
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

2·1,697 Posts
Default

Quote:
Originally Posted by matzetoni View Post
Ok, so I use LLR 3.8.21 to play around with small GFNs and noticed the following:
With the number in the input file below I did a deterministic test, running 'cllr64.exe -d input.txt'. This gives for me:


1*864^1024+1 is not prime. Proth RES64: 5F21281BB221A71B Time : 36.197 ms.


Then I went into llr.ini and added the line 'ForcePRP=1'. Running 'cllr64.exe -d input.txt' again gives me:


864^5120+1 is not prime. RES64: 484B1FB02F4A2F09. OLD64: D8E15F108DDE8D18 Time : 880.540 ms.


So, it checked a different number? I haven't checked the newest version of LLR, but I thought it's worth pointing out.
864^5120+1 will not be prime. GFNs are of the form b^(2^n)+1. Please attach the problematic input file and the llr.ini file.

I get the same phenomenon with

Code:
 ./llr64 -v
LLR Program - Version 3.8.21, using Gwnum Library Version 28.14
and with

Code:
LLR Program - Version 3.8.23, using Gwnum Library Version 29.8

Last fiddled with by paulunderwood on 2019-07-08 at 00:32
paulunderwood is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
LLR Version 3.8.20 released Jean Penné Software 30 2018-08-13 20:00
LLR Version 3.8.19 released Jean Penné Software 11 2017-02-23 08:52
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 17:41.

Sun Sep 20 17:41:37 UTC 2020 up 10 days, 14:52, 1 user, load averages: 2.30, 1.74, 1.57

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.