![]() |
|
|
#353 | ||||
|
Sep 2008
Krefeld, Germany
E616 Posts |
Quote:
Quote:
Quote:
Quote:
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. |
||||
|
|
|
|
|
#354 | |
|
Mar 2006
25×3×5 Posts |
Quote:
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. Last fiddled with by WraithX on 2009-06-07 at 01:37 Reason: addendum |
|
|
|
|
|
|
#355 | ||||
|
Sep 2008
Krefeld, Germany
23010 Posts |
Quote:
Quote:
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:
Quote:
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 |
||||
|
|
|
|
|
#356 |
|
Mar 2006
7408 Posts |
|
|
|
|
|
|
#357 |
|
Sep 2008
Krefeld, Germany
2·5·23 Posts |
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. |
|
|
|
|
|
#358 |
|
Mar 2006
Germany
22·727 Posts |
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. |
|
|
|
|
|
#359 |
|
"Nancy"
Aug 2002
Alexandria
2,467 Posts |
|
|
|
|
|
|
#360 |
|
Mar 2007
Germany
23×3×11 Posts |
I Have started the Windows worker.exe and it looks ok
|
|
|
|
|
|
#361 |
|
Just call me Henry
"David"
Sep 2007
Cambridge (GMT/BST)
2×33×109 Posts |
i think allowing windows workers has worked a treat
we now have several external workers |
|
|
|
|
|
#362 |
|
Aug 2006
3×1,993 Posts |
Yes, this is good news!
|
|
|
|
|
|
#363 |
|
Oct 2004
Austria
2·17·73 Posts |
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 |
|
|
|
![]() |
| 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 |