mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > GMP-ECM

Reply
 
Thread Tools
Old 2015-12-31, 18:20   #1
Gordon
 
Gordon's Avatar
 
Nov 2008

3·167 Posts
Default GMP-ECM & Prime95 Stage 1 Files

Hi,

I am using Prime95 to do stage 1 factoring on small exponents (typically less than 50k) and then feeding those curves, about 1000 at a time into GMP-ECM for stage 2.

With the latest version posted here, it doesn't like the part of the file that has the date/time in throwing this

"Error, save file line has no '=' in : [Fri Dec 11 18:"

I can solve it by opening the file in notepad++ and doing a regex replace as follows

find: (\W).*(])
replace: null or space

Although this is low priority can some future version coexist happily with P95 stage 1 output files?
Gordon is offline   Reply With Quote
Old 2015-12-31, 18:59   #2
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

2·3·19·67 Posts
Default

I'll look into a prime95 option. Although best would be for GMP-ECM to just ignore any lines it does not understand.
Prime95 is offline   Reply With Quote
Old 2016-01-01, 19:54   #3
WraithX
 
WraithX's Avatar
 
Mar 2006

1E616 Posts
Default

It looks like GMP-ECM did ignore lines it didn't understand until svn revision 2681. At that point, a change was made so that "with -resume, now abort in case of corrupted line".

I'll send PaulZ an email and ask what he thinks of switching back to the old way of handling resume lines, or if there is another option we can explore.
WraithX is offline   Reply With Quote
Old 2016-01-08, 12:44   #4
WraithX
 
WraithX's Avatar
 
Mar 2006

48610 Posts
Default

I have reverted this change with svn 2750. GMP-ECM will perform like it did before and skip lines it isn't expecting.
WraithX is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to use prime95 for stage 1 & GMP-ECM for stage 2 Prime95 Lone Mersenne Hunters 111 2015-06-13 03:18
Stage 1 with mprime/prime95, stage 2 with GMP-ECM D. B. Staple Factoring 2 2007-12-14 00:21
Backing up Prime95 files markhl Software 1 2006-03-21 22:50
P4 Prescott - 31 Stage Pipeline ? Bad news for Prime95? Angular Hardware 18 2004-11-15 07:04
p95 v2.34 not writing save files during P-1 stage 2 geoff Software 4 2003-06-11 08:33

All times are UTC. The time now is 21:35.


Sun Oct 24 21:35:32 UTC 2021 up 93 days, 16:04, 0 users, load averages: 0.82, 1.08, 1.08

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.