mersenneforum.org  

Go Back   mersenneforum.org > New To GIMPS? Start Here! > Information & Answers

Reply
 
Thread Tools
Old 2015-12-30, 15:52   #1
RogerTX
 
Dec 2015

5 Posts
Default Mac OSX: Run at boot?

Hi. Was a Prime95 user long ago, but then ran into problems and stopped. Glad to see it is working again, and that other platforms are supported.

I have P95 running as a service under Win7 (thanks for the post), and have it running on boot on my Ubuntu (linux) box. It is installed on my Mac OSX, but it only runs when I log in. The MAC is the the that is on 24x7, but I'm not always logged in (it is a family computer that many use). It would be great to start it on boot.

My (limited) research so far makes this look very complicated. So, I wondered if anyone else here has this running at boot on Mac OSX and can share how this is done.

(I searched the forums for "Mac" and for "OSX" and found no matches).
RogerTX is offline   Reply With Quote
Old 2015-12-30, 17:07   #2
Mark Rose
 
Mark Rose's Avatar
 
"/X\(‘-‘)/X\"
Jan 2013

13·227 Posts
Default

I used to run mprime on a Mac. The easiest way is to run it in screen via a crontab.

Install the screen command if your Mac doesn't have it.

Then put this in your crontab:

@reboot screen -S mprime -d -m /Users/RogerTX/path/to/mprime.exe -d

Then to watch progress, run `screen -r mprime`. To detach from screen, type crtl-a, then d. Not sure which key is the control key on Mac though. If you ever kill mprime, just run it again as above by copying everything after @reboot.


Not sure about the GUI version.
Mark Rose is offline   Reply With Quote
Old 2016-01-28, 13:15   #3
RogerTX
 
Dec 2015

58 Posts
Default

Quote:
Originally Posted by Mark Rose View Post
I used to run mprime on a Mac. The easiest way is to run it in screen via a crontab.

Install the screen command if your Mac doesn't have it.

Then put this in your crontab:

@reboot screen -S mprime -d -m /Users/RogerTX/path/to/mprime.exe -d

Then to watch progress, run `screen -r mprime`. To detach from screen, type crtl-a, then d. Not sure which key is the control key on Mac though. If you ever kill mprime, just run it again as above by copying everything after @reboot.


Not sure about the GUI version.
Thanks; I'll have to play with this. How do I install "screen"?

Last fiddled with by RogerTX on 2016-01-28 at 13:16
RogerTX is offline   Reply With Quote
Old 2016-01-29, 04:22   #4
RogerTX
 
Dec 2015

5 Posts
Default

Quote:
Originally Posted by Mark Rose View Post
I used to run mprime on a Mac. The easiest way is to run it in screen via a crontab.

Install the screen command if your Mac doesn't have it.

Then put this in your crontab:

@reboot screen -S mprime -d -m /Users/RogerTX/path/to/mprime.exe -d

Then to watch progress, run `screen -r mprime`. To detach from screen, type crtl-a, then d. Not sure which key is the control key on Mac though. If you ever kill mprime, just run it again as above by copying everything after @reboot.


Not sure about the GUI version.
I have the screen command -- attempting to set this up now.
RogerTX is offline   Reply With Quote
Old 2016-01-29, 04:33   #5
RogerTX
 
Dec 2015

516 Posts
Default

Quote:
Originally Posted by Mark Rose View Post
I used to run mprime on a Mac. The easiest way is to run it in screen via a crontab.

Install the screen command if your Mac doesn't have it.

Then put this in your crontab:

@reboot screen -S mprime -d -m /Users/RogerTX/path/to/mprime.exe -d

Then to watch progress, run `screen -r mprime`. To detach from screen, type crtl-a, then d. Not sure which key is the control key on Mac though. If you ever kill mprime, just run it again as above by copying everything after @reboot.


Not sure about the GUI version.
Well, I only had the Mac OSX 64-bit GUI version -- there isn't an "mprime"; only the GUI version. It puts displays up on the screen, so I don't think it will run at reboot.

However, I did just find the command line version, so I'm going to give that a try
RogerTX is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual boot? bsquared Linux 3 2013-10-11 21:38
Dual Boot - Same Assignments kladner Software 19 2011-07-15 02:12
How do I boot Prime95 in Vista anodukepos Software 21 2009-05-03 11:13
pc wont boot lori1963 Hardware 9 2005-11-24 04:03
Problems with XP boot-ups Unregistered Software 2 2003-12-29 18:09

All times are UTC. The time now is 06:57.


Sun Aug 14 06:57:14 UTC 2022 up 38 days, 1:44, 2 users, load averages: 1.07, 0.79, 0.77

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, 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.

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎𝜍 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