mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Factoring

Reply
 
Thread Tools
Old 2007-12-12, 17:09   #1
D. B. Staple
 
D. B. Staple's Avatar
 
Nov 2007
Halifax, Nova Scotia

23·7 Posts
Default 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:
http://www.mersenneforum.org/showthr...mp-ecm+prime95
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?
D. B. Staple is offline   Reply With Quote
Old 2007-12-12, 17:38   #2
S485122
 
S485122's Avatar
 
Sep 2006
Brussels, Belgium

1,597 Posts
Default

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
GmpEcmHook=1
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.

Jacob
S485122 is online now   Reply With Quote
Old 2007-12-14, 00:21   #3
D. B. Staple
 
D. B. Staple's Avatar
 
Nov 2007
Halifax, Nova Scotia

23×7 Posts
Default

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.

Thanks!
D. B. Staple is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
GMP-ECM & Prime95 Stage 1 Files Gordon GMP-ECM 3 2016-01-08 12:44
How to use prime95 for stage 1 & GMP-ECM for stage 2 Prime95 Lone Mersenne Hunters 111 2015-06-13 03:18
Need help to run stage 1 and stage 2 separately jasong GMP-ECM 9 2007-10-25 22:32
P4 Prescott - 31 Stage Pipeline ? Bad news for Prime95? Angular Hardware 18 2004-11-15 07:04
Stage 1 and stage 2 tests missing Matthias C. Noc PrimeNet 5 2004-08-25 15:42

All times are UTC. The time now is 17:24.

Sun Nov 29 17:24:35 UTC 2020 up 80 days, 14:35, 4 users, load averages: 2.04, 1.65, 1.50

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