mersenneforum.org  

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

Reply
 
Thread Tools
Old 2011-05-09, 18:59   #1
Jean Penné
 
Jean Penné's Avatar
 
May 2004
FRANCE

22×5×29 Posts
Default LLR Version 3.8.6 is available!

Hi All,

The new version 3.8.6 of LLR is now available on my personal site :

http://jpenne.free.fr/index2.html

This version is identical to development Version 3.8.5, but uses Version 26.6 of George Woltman's gwnum library.

Please see Readme.txt file for details.

Best Regards,
Jean

P.S. : I still need help to build the Mac Intel binary...
Jean Penné is offline   Reply With Quote
Old 2011-05-09, 21:13   #2
fivemack
(loop (#_fork))
 
fivemack's Avatar
 
Feb 2006
Cambridge, England

23×11×73 Posts
Default

I had to poke the Makefile a little to get it to build on Mac Intel:
  • I only have /Developer/SDKs/MacOSX10.5.sdk not .4u.sdk so changed .4u to .5 throughout
  • multutil.o is no longer present in gwnum.a so the code to pull it out explicitly isn't needed

I have run
Code:
./llr -a3 -oVerbose=4 -d -q"3*2^234760-1"
successfully (67.3 sec on not-very-idle i7 iMac)
fivemack is offline   Reply With Quote
Old 2011-06-13, 18:41   #3
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

22·941 Posts
Default

Jean,

if it easy for you, please add a switch like:

Code:
FBase=<number> : The base for the Fermat PRP test (default is 3)
except for the Lucas test, maybe called "LBase". I am only interested in varying P and having Q=1. Of course I am interested in the jacobi symbol of (P^2-4*Q,N) being -1, which does not take long to determine with pari-gp

I am currently using a pfgw64 script, but it runs like treacle

Paul

Last fiddled with by paulunderwood on 2011-06-13 at 19:07
paulunderwood is offline   Reply With Quote
Old 2011-06-13, 19:26   #4
Jean Penné
 
Jean Penné's Avatar
 
May 2004
FRANCE

22×5×29 Posts
Default

Quote:
Originally Posted by paulunderwood View Post
Jean,

if it easy for you, please add a switch like:

Code:
FBase=<number> : The base for the Fermat PRP test (default is 3)
except for the Lucas test, maybe called "LBase". I am only interested in varying P and having Q=1. Of course I am interested in the jacobi symbol of (P^2-4*Q,N) being -1, which does not take long to determine with pari-gp

I am currently using a pfgw64 script, but it runs like treacle

Paul

This option does exist, but is not shown in the Readme file, sorry...

It is : PBase=<number>
Note it is only the initial P value, not necessarily the relevant one, that will be computed by the genLucasBaseP() function, starting from this value, and having Q=1 as you requested.

Regards,
Jean
Jean Penné is offline   Reply With Quote
Old 2011-10-17, 14:47   #5
Thomas11
 
Thomas11's Avatar
 
Feb 2003

77416 Posts
Default

Just out of curiosity I tried to compile the latest source (3.8.6) for Linux 64 bit, but I'm getting the following error:

Code:
make: *** No rule to make target `factor64p.o', needed by `llr'.  Stop.
Is there something missing in the ZIP file, or do need to run some additional "preparational" commands elsewhere in the source tree?

BTW.: I get the same error for the older 3.8.4 sources.

Kind regards,

Thomas
Thomas11 is offline   Reply With Quote
Old 2011-10-17, 15:03   #6
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

22×7×227 Posts
Default

Quote:
Originally Posted by Thomas11 View Post
Just out of curiosity I tried to compile the latest source (3.8.6) for Linux 64 bit, but I'm getting the following error:

Code:
make: *** No rule to make target `factor64p.o', needed by `llr'.  Stop.
Is there something missing in the ZIP file, or do need to run some additional "preparational" commands elsewhere in the source tree?

BTW.: I get the same error for the older 3.8.4 sources.
Simple. LLR cannot be built as a 64-bit app (yet) because a factor routine it relies on is written in 32-bit asm.
rogue is online now   Reply With Quote
Old 2011-10-17, 17:09   #7
Thomas11
 
Thomas11's Avatar
 
Feb 2003

22·32·53 Posts
Default

Quote:
Originally Posted by rogue View Post
Simple. LLR cannot be built as a 64-bit app (yet) because a factor routine it relies on is written in 32-bit asm.
Ahh, I see. Thanks!
I always wondered why there are only 32-bit binaries while the source tree contains those 64-bit directories and build targets...
Thomas11 is offline   Reply With Quote
Old 2011-10-17, 18:24   #8
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

22·7·227 Posts
Default

Quote:
Originally Posted by Thomas11 View Post
Ahh, I see. Thanks!
I always wondered why there are only 32-bit binaries while the source tree contains those 64-bit directories and build targets...
If you have a 64-bit OS, then use pfgw (if the projects you work on allow it). It will be faster than 32-bit llr in most cases, and in some cases much faster than llr.

Last fiddled with by rogue on 2011-10-17 at 18:24
rogue is online now   Reply With Quote
Old 2011-10-20, 17:53   #9
Thomas11
 
Thomas11's Avatar
 
Feb 2003

111011101002 Posts
Default

Quote:
Originally Posted by rogue View Post
If you have a 64-bit OS, then use pfgw (if the projects you work on allow it). It will be faster than 32-bit llr in most cases, and in some cases much faster than llr.
Thanks for that hint. I will give it a try.

So far I used pfgw only for "pathological" cases, e.g. very large k values (like for Roberts Smith's Very Prime Sequences (VPS), also known as Payam sequences), which cannot be treated by LLR.
Thomas11 is offline   Reply With Quote
Old 2011-10-26, 09:01   #10
Thomas11
 
Thomas11's Avatar
 
Feb 2003

35648 Posts
Default

Quote:
Originally Posted by rogue View Post
If you have a 64-bit OS, then use pfgw (if the projects you work on allow it). It will be faster than 32-bit llr in most cases, and in some cases much faster than llr.
Meanwhile I did some tests using 64-bit pfgw vs. 32-bit LLR (running both on a 64-bit Core2 Linux machine).
And indeed I found that pfgw performs slightly better, e.g. for base>2 tests it seems to be about 7% faster than LLR.

So, again, thanks for your advise!
Thomas11 is offline   Reply With Quote
Old 2011-10-26, 12:35   #11
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

22×7×227 Posts
Default

Quote:
Originally Posted by Thomas11 View Post
Meanwhile I did some tests using 64-bit pfgw vs. 32-bit LLR (running both on a 64-bit Core2 Linux machine).
And indeed I found that pfgw performs slightly better, e.g. for base>2 tests it seems to be about 7% faster than LLR.
The speed increase appears to be dependent upon the values of k and b and the CPU the software is run on. Some combinations will see more than a 30% increase in speed. Even for base 2, pfgw64 is faster than LLR on my laptop.
rogue is online now   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
LLR Version 3.8.5 is available! Jean Penné Software 11 2011-02-20 18:22
LLR Version 3.8.0 is now available! Jean Penné Software 22 2010-04-28 07:45
Which version for P-III's? richs Software 41 2009-01-07 14:40
LLR - new version Cruelty Riesel Prime Search 8 2006-05-16 15:00
Which LLR version to use... Cruelty Riesel Prime Search 1 2005-11-10 15:17

All times are UTC. The time now is 23:30.


Fri Aug 6 23:30:57 UTC 2021 up 14 days, 17:59, 1 user, load averages: 4.03, 3.90, 3.95

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, 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.