mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Factoring

Reply
 
Thread Tools
Old 2005-03-14, 22:39   #1
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

18D416 Posts
Default Serious ECMNet Client/Server 2.5.7 bug

I should kick myself for releasing code with this bug.

In the 2.5.7 and 2.5.6 releases there is a bug in Work.cpp that will cause the client to rarely (if ever) find a factor. If you running with the new client, you will have to fix this problem immediately.

Until I release 2.5.8, this is what you have to do. In Work.cpp in the procedure SetUpCall, look for the line:

sprintf(s_Command, "%s -sigma 2937239194 %s < %s > %s", s_GMPExe, temp1, s_InWorkFileName, s_OutWorkFileName);

change it to

sprintf(s_Command, "%s %s < %s > %s", s_GMPExe, temp1, s_InWorkFileName, s_OutWorkFileName);


I am seriously embarassed by this bug and am very sorry for the ECM work that will be lost as a result. I myself lost over 1 year of ECM factoring because of this. I will let you know when 2.5.8 is released.

--Mark Rodenkirch

Last fiddled with by rogue on 2005-03-14 at 22:45
rogue is online now   Reply With Quote
Old 2005-03-14, 23:15   #2
frmky
 
frmky's Avatar
 
Jul 2003
So Cal

41208 Posts
Default

Version 2.5.6 is ok. I've been running it for quite a while now on the XYYXF composites, and have found quite a number of factors. In fact, it's running right now with the following work_a.out:

GMP-ECM 6.0 [powered by GMP 4.1.4] [ECM]
Input number is 32...19 (219 digits)
Using B1=1000000, B2=839549779, polynomial Dickson(3), sigma=3798466865

so sigma isn't at 2937239194 in that version.

Greg
frmky is offline   Reply With Quote
Old 2005-03-14, 23:27   #3
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

22·7·227 Posts
Default

Thanks. It's nice to know that only that release has the problem. That limits the scope significantly.
rogue is online now   Reply With Quote
Old 2005-03-15, 22:06   #4
frmky
 
frmky's Avatar
 
Jul 2003
So Cal

1000010100002 Posts
Default

It looks like I may have spoken too soon! Were there two different 2.5.6 releases? The one I compiled right after the initial release does not have the bug, but the one I downloaded on Feb 17 and compiled on my Linux machine does have the bug! Both claim to be 2.5.6. Hmmm...
frmky is offline   Reply With Quote
Old 2005-03-16, 01:42   #5
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

22·7·227 Posts
Default

Quote:
Originally Posted by frmky
It looks like I may have spoken too soon! Were there two different 2.5.6 releases? The one I compiled right after the initial release does not have the bug, but the one I downloaded on Feb 17 and compiled on my Linux machine does have the bug! Both claim to be 2.5.6. Hmmm...
You probably had a pre-release which I modified before submitting to Paul. Paul's site still says that both are probably affected by the bug. I hope that anyone who is using the new client has d/l'd 2.5.8.
rogue is online now   Reply With Quote
Old 2005-03-21, 13:06   #6
antiroach
 
antiroach's Avatar
 
Jun 2003

22·61 Posts
Default

ive got a quick question about how the behavior of the ecmnet server (2.5.8). When a person is assigned a number are they the only ones who can be working on it or is it possible for multiple people to be assigned the same number to work on at the same time?
antiroach is offline   Reply With Quote
Old 2005-03-21, 15:24   #7
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

11000110101002 Posts
Default

Quote:
Originally Posted by antiroach
ive got a quick question about how the behavior of the ecmnet server (2.5.8). When a person is assigned a number are they the only ones who can be working on it or is it possible for multiple people to be assigned the same number to work on at the same time?
Yes, multiple people can have the same assignment. Use the strategies in the ecmserver.cfg file to reduce the likelihood of that happening.
rogue is online now   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
ECMNet Client/Server 2.7.2 is Released rogue Factoring 0 2006-06-03 15:13
ECMNet Client/Server 2.7.1 is Released rogue GMP-ECM 3 2006-05-26 13:19
ECMNet Client/Server 2.5.7 is Released rogue Factoring 8 2006-03-26 13:31
ECMNet Client/Server 2.7.0 is Released rogue GMP-ECM 24 2006-01-03 19:07
ECMNet Client/Server 2.5.6 is Released rogue Factoring 9 2005-01-11 03:12

All times are UTC. The time now is 23:22.


Fri Aug 6 23:22:51 UTC 2021 up 14 days, 17:51, 1 user, load averages: 3.64, 3.95, 4.00

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.