![]() |
![]() |
#1 |
88510 Posts |
![]()
Has anyone setup prime95 on an Unraid box (slackware)? If so, do you have a script setup to restart on reboot?
I'd like to utilize some of those unused CPU cycles, but not sure how to keep the program running when closing SSH connection or rebooting the machine. Thanks! |
![]() |
![]() |
#2 |
Dec 2010
Monticello
5×359 Posts |
![]()
not specifically, but I think it's a unix distro, so getting the system to run mprime would be the same as getting anything else to run at startup...I think it goes in an rc.d type script. The command itself is trivial: /path-to-p95/mprime
|
![]() |
![]() |
![]() |
#3 | |
3·52·7·17 Posts |
![]() Quote:
Also, when starting the program through an ssh terminal it is necessary to choose option 4 to continue testing, and then 0 to start both workers/threads before testing continues. As I am trying to run this in a headless situation is it possible to pass these arguments via command line so that it *really* starts testing for primes? |
|
![]() |
![]() |
#4 |
"Mark"
Feb 2003
Sydney
57310 Posts |
![]()
You only need to use the -m option to interact with mprime, to set your id and preferences. Christenson's suggestion for the startup script is good. If you go in via ssh and want to start mprime and have it continue after you're done, '/path-to-p95/mprime &' works. Assuming the Slackware you have with is like other linuxes, that is.
|
![]() |
![]() |
![]() |
#5 |
Basketry That Evening!
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88
3·29·83 Posts |
![]()
So starting it without any options is equivalent to selecting 4, Continue? And I saw this in the Readme: "This program can be safely interrupted by using ^C or kill or shutdown to write intermediate results to disk. This program also saves intermediate results to disk every 30 minutes in case there is a power failure."
So I can shutdown my computer without directly closing the program and I will not lose progress, correct? |
![]() |
![]() |
![]() |
#6 | |
Sep 2010
Annapolis, MD, USA
191 Posts |
![]() Quote:
Yes, I believe so... as long as you shut it down properly, and not just pull the plug or something. A proper shutdown should send signals to each running process that they need to terminate gracefully, then wait a few seconds before killing any processes that didn't obey. |
|
![]() |
![]() |
![]() |
#7 |
Basketry That Evening!
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88
3·29·83 Posts |
![]()
Cool, thanks! Now, to make the startup script...
|
![]() |
![]() |
![]() |
#8 | |
Dec 2010
Monticello
5·359 Posts |
![]() Quote:
|
|
![]() |
![]() |
![]() |
#9 | |
Sep 2010
Annapolis, MD, USA
191 Posts |
![]() Quote:
|
|
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Prime95 auto-launching at startup | ancalagon | Information & Answers | 2 | 2009-11-30 19:35 |
Prime95 very slow after startup | S485122 | Hardware | 3 | 2008-12-19 23:26 |
Help with Startup Script | Proggie | Software | 1 | 2004-12-19 11:54 |
Linux Startup | Unregistered | Linux | 4 | 2003-12-05 20:40 |
Problem with Prime95 on startup | apocalypse | Software | 6 | 2003-10-21 22:18 |