mersenneforum.org  

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

Reply
 
Thread Tools
Old 2006-03-18, 05:31   #1
Andi47
 
Andi47's Avatar
 
Oct 2004
Austria

7×353 Posts
Question Why does it do only one curve?

I have installed msys and gmp-ecm as described in the readme file and tried to do some curves on the C205 - entered this line:

ecm -c 372 1e6 <1701-c205 >1701-c205-1M.out

I intended to get 372 curves, but I got only one. What did I do wrong?
Andi47 is offline   Reply With Quote
Old 2006-03-18, 17:52   #2
Andi47
 
Andi47's Avatar
 
Oct 2004
Austria

7·353 Posts
Default

Anyone help me how to get more than one curve?
Andi47 is offline   Reply With Quote
Old 2006-03-18, 18:11   #3
Mystwalker
 
Mystwalker's Avatar
 
Jul 2004
Potsdam, Germany

14778 Posts
Default

I just tried to retrace your problems. The only scenario I got such a behavior was when a factor has been found and the co-factor is probable prime.

Could you post your output file, please?
Mystwalker is offline   Reply With Quote
Old 2006-03-18, 19:24   #4
Andi47
 
Andi47's Avatar
 
Oct 2004
Austria

9A716 Posts
Default

Here it is - I renamed it to .txt for uploading.

I see no factor in this file - it only gives the time steps one and two took.
Attached Files
File Type: txt 1701-c205-1M.txt (395 Bytes, 127 views)
Andi47 is offline   Reply With Quote
Old 2006-03-18, 21:23   #5
Mystwalker
 
Mystwalker's Avatar
 
Jul 2004
Potsdam, Germany

3×277 Posts
Default

Unfortunately, I wasn't able to reproduce your problem. I tried the same number with the same command line, but it worked for me.

I could think of two more problem sources:
1. Maybe there is something wrong with input/output. Just enter the number at command line ("echo <number> | ecm <...>") and don't redirect the output to a file.

2. Maybe your ecm file is somehow corrupt. Try recompiling it or take a suitable binary from this thread.

Hope this helps!
Mystwalker is offline   Reply With Quote
Old 2006-03-18, 22:28   #6
axn
 
axn's Avatar
 
Jun 2003

7·683 Posts
Default

If the input file doesn't have a terminating newline character after the number, gmp-ecm will quit after the first curve. Just add a newline to your input file and you should be ok.

Last fiddled with by axn on 2006-03-18 at 22:28
axn is offline   Reply With Quote
Old 2006-03-19, 06:38   #7
Andi47
 
Andi47's Avatar
 
Oct 2004
Austria

7×353 Posts
Default

Quote:
Originally Posted by axn1
If the input file doesn't have a terminating newline character after the number, gmp-ecm will quit after the first curve. Just add a newline to your input file and you should be ok.
Thanks. Now added the newline char, it works.
Andi47 is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Elliptic Curve Arithmetic Raman Math 8 2009-04-13 19:20
Lucky gmp-ecm curve... WraithX GMP-ECM 4 2009-01-12 16:29
Work Per ECM Curve wblipp GMP-ECM 8 2008-12-28 14:24
Elliptic curve method Dirac Factoring 11 2007-11-01 14:01
Curve Counts Prime95 Factoring 23 2005-03-22 16:43

All times are UTC. The time now is 04:27.

Mon Nov 30 04:27:17 UTC 2020 up 81 days, 1:38, 3 users, load averages: 1.36, 1.37, 1.28

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.