mersenneforum.org  

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

Reply
 
Thread Tools
Old 2005-08-23, 13:05   #1
fetofs
 
fetofs's Avatar
 
Aug 2005
Brazil

16A16 Posts
Default Problem to continue residues

When I try to input my file from P95 GMP-ECM gives a strange message...

Code:
ecm -n -resume results.txt 1 1000000-(ecm default)
GMP-ECM 6.0.1 [powered by GMP 4.1.4] [ECM]
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after: 
Save file line has no equal sign after:
...and doesn't factor anything.
fetofs is offline   Reply With Quote
Old 2005-08-23, 13:54   #2
akruppa
 
akruppa's Avatar
 
"Nancy"
Aug 2002
Alexandria

25×7×11 Posts
Default

GMP-ECM expects lines with stuff like "QX=0x" in them, the parser first checks for an "=" sign and prints that error message when it finds none.

Check the contents of the results.txt file. Are there such lines in there? Did you set GMPECMHOOK=1 in prime.ini?

Alex
akruppa is offline   Reply With Quote
Old 2005-08-23, 21:29   #3
fetofs
 
fetofs's Avatar
 
Aug 2005
Brazil

5528 Posts
Unhappy

Code:
N=0xB0CF800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001; QX=0xA0186709F45C55D67F6B6C17AA378F0F0AF6D40C973EBADFA1866E305DD85291E3FFB87A7CE5CAC265F863AF0CC7636F7A86A6F52C04AB8A05D09499115174A38C6C1EE7B65B903BB6C1BC2941DF12F8FEFD58800006DD79638033426D35E5EBE325ABB1DDC7665BFCEBD8091D6E3FB8196C3824E14B2AF164C70424E1F212AC9CA2F5ABE366BF2AE63E8BFFAE70BF95B48F418CD9E5020C1262E485CF836D8014E56BAB8C84F09EA0C8ECBC35F8481F56CDD600B5AFBB6C16EC2F3A590633; SIGMA=7637281696851060
N=0xB0CF800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001; QX=0x8D363C4D7D0FB634FCFD0BF48ADD46EDD19A1B49C77278F8BD07077A20FEA0647A49AB3F09419036624A04D13A22898013BA2BACB66179BE33772F4F9F794E56D8BB950A35EE12F5BB79C793CDA23F4AB74C2546B4D92E087602E08190F9FF32BB7F9F40B1DBD5F245279EB033FACAD573235AF0CB112E6CBA5FE5774D65595F3A0E22E7E645D1E651863E9D54DD0B910520FFA4EC1FA65194E4497FDD61D7ED98F1674E988E271257C72626F1C941DB5E1D906741347A74222E007A1F55A4; SIGMA=8829180641302799
N=0xB0CF800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001; QX=0x782C0260239E857930079FB5B6AF00CC413D724047ECE678A05D2C01AA68D5EFF59D648D43FC4047BF8706087865342F7A46EB3EAD749F0232F34AA36CF21FED5B8F17BCB1E0A98C74C339198089882AA30C8BDA76E8C23AADEDF3DEA850A409B84F6E666825B5EA2854145CEAEDF0C0893C03067D39F7046978479E6C3649E0BD7883265677DFB9C0A0084503555E7DB4D7AFC70EF656EAB471F1357A62598FC7D4712A6240B33784EFDA9B4E0D397DD7CFA93882B1BDB7D6348BE616C270; SIGMA=6540878153703380
...[results file shortened]...
N=0xB0CF800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001; QX=0x8897C30B681A287557BE84F0E9703A1A1BA3BBEFF2C575D45603E1A01733D3FAF021805AD46B04BB9BE975E72ED21CB247F1F00DBC75E6369E82225D99EFA5F6A7840D2E9F2CFC6F5271C1457B4F2333904FAC472A5925EB391546051305C7013DE49B8B5536FC7078B17FA77EB006DB5571094F6BD6CF8A4DC7408B650488A4871669C55E8F3E876B49D7E9169C3C1BECCD40AA10BAA1699C3BAE9652417E9752491056A8EA29645D0EF58A0B69BEE7F4898A56BB78C85A6FA0F7AC6B13F2; SIGMA=6044667202997978
N=0xB0CF800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001; QX=0x546E34E03FAAC724CB74D9E4092C2BB640527F17B88AFC2E7A90C78F93B409CAC920E02022B13896E66E0C9CBF060ACAFC1D94F36099F058884AB4B62B8B4CF4CFBB5DD6B92478A5B6060D9169AC576B12E3BC222879F7B9FAD69B50118DE500FFA8AA489ACDA2F80ADB1569E6DAD58BDCCB5947AE4551DEF265140C44978CBCE3740D19CCEAE78F281318B7EA85FE8A6ED796D7E5306C474AFFF03BBC0F6C3FEBF776A4995CE8AB53BC05609AA1679E66E0CF56F8EC2E05E6670A17B4DFB2; SIGMA=4601339894875194
N=0xB0CF800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001; QX=0x2D4FC9C7455073882F5A662A620B5B8E5617FB953C10C4535396C0E8B1F9F7AAC461A9D751553602908F65A4A67E909469B613CF2F3A246CD3E9C599F3368F7CC16AF7F5729D0976A1C1C40F82CD6CD944B456811E4D7E79792BDA5690E894A7118701406A519E67E6B76E0F4FA84A2D221536A196390DBEAB20B4AC969CEA4461CE4A2A4F3474D4A1AF33C950F77BE4FB111735CCD838F2892C6667BFA72A1601633467BB3697A46246441428CE3F67E023EE1EB31C3D77C061426C6E2B4; SIGMA=8798175670433087
N=0xB0CF800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001; QX=0x545346AC00117A6617ADB59A7495E5CAB2095E62710FCAE5CAF1D2B92DE86982DF02B1182EB2E264D3306CFE381BF99AFC53D6725A862560FC661C0032C23D1F4C7AC48D9557F7AB651F827F3358A64A91C88AA561203083C2A0FFCE37E5DD7F701E61EFC08916A7B8927F7BB5DB51DEBE2BBC137B76A5D8F642441AD9C5348A9A794C4B2498477DB7A81F943B7FF3D9B6996C9EF27D94B8C7BCF1433D47AB0948E998BBADFD7AB2FF10110C8E117FDFF6597C4B9BD8B9BE6956C541893410; SIGMA=4553858955369323
N=0xB0CF800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001; QX=0x6D79403922DA683042B1C622C98C29C73AD5D37726C05A9CC71D203693988ADB809EB4F1C161A2E09ADD09A789E63B0FA9A760D5553B0980107F3B7E841AE3140DD04822FDD05740417618DDE909CE320B5F255367007B3F86509DD891CF4F3FB7661906484D822F0AF30871CEA29BD1B59DF2FF07CBB26E34EE80EDF8EB95934BFA5A86017100F69B05E982FC9B5CE03B9A3147BD68C9246FA6687E45ED01FF9B6FDFD957B64348F19D8B7E24103C45CB984D1AC8C560C08B05D5B59DEBA4; SIGMA=2272977601947710
N=0xB0CF800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001; QX=0x871112EBACDAACA7D4100497B6EE2B06E411718DBF2255E4609FFC66C4D70C5BC7353F96F538AC754834874FB30D14C4FE5CF064CFBF62ABDCF35C3EBD0E5309934CFC0AD5C1ECABBBEB8C7D46031942F35CEC06EC16CEE55B992B9785FC58585513B5BBACC5421D47B933D75E59E4DA896ADA58B56E53CBADB2A769B91729620393943E8209F8915F5D83B8B71AABF7115BD0D61420FE01E3B7049739BF41E713DAB62B9A2C611A649296299A13119506ECF727C1191651B0FAC668038D40; SIGMA=4354233502836171
N=0xB0CF800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001; QX=0x4DA4DA9A1DF0701481552463948812BD9B93E02FFB05A116E47A057097CDCE93707E9E74D2FDA0009D00A580E71514C2C140144AA5B9F24E87BFA05A68A9CD153DBFABE75320B396D8C50CFC4025E4AB4573E3F530747C197F5C22BF9D197D4A814DA41DEDBA57B20096DB2E0CDDDEA66BAA851A43771924B7AEFF16250361D11FBEEB3F64C604BF08F4B9250F4F9502FF12DB41984890434722345EB3FDCB6535B8D82D1F26E8118D5CF825A9842740055254E5CFE8BD9B8B87B38F62FF10; SIGMA=1772664891007630
N=0xB0CF800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001; QX=0x7A7BCD84F51EA1A79809BD3FA0A4B62F221E6FF10E6793826532F2934B865B8063D4BB708A135C690CAE84F1735693A5BC35E58C1285E09933922E6A340BED4CBBD09502260478FB1A8DDB6337D35E43C983952102BF9B2C26BFD52A01460B105578C39399AFD71815A8888F88B6FFF13E7AF6CA58A04EA26BC02B67FA48A67285FB2470B034EA282B2F1081071B4559021B93615ECB065F793AF32411FD00EC2A0209F3A84AAFE36C9CCE0379C1B91443C00123E28139687425E4F6D66C1D; SIGMA=9175336932740
Guess my results file is OK... Oh, and Prime95 has GmpEcmHook=1 in prime.ini... Is there any difference on using capital letters?
fetofs is offline   Reply With Quote
Old 2005-08-23, 21:41   #4
akruppa
 
