mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   PrimeNet (https://www.mersenneforum.org/forumdisplay.php?f=11)
-   -   ./mprime -B in 257 (https://www.mersenneforum.org/showthread.php?t=10858)

Lazlow 2008-10-28 04:36

./mprime -B in 257
 
Running 64bit linux mprime 64bit. When I was running 2414 I would use ./mprime -B2 to start two threads in the background. Now I understand the 257 is multi threaded (so I can drop the 2), but how do I start the program in the background (-B). If I use ./mprime and close the terminal (window) it kills mprime, with the -B2 option(previously) I could close the window and mprime would continue to run.

Prime95 2008-10-28 16:08

try "nohup ./mprime". I don't know if the -B switch works anymore. I need to check that out.

Jeff Gilchrist 2008-10-29 18:34

[QUOTE=Prime95;146942]try "nohup ./mprime". I don't know if the -B switch works anymore. I need to check that out.[/QUOTE]

The -B switch seems to be gone. As George suggested, use "nohup ./mprime &" to launch it in the background if you want it to survive you logging out.

Xyzzy 2008-10-29 20:40

Or use "[URL="http://www.gnu.org/software/screen/"]screen[/URL]".


All times are UTC. The time now is 13:13.

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