mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software

Reply
 
Thread Tools
Old 2019-10-19, 15:12   #1
wildrabbitt
 
Jul 2014

3×149 Posts
Default Getting mprime output on console window.

Hi,


I run mprime on ubuntu. Since I put it in the startup folder to run when my machine starts, I don't get any output. I'd like to know what ms/iter I'm getting.


Is there anything I can do?


Will
wildrabbitt is offline   Reply With Quote
Old 2019-10-19, 15:34   #2
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

32·853 Posts
Default

mprime -d
Prime95 is offline   Reply With Quote
Old 2019-10-19, 16:08   #3
wildrabbitt
 
Jul 2014

1BF16 Posts
Default

I've tried putting the command


mprime/mprime -d


as the command run on boot.


The thing is, because the program isn't started from the console, there's nothing to see.


If I run mprime -d after boot, mprime says there's another mprime running so nothing happens.
wildrabbitt is offline   Reply With Quote
Old 2019-10-19, 16:27   #4
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

32·853 Posts
Default

This is my crontab entry:
Code:
@reboot screen -S mprime -d -m /home/george/Prime95/mprime -d
Screen -r lets me see mprime's output whenever I'm in the mood.
Prime95 is offline   Reply With Quote
Old 2019-10-19, 16:41   #5
wildrabbitt
 
Jul 2014

3×149 Posts
Default

Does ubuntu have crontab file or whatever it is? All I know how to do is enter a command in a window box called startup applications.

Last fiddled with by wildrabbitt on 2019-10-19 at 16:41 Reason: missing question mark
wildrabbitt is offline   Reply With Quote
Old 2019-10-19, 16:46   #6
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

2·7·281 Posts
Default

Quote:
Originally Posted by wildrabbitt View Post
Does ubuntu have crontab file or whatever it is? All I know how to do is enter a command in a window box called startup applications.
Yes, Ubuntu should have a crontab, To list use crontab -l and to edit it use crontab -e. Then insert the "@reboot" line like the one given by Prime95 and remove the "startup" method you did.

Last fiddled with by paulunderwood on 2019-10-19 at 16:51
paulunderwood is offline   Reply With Quote
Old 2019-10-20, 02:18   #7
ewmayer
2ω=0
 
ewmayer's Avatar
 
Sep 2002
Rep├║blica de California

101101100110102 Posts
Default

Quote:
Originally Posted by Prime95 View Post
This is my crontab entry:
Code:
@reboot screen -S mprime -d -m /home/george/Prime95/mprime -d
Screen -r lets me see mprime's output whenever I'm in the mood.
For Mlucas runs, I just do 'tail -2 [path to run directory]/*stat && date'. As each assignment finishes I move its pXXX* files (every-10Miter persistent savefiles and .stat file) into an archive directory, so there is once again a unique .stat file in the rundir, which is a requirement for 'tail' with any non-default line-display count to work.

Last fiddled with by ewmayer on 2019-10-20 at 02:18
ewmayer is offline   Reply With Quote
Old 2019-10-20, 13:38   #8
wildrabbitt
 
Jul 2014

6778 Posts
Default

Thanks very much guys. I've got crontab to do what I needed. Thanks.
wildrabbitt is offline   Reply With Quote
Old 2019-11-13, 10:13   #9
wildrabbitt
 
Jul 2014

3×149 Posts
Default

Hi guys,


I've got into a bit of trouble.


My crontab file has these two lines in


@reboot screen -S mprime -d -m \home\william\mprime\mprime -d
@reboot pactl load-module module-loopback



When I type in screen -r I'm told there's no screen to resume. Is there anything obviously wrong?
wildrabbitt is offline   Reply With Quote
Old 2019-11-13, 10:59   #10
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

2·7·281 Posts
Default

Quote:
Originally Posted by wildrabbitt View Post
Hi guys,


I've got into a bit of trouble.


My crontab file has these two lines in


@reboot screen -S mprime -d -m \home\william\mprime\mprime -d
@reboot pactl load-module module-loopback



When I type in screen -r I'm told there's no screen to resume. Is there anything obviously wrong?
Use forward slashes.
paulunderwood is offline   Reply With Quote
Old 2019-11-13, 11:26   #11
wildrabbitt
 
Jul 2014

3×149 Posts
Default

Thanks.
wildrabbitt is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Window 10 Product Key henryzz Lounge 3 2016-10-24 17:28
console output to txt file pepi37 Linux 23 2015-09-28 18:23
Tired of all the prpclient console windows? opyrt Prime Sierpinski Project 4 2010-05-31 08:42
llrnet startup in console mode IronBits No Prime Left Behind 5 2009-01-19 02:49
Logging window output... Xyzzy Software 7 2002-09-26 18:56

All times are UTC. The time now is 12:45.


Tue Nov 30 12:45:49 UTC 2021 up 130 days, 7:14, 0 users, load averages: 0.92, 1.21, 1.18

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.