akruppa's Avatar
 
"Nancy"
Aug 2002
Alexandria

25×7×11 Posts
Default

The save file looks ok. Strange.

1. What system are you on?
2. If the file is not excessively large (<1MB, say), could you please email it to me? mylastname@in.tum.de (substitute mylastname by kruppa).

Alex
akruppa is offline   Reply With Quote
Old 2005-08-23, 22:21   #5
fetofs
 
fetofs's Avatar
 
Aug 2005
Brazil

2·181 Posts
Default

Quote:
Originally Posted by akruppa
The save file looks ok. Strange.

1. What system are you on?
2. If the file is not excessively large (<1MB, say), could you please email it to me? mylastname@in.tum.de (substitute mylastname by kruppa).

Alex
I'm running a Windows XP here
(e-mail sent!)
fetofs is offline   Reply With Quote
Old 2005-08-23, 23:06   #6
garo
 
garo's Avatar
 
Aug 2002
Termonfeckin, IE

2×5×251 Posts
Default

I remember having a similar problem with 5.0.3 It had to do with either N being expressed in hex whereas GMP-ECM expects decimal or the second field starting wih QX= whereas GMP-ECM expects X=.

I wrote a script to get around it but ideally we'd want GMP-ECM to parse Prime95 savefiles correctly
garo is offline   Reply With Quote
Old 2005-08-23, 23:10   #7
akruppa
 
