mersenneforum.org  

Go Back   mersenneforum.org > Extra Stuff > Linux

Reply
 
Thread Tools
Old 2017-03-01, 21:56   #1
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

2·53·71 Posts
Default screen running mprime disappears

I've been running the dream machine for a year. It was recommended that I use crontab and screen to start mprime:

Code:
@reboot screen -S mprime -d -m /home/george/prime95/mprime -d
On 6 CPUs I've had nary a problem. On the 7th CPU, four times I've discovered that screen is not running. Three of those times was after a reboot. One of those times it was after the machine was running for 7 days.

How can I figure out why mprime or screen is aborting without a trace?
Prime95 is offline   Reply With Quote
Old 2017-03-01, 22:47   #2
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

260316 Posts
Default

Quote:
Originally Posted by Prime95 View Post
How can I figure out why mprime or screen is aborting without a trace?
Unless you need interactive console control of the process, screen is a bit of overkill; and it doesn't provide great logging.

I usually run mprime something like:
Code:
./mprime -d </dev/null >>mprime.log 2>>mprimee.log &
You can then tail / grep through the log files at any time for diagnostics.
chalsall is offline   Reply With Quote
Old 2017-03-03, 11:33   #3
ric
 
ric's Avatar
 
Jul 2004
Milan, Ita

2·7·13 Posts
Default

Quote:
Originally Posted by Prime95 View Post
How can I figure out why mprime or screen is aborting without a trace?
Have you tried enabling logging? something along

Code:
@reboot screen -L -S mprime -d -m /home/george/prime95/mprime -d
This should turn on automatic output logging for the windows, and direct it to a screenlog.n (n = window number) in your home folder - and maybe give you some hints about what happens
ric is offline   Reply With Quote
Old 2017-03-03, 14:00   #4
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

2×53×71 Posts
Default

Quote:
Originally Posted by ric View Post
Have you tried enabling logging?
Thanks, I'll try that.

It could be months before it happens again, so success/failure feedback may be a bit slow!
Prime95 is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Another mprime is already running tshinozk Information & Answers 3 2013-12-10 16:26
Running mprime on fedora jimmychauck Information & Answers 1 2010-06-16 04:42
mprime is running but i dont see that mhnaras Linux 2 2007-10-21 15:58
Running Prime95 results in white screen? sosuke Software 4 2005-02-28 00:29
running mprime on a computer I do not own happyraul Software 4 2004-05-06 15:54

All times are UTC. The time now is 08:58.


Sat Jul 17 08:58:22 UTC 2021 up 50 days, 6:45, 1 user, load averages: 1.69, 1.57, 1.46

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

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.