![]() |
![]() |
#67 | ||
Sep 2002
Database er0rr
2·5·421 Posts |
![]() Quote:
Quote:
Last fiddled with by paulunderwood on 2022-05-13 at 18:34 |
||
![]() |
![]() |
![]() |
#68 | |
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
3×19×173 Posts |
![]()
Reposting an update from Andreas (this is re: "some stage 1 steps may search quite long"; now shorter)
Quote:
|
|
![]() |
![]() |
![]() |
#69 |
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
3·19·173 Posts |
![]() |
![]() |
![]() |
![]() |
#70 | |
Bamboozled!
"๐บ๐๐ท๐ท๐ญ"
May 2003
Down not across
2·3·7·271 Posts |
![]() Quote:
There is no configure script, which is fair enough, but running autoconf produces Code:
pcl@thoth:~/nums/cm$ autoconf configure.ac:29: error: possibly undefined macro: AM_INIT_AUTOMAKE If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure.ac:30: error: possibly undefined macro: AM_MAINTAINER_MODE configure.ac:92: error: possibly undefined macro: AM_CONDITIONAL pcl@thoth:~/nums/cm$ ./configure configure: error: cannot find required auxiliary files: config.guess config.sub pcl@thoth:~/nums/cm$ |
|
![]() |
![]() |
![]() |
#71 | |
Bamboozled!
"๐บ๐๐ท๐ท๐ญ"
May 2003
Down not across
2×3×7×271 Posts |
![]() Quote:
Code:
pcl@thoth:~/nums/cm$ ./configure configure: error: cannot find required auxiliary files: ltmain.sh compile config.guess config.sub missing install-sh pcl@thoth:~/nums/cm$ |
|
![]() |
![]() |
![]() |
#72 | |
Mar 2006
3·173 Posts |
![]() Quote:
Code:
To use the autotools: $ libtoolize $ autoheader $ aclocal $ automake -c -a $ autoconf $ ./configure --with-gmp=<directory_where_gmp_is_installed> $ make $ make check Alternatively, you can simply type: $ autoreconf -i $ ./configure --with-gmp=<directory_where_gmp_is_installed> $ make $ make check |
|
![]() |
![]() |
![]() |
#73 | |
Bamboozled!
"๐บ๐๐ท๐ท๐ญ"
May 2003
Down not across
1138210 Posts |
![]() Quote:
|
|
![]() |
![]() |
![]() |
#74 | |
"Robert Gerbicz"
Oct 2005
Hungary
112×13 Posts |
![]() Quote:
[For small numbers you can keep the gmp's routine, if that is the faster/fastest]. I have some other ideas on the code also, only what I can understand.. |
|
![]() |
![]() |
![]() |
#75 | |
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
3×19×173 Posts |
![]() Quote:
This is admittedly simplistic, but worked for this small change. Code:
find . -name \*.[ch] -exec cmp ../cm0.4.0/{} {} \; diff ... diff ... |
|
![]() |
![]() |
![]() |
#76 | |
Sep 2002
Database er0rr
2×5×421 Posts |
![]() Quote:
Now i have written gwnum code, but have no idea where to add a link to gwnum.a when compiling through the makefile system. Can somebody point me in the right direction, please. Usually I compile with Code:
//gcc -o lucasPRP lucasPRP.c gwnum/gwnum.a gwnum/gwnum.ld -lm -lpthread -lstdc++ |
|
![]() |
![]() |
![]() |
#77 | |
Mar 2006
20716 Posts |
![]() Quote:
I've renamed my gwnum.a file to libgwnum.a Then, you can compile with: Code:
//gcc -o lucasPRP lucasPRP.c -lgwnum -lm -lpthread -lstdc++ |
|
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
For which types of primes is GPU primality test software available? | bur | GPU Computing | 6 | 2020-08-28 06:20 |
Fastest software for Mersenne primality test? | JonathanM | Information & Answers | 25 | 2020-06-16 02:47 |
APR-CL as primality proof | f1pokerspeed | FactorDB | 14 | 2014-01-09 21:06 |
Proof of Primality Test for Fermat Numbers | princeps | Math | 15 | 2012-04-02 21:49 |
PRIMALITY PROOF for Wagstaff numbers! | AntonVrba | Math | 96 | 2009-02-25 10:37 |