![]() |
|
|
#1 |
|
Sep 2003
5·11·47 Posts |
This was already posted in the Data forum.
Attached is a C program that can be used to verify factors of Mersenne exponents. It's intended for use under Unix (and uses the GMP multiple-precision library that comes with most Linux distributions). On a 2.8GHz Pentium 4, it verifies all 2.6 million factors in the GIMPS database in less than 20 seconds. |
|
|
|
|
|
#2 |
|
Jan 2004
7·19 Posts |
hi GP2, im checking the code, and at the beginning, im seeing:
#include <gmp.h> is it a custom header ya made ? could ya attach that file please ? im using windows. gonna make some tests, but if ya could attach a windows version of gmp, that would be great. thanks. Last fiddled with by junky on 2004-01-25 at 16:28 |
|
|
|
|
|
#3 |
|
Sep 2002
2·331 Posts |
That verification speed is incredible.
I wrote a program in windows that just reads each line of the file ( 59 MB), separates the exponent and factor into two strings, converts each to a large binary integer, it takes 27 seconds on an 1.17 Ghz Athlon. The powermod function in the gmp library must be incredibly fast. |
|
|
|
|
|
#4 | ||
|
∂2ω=0
Sep 2002
República de California
103×113 Posts |
Quote:
Quote:
I'm sure the GMP stuff is quite good as far as generic arithmetic functionality is concerned, but my point is, specialized code for doing these operations is much, much faster. Of course, strictly for purposes of verification of factors, speed is not terribly important. |
||
|
|
|
|
|
#5 |
|
Dec 2003
Belgium
5×13 Posts |
Is it possible to use this program in windows?
-michael |
|
|
|
|
|
#6 | |
|
"Mike"
Aug 2002
25×257 Posts |
Quote:
http://www.mersenneforum.org/showpos...05&postcount=3 |
|
|
|
|
|
|
#7 |
|
Dec 2003
Belgium
5×13 Posts |
I don't think i can do a list of exponents there...i don't fancy typing out 40.000 probably factors.
-michael |
|
|
|
|
|
#8 | |
|
Dec 2003
101112 Posts |
Quote:
|
|
|
|
|
|
|
#9 |
|
Jun 2003
Russia, Novosibirsk
2·107 Posts |
The new project MPA 2005 needs a lot in a compiled version of verifyfactors! I wrote my own, but it is still are very slow... Compiled version for WinXP is very good! Maybe after I'll place documentation to the MPA plugins structure someone will code it using ASM?
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Extending the database/limits of GIMPS | NBtarheel_33 | Data | 9 | 2010-11-29 06:19 |
| program to verify factors found by sr(x)sieve? | mdettweiler | Software | 16 | 2009-03-08 02:06 |
| Program to verify factors | HiddenWarrior | LMH > 100M | 5 | 2005-04-18 09:00 |
| Home-grown GIMPS database with Python/MySQL | leifbk | Programming | 6 | 2005-02-09 02:43 |
| More factors found with a new program | alpertron | ElevenSmooth | 8 | 2003-10-15 10:29 |