-   Factoring (
-   -   Stage 1 with mprime/prime95, stage 2 with GMP-ECM (

D. B. Staple 2007-12-12 17:09

Stage 1 with mprime/prime95, stage 2 with GMP-ECM
There seems to be a lot of encouragement from people here to run stage one ECM with mprime/prime95, and stage two with GMP-ECM. From what I have read, a lot of work has gone into merging these two great programs, but this has all been 'beta', and due to issues / heartbreak etc. it will likely stay that way for some time.

In the meantime, the question is how exactly to go about running stage one and stage two separately. In this thread:
it is implied that copying a line from the mprime results.txt to some gmp-ecm input is sufficient. I find this strange, since the only line in my resu0000.txt file is (minus the date):
"2^1048576+1 completed 1 ECM curves, B1=1000000, B2=100000000"

To make this post more readable, I'll summarize the relevant questions here:

(1) what steps are necessary to instruct mprime/prime95 to perform only stage one, and save the results (to a gmp-ecm readable file).

(2) will doing a:
ecm -resume file B2
be sufficient to cause GMP-ECM to perform stage-2 (only) to the limit B2?

S485122 2007-12-12 17:38

In Prime95's undoc.txt there is the following :

"Alexander Kruppa wrote some code that allows the output of ECM stage 1 to
be passed to Paul Zimmermann's more efficient GMP-ECM stage 2. This program(*)
is usually faster in stage 1. You can activate this feature by entering
in prime.ini. Then select ECM bound #2 between 1 and bound #1. Results.txt
will contain data that can be fed to GMP-ECM for stage 2."
(*) Meaning Prime95 of course.


D. B. Staple 2007-12-14 00:21

I should have realized I was missing something simple; I only checked readme.txt and the gmp-ecm documentation, and thought that this was everything.


All times are UTC. The time now is 13:14.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.