mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   GMP-ECM (https://www.mersenneforum.org/forumdisplay.php?f=55)
-   -   Why does it do only one curve? (https://www.mersenneforum.org/showthread.php?t=5619)

Andi47 2006-03-18 05:31

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 2006-03-18 17:52

Anyone help me how to get more than one curve? :help:

Mystwalker 2006-03-18 18:11

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?

Andi47 2006-03-18 19:24

1 Attachment(s)
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.

Mystwalker 2006-03-18 21:23

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 [url=http://www.mersenneforum.org/showthread.php?t=4087]this thread[/url].

Hope this helps!

axn 2006-03-18 22:28

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.

Andi47 2006-03-19 06:38

[QUOTE=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.[/QUOTE]

Thanks. Now added the newline char, it works. :smile:


All times are UTC. The time now is 01:57.

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