mersenneforum.org  

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

Reply
 
Thread Tools
Old 2010-12-03, 16:59   #1
RussJones
 

1FE16 Posts
Default Setup on Mac

On the "download software" (http://www.mersenne.org/freesoft/) page it shows filling in a Windows dialog for specifying your user and computer name. But how do you do it on a Mac?

Thanks
rj
  Reply With Quote
Old 2010-12-03, 18:32   #2
Mini-Geek
Account Deleted
 
Mini-Geek's Avatar
 
"Tim Sorbera"
Aug 2006
San Antonio, TX USA

17×251 Posts
Default

I thought the latest version of Prime95 for Mac had a GUI, which I'd suppose should have a dialog to specify the user and computer name. See http://www.mersenneforum.org/showthread.php?t=14198 for the latest beta, you can try that or try this:
I'm not able to fully test this as I don't have a Mac, but this should work:
First, make a user ID at http://www.mersenne.org/
Make a file called prime.txt with "V5UserID=[your user ID]" (no quotes or brackets, just fill in the data).
Make a file called local.txt with "ComputerID=[an ID for this computer]" (no quotes or brackets, just fill in the data).
Run mprime/Prime95.

Last fiddled with by Mini-Geek on 2010-12-03 at 18:32
Mini-Geek is offline   Reply With Quote
Old 2010-12-07, 01:42   #3
Joe O
 
Joe O's Avatar
 
Aug 2002

10158 Posts
Default

From the source code:
Quote:
/* Unlike other ports we do not change to the executable's directory. This is because */
/* that would place our temporary files within the application bundle. They would then */
/* be deleted whenever the user upgrades to a new version. Instead, we'll make our */
/* default working directory ~/Prime95.
Mac OS X version automatically reads all it's setting files from a fixed directory ("/home/username/Prime95") instead of in the same directory the application is in.
Hope this helps.
Joe O is offline   Reply With Quote
Old 2010-12-07, 02:39   #4
RichD
 
RichD's Avatar
 
Sep 2008
Kansas

1101000000112 Posts
Default

Quote:
Originally Posted by RussJones View Post
On the "download software" (http://www.mersenne.org/freesoft/) page it shows filling in a Windows dialog for specifying your user and computer name. But how do you do it on a Mac?
Assuming you are running Prime95 v26.x on the Mac, you can find the dialog box at the pull-down menus at Test->PrimeNet...
RichD is offline   Reply With Quote
Old 2011-01-04, 14:08   #5
MacFactor
 
Dec 2010

2610 Posts
Default

In v.25, you need to run

./mprime -m

from the Terminal to run mprime interactively. After that, it's pretty self-explanatory -- make the menu choices you need to change the options to what you want. After you've changed all the settings, exit the program (Test-->Exit) and restart with

nohup ./mprime &

to run the program in the background. If you want mprime to get higher priority you will need to run renice. If you're not familiar with Unix commands in Terminal, you'll only need a few to run mprime -- ps -x to show process status, kill -p <process_id> to stop mprime (despite the work 'kill', mprime does an orderly shutdown, including updating checkpoint files).
MacFactor is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Maximized Setup and Other Questions mbn451 Hardware 16 2013-04-01 14:14
Quad CPU setup question tcharron Software 19 2013-02-14 20:38
GPU setup bcp19 GPU Computing 4 2011-10-15 14:09
new server setup discussion mdettweiler No Prime Left Behind 15 2009-09-08 09:42
Diskless client setup? dans Hardware 4 2003-09-15 16:04

All times are UTC. The time now is 09:55.

Mon May 17 09:55:37 UTC 2021 up 39 days, 4:36, 0 users, load averages: 1.73, 1.53, 1.49

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.