Questions and Answers : Unix/Linux : continue after logout
Message board moderation
Author | Message |
---|---|
Send message Joined: 21 Sep 04 Posts: 3 Credit: 137,747 RAC: 0 |
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 |
Send message Joined: 5 Aug 04 Posts: 907 Credit: 299,864 RAC: 0 |
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 |
Send message Joined: 16 Aug 04 Posts: 13 Credit: 140,579 RAC: 0 |
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> |
Send message Joined: 21 Sep 04 Posts: 3 Credit: 137,747 RAC: 0 |
> 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 Hi Carl, nhup is working fine :) Thank you and best regards to you, Myles, and the team in Oxford! Johannes |
Send message Joined: 21 Sep 04 Posts: 3 Credit: 137,747 RAC: 0 |
> 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> 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 |
Send message Joined: 4 Sep 04 Posts: 61 Credit: 80,585 RAC: 0 |
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. |
©2024 cpdn.org