climateprediction.net (CPDN) home page
Thread 'continue after logout'

Thread 'continue after logout'

Questions and Answers : Unix/Linux : continue after logout
Message board moderation

To post messages, you must log in.

AuthorMessage
old_user19869

Send message
Joined: 21 Sep 04
Posts: 3
Credit: 137,747
RAC: 0
Message 4450 - Posted: 21 Sep 2004, 20:11:45 UTC

Hi!
I am running boinc and climaterprediction.net on a Linux PC (Fedora Core 2). As soon as I logout the process stops. How can I tell it to continue calculating even when I am not logged in?
Cheers, Johannes
ID: 4450 · Report as offensive     Reply Quote
old_user1
Avatar

Send message
Joined: 5 Aug 04
Posts: 907
Credit: 299,864
RAC: 0
Message 4452 - Posted: 21 Sep 2004, 20:27:05 UTC

look into starting it with the "nohup" command in Linux, or else you could launch it as a startup script (see elsewhere for links to example Linux startup scripts). For "nohup" it's as simple as:

cd boinc (wherever your main boinc dir is)
nohup ./boinc_4.09_i686-pc-linux-gnu

then when you logout the "nohup" keeps boinc_ running, then you can just login and go to boinc/projects/climateprediction.net and run ./viz there to see where you are

ID: 4452 · Report as offensive     Reply Quote
old_user892

Send message
Joined: 16 Aug 04
Posts: 13
Credit: 140,579
RAC: 0
Message 4473 - Posted: 22 Sep 2004, 5:02:23 UTC

There are some instructions for running BOINC under linux, including a start-up script for RedHat/Fedora at <a href="http://noether.vassar.edu/~myers/help/boinc/unix.html">http://noether.vassar.edu/~myers/help/boinc/unix.html</a>

ID: 4473 · Report as offensive     Reply Quote
old_user19869

Send message
Joined: 21 Sep 04
Posts: 3
Credit: 137,747
RAC: 0
Message 4534 - Posted: 23 Sep 2004, 15:54:45 UTC - in response to Message 4452.  

&gt; look into starting it with the "nohup" command in Linux, or else you could
&gt; launch it as a startup script (see elsewhere for links to example Linux
&gt; startup scripts). For "nohup" it's as simple as:
&gt;
&gt; cd boinc (wherever your main boinc dir is)
&gt; nohup ./boinc_4.09_i686-pc-linux-gnu
&gt;
&gt; then when you logout the "nohup" keeps boinc_ running, then you can just login
&gt; and go to boinc/projects/climateprediction.net and run ./viz there to see
&gt; where you are

Hi Carl,
nhup is working fine :)
Thank you and best regards to you, Myles, and the team in Oxford!
Johannes
ID: 4534 · Report as offensive     Reply Quote
old_user19869

Send message
Joined: 21 Sep 04
Posts: 3
Credit: 137,747
RAC: 0
Message 4535 - Posted: 23 Sep 2004, 15:56:29 UTC - in response to Message 4473.  

&gt; There are some instructions for running BOINC under linux, including a
&gt; start-up script for RedHat/Fedora at <a> href="http://noether.vassar.edu/~myers/help/boinc/unix.html"&gt;http://noether.vassar.edu/~myers/help/boinc/unix.html</a>

Hi!
Thank you, I went for the nohup for a start. If I discover that the machine needs to be rebooted too often, I will change to the startup script suggested by you.
Cheers, Johannes
ID: 4535 · Report as offensive     Reply Quote
Profileold_user11965

Send message
Joined: 4 Sep 04
Posts: 61
Credit: 80,585
RAC: 0
Message 4625 - Posted: 25 Sep 2004, 6:17:43 UTC

Personally, I prefer to run my BOINC as a cron job. That way, I don't even need to log in, but the app still runs as a local user.

ID: 4625 · Report as offensive     Reply Quote

Questions and Answers : Unix/Linux : continue after logout

©2024 cpdn.org