mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Conjectures 'R Us (https://www.mersenneforum.org/forumdisplay.php?f=81)
-   -   Automated primality testing with LLRnet (https://www.mersenneforum.org/showthread.php?t=9911)

tnerual 2008-02-17 12:00

[QUOTE=em99010pepe;125955]tnerual,

The Riesel server is getting a bunch of rejected pairs from you.

Carlos[/QUOTE]

not at home at the moment ... do i have "good results" ?

i will look at this tonight ...

em99010pepe 2008-02-17 13:34

[quote=tnerual;125961]not at home at the moment ... do i have "good results" ?

i will look at this tonight ...[/quote]

All are good results but the server sends them again to be tested.

[quote]Rejected is any k/n pair that comes back that is not either in the jobs.txt or jobs table (file vs mysql setup), whether it's too late, the server received the result, but the client did not receive the acknowledgment, the client never had the k/n pair (someone put it in, basically), or any number of reasons. Basically, the server didn't think that user should have had the k/n pair they returned.[/quote]

mdettweiler 2008-02-17 14:24

[quote=tnerual;125953]your trick is not working :sad:
i'm sure that clicking on llrnet don't give anything (1% processor usage)

the only way to start it is open a terminal then ./llrnet but i have the console windows ...

i want it to start automagically at startup and running in hidden mode ... (i'm the legal owner of the computer, but it's my mother's computer so she is ok for llrnet but only if she don't have anything anoying)[/quote]
Hmm...drats. I was hoping it would work. :sad:

If you were using regular Ubuntu rather than Kubuntu, I would suggest you use the "Sessions" tool to define LLRnet as a startup program--but I think that's only a GNOME feature and as such you wouldn't have it in Kubuntu (or any other KDE distro, for that matter).

There's one other way, I think, which requires doing something with the init.d scripts that manage the startup of the system--I'll have to read up on it before I can post instructions here.

tnerual 2008-02-17 15:48

[QUOTE=Anonymous;125968]Hmm...drats. I was hoping it would work. :sad:

If you were using regular Ubuntu rather than Kubuntu, I would suggest you use the "Sessions" tool to define LLRnet as a startup program--but I think that's only a GNOME feature and as such you wouldn't have it in Kubuntu (or any other KDE distro, for that matter).

There's one other way, I think, which requires doing something with the init.d scripts that manage the startup of the system--I'll have to read up on it before I can post instructions here.[/QUOTE]

it work ... but i don't know what i've done ...

i tried a lot of stuf and finally it worked ... with your "way to do" ... :w00t:

mdettweiler 2008-02-17 18:45

[quote=tnerual;125977]it work ... but i don't know what i've done ...

i tried a lot of stuf and finally it worked ... with your "way to do" ... :w00t:[/quote]
Okay, great! :smile: Glad to hear it's working.

tnerual 2008-02-17 22:18

[QUOTE=Anonymous;125987]Okay, great! :smile: Glad to hear it's working.[/QUOTE]

here is the how to do for kubuntu ... (maybe it will not work but for me it worked)

-Make a text file in your LLRnet folder called "start-llrnet.sh" that contains the following data:
[CODE]
#!/bin/bash

./llrnet [/CODE]

Save the file and close your text editor. Open up a command window, navigate to your LLRnet folder, and type the command "sudo chmod +x start-llrnet.sh". (enter your root password)
-Type the command "sudo crontab -e". (Make sure you run that command as whatever user you'd like to run LLRnet as.)
-You'll find yourself in a command-line text editor, probably nano. Use the arrow keys to navigate to the bottom of the file, and enter the following:
Code:

@reboot sh /home/yourname/Desktop/LLRNETfolder/start-llrnet.sh
(my llrnet is on my desktop)
-Press Ctrl-X. Press the Y key, then press Enter. You will then be returned to the command prompt.
-You're all set! Repeat for each instance of LLRnet you want to run at bootup.

difference is :
sh ==> bash
sudo before commands

mdettweiler 2008-02-17 23:15

[quote=tnerual;126011]here is the how to do for kubuntu ... (maybe it will not work but for me it worked)

-Make a text file in your LLRnet folder called "start-llrnet.sh" that contains the following data:
[code]
#!/bin/bash

./llrnet [/code]Save the file and close your text editor. Open up a command window, navigate to your LLRnet folder, and type the command "sudo chmod +x start-llrnet.sh". (enter your root password)
-Type the command "sudo crontab -e". (Make sure you run that command as whatever user you'd like to run LLRnet as.)
-You'll find yourself in a command-line text editor, probably nano. Use the arrow keys to navigate to the bottom of the file, and enter the following:
Code:

@reboot sh /home/yourname/Desktop/LLRNETfolder/start-llrnet.sh
(my llrnet is on my desktop)
-Press Ctrl-X. Press the Y key, then press Enter. You will then be returned to the command prompt.
-You're all set! Repeat for each instance of LLRnet you want to run at bootup.

difference is :
sh ==> bash
sudo before commands[/quote]
As for the sudo thing: Aha, I see now. I should have figured that in order to have something start at bootup, you'd need to put it in root's crontab. :smile:

As for sh vs. bash--hmm, I'm surprised you needed to change that. Usually either works fine (as just about every Linux system has sh installed, and almost as many have bash too), but hey, if it works, it works. :smile:

mdettweiler 2008-03-04 00:06

Hi all,

Both the Riesel and Sierpinski severs have been run dry and shut down. They were becoming too much for Carlos to run, especially with two NPLB LLRnet servers running on the same machine. In the future, we hope to have one or more Conjectures 'R Us servers running once again; I'll keep everyone posted on it. :smile:

Anon

P.S.: I've unstickied this thread, and I'll make a note about all this in the first post of the thread. It will be re-stickied when we get a new server.


All times are UTC. The time now is 11:50.

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