akruppa's Avatar
 
"Nancy"
Aug 2002
Alexandria

25×7×11 Posts
Default

Which it should. The save file looks ok to me and under Linux, GMP-ECM 6.0.1 processes it happily. I can't tell right now what might be wrong here. Tomorrow...

Alex
akruppa is offline   Reply With Quote
Old 2005-08-23, 23:26   #8
garo
 
garo's Avatar
 
Aug 2002
Termonfeckin, IE

1001110011102 Posts
Default

Maybe it is a windows issue as I generated the results file in Linux and wanted to run stage 2 on an atholon running Windows.

Last fiddled with by garo on 2005-08-23 at 23:27
garo is offline   Reply With Quote
Old 2005-08-24, 02:09   #9
Joe O
 
Joe O's Avatar
 
Aug 2002

3·52·7 Posts
Default

Quote:
Originally Posted by garo
Maybe it is a windows issue as I generated the results file in Linux and wanted to run stage 2 on an atholon running Windows.
Carriage Return vs Carriage Return Line feed or is it Line Feed vs Carriage Return Line Feed
Use Unix2dos on it, or open it in Word Pad (not Note Pad) and do a "save as "to a text file - MS Dos format. You may have to edit a line or two as well (any edit change a character back to itself), but what you are doing is changing it from a *nix terminated file to a Microsoft terminated file
Joe O is offline   Reply With Quote
Old 2005-08-25, 12:46   #10
fetofs
 
fetofs's Avatar
 
Aug 2005
Brazil

2·181 Posts
Default

I made another executable using MSys and it seems to work. Strange.
Just a question:
Is it possible to resume the work after you finish some curves?
fetofs is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
gmp-ecm: Which B1 to continue yoyo GMP-ECM 1 2014-02-27 20:03
Continue my work... Eaglenait Data 1 2013-02-14 19:23
residues and non residues of general quadratic congruences smslca Math 0 2012-10-12 06:42
How do we continue sieving? hhh Prime Cullen Prime 2 2007-06-22 02:32
Continue this series Reboot It Puzzles 59 2003-08-11 13:39

All times are UTC. The time now is 09:05.

Tue Oct 20 09:05:40 UTC 2020 up 40 days, 6:16, 0 users, load averages: 2.10, 1.87, 1.71

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.