Go Back > Factoring Projects > Factoring

Thread Tools
Old 2010-12-29, 07:11   #1
CRGreathouse's Avatar
Aug 2006

3·1,993 Posts
Default GMP-ECM for base-2?

From the GMP-ECM INSTALL file:
Note 3: If you want to use George Woltman's GWNUM library for speeding up
factoring base 2 numbers, obtain the file "gwnum_gpl_linux.tgz" from (or or gwnum_gpl_mingw.tgz
accordingly) and follow the instructions therein to compile
the library. Possibly the archive contains a readily compiled library
"gwnum.a" or "gwnum.lib". Then use

$ ./configure --with-gwnum=<gwnum directory>

The directory must include the gwnum.a or gwnum.lib file as well as
gwnum.h and related header files. The source file of the gwnum library
is available at <>.

To compile the GMP-ECM library as a shared library, use the
--enable-shared parameter for ./configure. Building a shared library is
disabled by default.
Now no longer contains the GWNUM file; it's at But the library there hasn't been updated for 5 years (though surely GWNUM has been). Some questions come to mind:
  • Will GMP-ECM still work with the old version of GWNUM? Has anyone tested this with a recent version of GMP-ECM?
  • On the other hand, will GMP-ECM work with a newer version?
  • Is there a website where a newer version of GWNUM can be downloaded?
  • Is GWNUM still needed for efficient handling of base-2 numbers in GMP-ECM?
  • Is it still advisable to use GMP-ECM for base-2 numbers, even with GWNUM?

Apologies in advance for any incoherence; it's past 2 AM and I may not be altogether together.
CRGreathouse is offline   Reply With Quote
Old 2010-12-29, 08:45   #2
Batalov's Avatar
Mar 2008

59·163 Posts

The very latest GWNUM library source is always included with Prime95 source. E.g.
Will it be compatible? - can't say immediately.
Batalov is offline   Reply With Quote

Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Please Base 3 PawnProver44 Sierpinski/Riesel Base 5 20 2016-03-13 09:52
Base-6 speed for prime testing vs. base-2 jasong Conjectures 'R Us 36 2010-08-03 06:25
Base 6 masser Conjectures 'R Us 2 2008-06-27 04:29
Log to what base? edorajh Math 5 2003-12-17 16:31
base 3 ET_ Puzzles 1 2003-12-13 10:45

All times are UTC. The time now is 02:29.

Sat Dec 4 02:29:29 UTC 2021 up 133 days, 20:58, 0 users, load averages: 1.22, 1.32, 1.29

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.