mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > FactorDB

Reply
 
Thread Tools
Old 2009-06-06, 23:57   #353
Syd
 
Syd's Avatar
 
Sep 2008
Krefeld, Germany

E616 Posts
Default

Quote:
Originally Posted by miklin View Post
Hello, whether Respected SYD.А it is possible as not be to receive processing files php and base sql. For installation on the server.

Yours faithfully Sergey Miklin.
No, its closed-source-"spaghetti"-code.

Quote:
Originally Posted by akruppa View Post
Andi47 pointed out that 7771 curves with B1=43M and B2=4.3G are listed under my name for Aliquot sequence 4788 index 2409 (http://factorization.ath.cx/search.php?id=39375746), but I didn't do them. Is this an error in the DB, or did someone report curves under my name?

Alex
Hm. Just looked it up in the logs, it seems like these curves were reported. Maybe you reported them for some other number and a bug sent them over?

Quote:
Originally Posted by 10metreh View Post
Whoever it was wanted to get on with their own number, and they put in fake curves. I once did this for another reason (because one person was persistently babysitting their number), but putting in a fake name makes it even worse.

Maybe we should have to register in order to submit curves?
What do the others think? I could put up some register-email-validation-code thing, but is it really necessary?

Quote:
Originally Posted by henryzz View Post
Code:
#0: 120 curves with B1: 120000, B2: 90000000 on C118
#0: 120 curves with B1: 120000, B2: 90000000 on C117

.....

#0: 1 curves with B1: 3000000, B2: 7000000000 on C225
all of these are one digit lower than on http://factorization.ath.cx/workerstatus.php
i am using the precompiled binary
Fixed Together with the "stops-and-does-nothing"-bug. Use this link:
http://factorization.ath.cx/worker.tar.bz2

Maybe it already compiles for windows, just haven't tried.
Syd is offline   Reply With Quote
Old 2009-06-07, 01:19   #354
WraithX
 
WraithX's Avatar
 
Mar 2006

25×3×5 Posts
Default

Quote:
Originally Posted by Syd View Post
Fixed Together with the "stops-and-does-nothing"-bug. Use this link:
http://factorization.ath.cx/worker.tar.bz2

Maybe it already compiles for windows, just haven't tried.
Well, it didn't compile with mingw, it is currently using several "unix" include files/functions that windows doesn't have, and if it does have them, they are in different places. (I may research how to change this, if you would like me to look, Syd?)

However, it compiles just fine in cygwin. I am running it right now. I think it briefly showed up in the workers queue as #100 "Testing...", but I'm not sure if that was me or not. BTW, I had to change the makefile slightly to get it to compile in cygwin. I had to move the -lgmp to the end of the line to get it to compile for me.

edit: Also, (I ask because I've looked at the code) do I have to have ecm or msieve in the same directory (or "in the path") in order for this worker to "work"? This may be why it has 0% cpu utilization. Hmmm... let me put those binaries in there and see what happens. (brb)

How do I know if it's working or not? It has printed a bunch of lines like:
#0 120 curves with B1: 120000, B2: 90000000 on C118
I see the C118 change from time to time to C117 or C116. I guess this is part of the testing process? To make sure my machine is returning correct results?

Oops, and now it just segfaulted. Would the stackdump file be useful to you Syd? The whole time it was running it was only using 5MB of memory and 0% cpu utilization. I'm running it again to see if that happens again. Should I also test it with multiple threads? Right now I'm just starting it with ./worker.exe and letting it run. I'll let you know if anything happens to the current run. Let me know what you think of my above questions.

edit: Also (from looking at the code), do I need to have an ecm or msieve binary in the same folder (or in my path) so that the worker can find them? This may be why the worker is only at 0% cpu utilization. Hmmm... I'll put the binaries in there now and see what happens.

edit2: Aha! It has now spawned an ecm process and it has shown up on the worker status page. If anyone has cygwin installed you can use the binary I am attaching. FYI, you will need to get ecm and/or msieve and put them in the same folder you run this binary from. Jeff Gilchrist has compiled those for Windows and you can find them HERE.
Attached Files
File Type: exe worker.exe (93.9 KB, 73 views)

Last fiddled with by WraithX on 2009-06-07 at 01:37 Reason: addendum
WraithX is online now   Reply With Quote
Old 2009-06-07, 01:42   #355
Syd
 
Syd's Avatar
 
Sep 2008
Krefeld, Germany

23010 Posts
Default

Quote:
Originally Posted by WraithX View Post
Well, it didn't compile with mingw, it is currently using several "unix" include files/functions that windows doesn't have, and if it does have them, they are in different places. (I may research how to change this, if you would like me to look, Syd?)
I guess its select and execlp? Cygwin should be fine.


Quote:
Originally Posted by WraithX View Post
However, it compiles just fine in cygwin. I am running it right now. I think it briefly showed up in the workers queue as #100 "Testing...", but I'm not sure if that was me or not. BTW, I had to change the makefile slightly to get it to compile in cygwin. I had to move the -lgmp to the end of the line to get it to compile for me.

edit: Also, (I ask because I've looked at the code) do I have to have ecm or msieve in the same directory (or "in the path") in order for this worker to "work"? This may be why it has 0% cpu utilization. Hmmm... let me put those binaries in there and see what happens. (brb)
Great work!
I guess it has to be in $PATH on windows, this is how ecm is executed:
execlp("ecm","ecm","-one","-c",curves,b1,b2,NULL)

maybe its "ecm.exe" on windows?

Quote:
Originally Posted by WraithX View Post

How do I know if it's working or not? It has printed a bunch of lines like:
#0 120 curves with B1: 120000, B2: 90000000 on C118
I see the C118 change from time to time to C117 or C116. I guess this is part of the testing process? To make sure my machine is returning correct results?
This is the initial testing work (B1=120000), seems like your client fails the tests and is disconnected afterwards. Maybe cause it cant find the ecm executable?

Quote:
Originally Posted by WraithX View Post
Oops, and now it just segfaulted. Would the stackdump file be useful to you Syd? The whole time it was running it was only using 5MB of memory and 0% cpu utilization. I'm running it again to see if that happens again. Should I also test it with multiple threads? Right now I'm just starting it with ./worker.exe and letting it run. I'll let you know if anything happens to the current run. Let me know what you think of my above questions.
Just starting it should be fine. Maybe give your worker a name so you can see what its doing on the status page.


edit:
Nice one! Its running, passed all tests and does some "real" work now!

Last fiddled with by Syd on 2009-06-07 at 01:44
Syd is offline   Reply With Quote
Old 2009-06-07, 01:48   #356
WraithX
 
WraithX's Avatar
 
Mar 2006

7408 Posts
Default

Quote:
Originally Posted by Syd View Post
edit:
Nice one! Its running, passed all tests and does some "real" work now!
Does it hurt to kill it in the middle of a curve? Like if I want to give it a name or use a different number of threads?
WraithX is online now   Reply With Quote
Old 2009-06-07, 01:51   #357
Syd
 
Syd's Avatar
 
Sep 2008
Krefeld, Germany

2·5·23 Posts
Default

Quote:
Originally Posted by WraithX View Post
Does it hurt to kill it in the middle of a curve? Like if I want to give it a name or use a different number of threads?
You can kill it any time. Just the current curve is discarded.

Last fiddled with by Syd on 2009-06-07 at 02:07 Reason: spelling.
Syd is offline   Reply With Quote
Old 2009-06-07, 08:24   #358
kar_bon
 
kar_bon's Avatar
 
Mar 2006
Germany

22·727 Posts
Default

the WIN-version seems to run ok. with cygwin1.dll (1873811 bytes), ecm.exe and msieve.exe in same folder!
just now only ECM-work done.
kar_bon is offline   Reply With Quote
Old 2009-06-07, 12:07   #359
akruppa
 
akruppa's Avatar
 
"Nancy"
Aug 2002
Alexandria

2,467 Posts
Default

Quote:
Originally Posted by Syd View Post
Hm. Just looked it up in the logs, it seems like these curves were reported. Maybe you reported them for some other number and a bug sent them over?
I reported a few curves for Aliq276.1635 but none with the B1 or B2 or count reported for Aliq4788.2409.

Alex
akruppa is offline   Reply With Quote
Old 2009-06-07, 12:16   #360
Andi_HB
 
Andi_HB's Avatar
 
Mar 2007
Germany

23×3×11 Posts
Default

I Have started the Windows worker.exe and it looks ok
Attached Thumbnails
Click image for larger version

Name:	Worker.JPG
Views:	98
Size:	30.1 KB
ID:	3749  
Andi_HB is offline   Reply With Quote
Old 2009-06-07, 15:59   #361
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Cambridge (GMT/BST)

2×33×109 Posts
Default

i think allowing windows workers has worked a treat
we now have several external workers
henryzz is offline   Reply With Quote
Old 2009-06-07, 16:09   #362
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

3×1,993 Posts
Default

Yes, this is good news!
CRGreathouse is offline   Reply With Quote
Old 2009-06-07, 16:37   #363
Andi47
 
Andi47's Avatar
 
Oct 2004
Austria

2·17·73 Posts
Default

hmmmm... the windows binary doesn't work for me - can't start application, cygwin1.dll not found.

Edit: downloaded cygwin1.dll and got it go run now, but...

it sayd "using 4 cpus" (?? this PC only has 1 cpu)

are there any options to set the number of cpus and to give a name to the worker?

Last fiddled with by Andi47 on 2009-06-07 at 16:43
Andi47 is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Database for k-b-b's: 3.14159 Miscellaneous Math 325 2016-04-09 17:45
Factoring database issues Mini-Geek Factoring 5 2009-07-01 11:51
database.zip HiddenWarrior Data 1 2004-03-29 03:53
Database layout Prime95 PrimeNet 1 2003-01-18 00:49
Is there a performance database? Joe O Lounge 35 2002-09-06 20:19

All times are UTC. The time now is 15:38.


Fri Aug 6 15:38:39 UTC 2021 up 14 days, 10:07, 1 user, load averages: 2.39, 2.55, 2.71

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.