mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Sierpinski/Riesel Base 5 (https://www.mersenneforum.org/forumdisplay.php?f=54)
-   -   LLRNet as a NT service (https://www.mersenneforum.org/showthread.php?t=6293)

rover 2006-09-05 08:28

LLRNet as a NT service
 
Hi!

After starting the LLRNET.exe you can right-klick on the tray-icon and then click on "Add LLRNET as a service". So I can start-stop the client by time as I prefer.

Is here anyone which has done this?
On my XP-system this does not work, nothing happens after "click".

If this works on a "normal" system, I add the service manually in the registry.

On my system there is another LLRNET-service from another project. Maybe this is the reason for that? In llr-clientconfig I choose the name "LLRNET5" for the service.

Please can anyone test, if the service can be installed?

-rover-

rover 2006-09-05 08:51

Stupid... If have done it myself!

I removed the other LLRnet service and then added LLRnet5 as a service.

[B]It works!!![/B]

I took a look on the details of the installed services:

"Normal" LLRnet uses the same arguments for the service as LLRnet5 with only one difference: the servicename.

But the [I]devicedescription[/I] and [I]displayname[/I] are equal. Maybe this is the reason for only having one of the services on the system?

rover 2006-09-10 11:18

No answer
 
No solution yet?

Maybe someone send me the actual patched source so I could look for the necessary changes?

axn 2006-09-12 17:58

I personally don't use the service feature. But quick testing shows that it doesn't allow two services to run simultaneously :no:

Let me take a look at the service code and see if it can be tweaked.

axn 2006-09-12 22:13

After extensive research (meaning, I did a gloabal search of the source), I think I may have found a solution.

You can edit the llrnet.lua file and look for variable called serviceDisplayName. You can change the value to something else -- say "LLRnet, k*[B]5[/B]^n-1 / k*[B]5[/B]^n+1 networked prime tester". Restart LLRNet. This time it should allow you to create the service.

rover 2006-09-12 23:02

:goodposting: I love the smilies :grin:


[QUOTE=axn1;87026]After extensive research (meaning, I did a gloabal search of the source), I think I may have found a solution.[/QUOTE]

Thanks!

[QUOTE=axn1;87026]You can edit the llrnet.lua file and look for variable called serviceDisplayName. You can change the value to something else -- say "LLRnet, k*[B]5[/B]^n-1 / k*[B]5[/B]^n+1 networked prime tester". Restart LLRNet. This time it should allow you to create the service.[/QUOTE]

Have you tested this?

I had the same idea last week, but it didn't work.

One moment...


Hey, nice work! :banana:

It works!!!

I only tested that with the llserver.lua last week, my fault. This one is only for the llserver.exe, I think, but you haven't put llserver.exe in your package, so this is obsolete.

Why haven't I seen this line in the llrnet.lua???

Ok, now I am happy. Good work!

:goodposting:

Jean Penné 2006-10-02 13:43

Warning : LLRNET/LLR does only PRP tests for you!
 
Hi, all Sierpinski/Riesel Base 5 participants,

I thank you for using LLRNET/LLR for your coordinated search, but I wish to remind you of the real features of these programs :

For k*b^n+1 or k*b^n-1 candidates, LLRNET/LLR can only prove their primality if the base b is TWO ; if b != 2, only a PRP test is done, so, when the result is positive, you MUST further use another program, such as PFGW, to complete the proof, and, if the number is finally certified prime, to credit the prover program together with PRP and/or LLR, and not LLR alone...

For example, these posts to Chris Caldwell's verification system are problematic :

[url]http://primes.utm.edu/primes/page.php?id=74786[/url]

[url]http://primes.utm.edu/primes/page.php?id=78384[/url]

Good hunting and best regards,
Jean


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

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