How to get BOINC to run on Mac OS X


log in

Advanced search

Questions and Answers : Macintosh : How to get BOINC to run on Mac OS X

Author Message
7822531
Send message
Joined: 3 Apr 99
Posts: 820
Credit: 692
RAC: 0
Message 76074 - Posted: 2 Feb 2005, 23:10:57 UTC
Last modified: 2 Feb 2005, 23:18:05 UTC

These directions were tested successfully using Mac OS X version 10.2.8 (Build 6R73) on a PowerBook3,5. It is guaranteed to work with Panther (OS X 10.3) and Jaguar (OS X 10.2). It may or may not work with Puma (OS X 10.1). It will not work at all with Cheetah (OS X 10.0) or Kodiak (OS X Public Beta).

    <li>Install Mac&nbsp;OS&nbsp;X
    It is assumed that you already have it installed.</li><li>Update everything.
    Refer to Apple&rsquo;s Help Viewer for documentation, or follow these steps
      <li>Open System Preferences and select the Software Update preference pane.</li><li>Select the Update Software pane, and click the Check Now button.</li><li>If Software Update says &ldquo;Software Update found the following new or updated software for your computer&rdquo;, then you will have to download and install the software listed.
      Click the Install button and wait (The amount of time varies depending on computer and connection speeds). You may have to restart. If so, repeat the process until Software Update says that &ldquo;No new software updates were available.&rdquo;</li>

    </li><li>Open Safari (It is in your Applications folder), and download the BOINC client for Mac&nbsp;OS&nbsp;X from http://boinc.berkeley.edu/download.php.
    (At time of writing, BOINC 4.19 is the current recommended version, and can be downloaded directly via this link.)
    The Downloads window should appear. If it does not, select Window&nbsp;&#x25b6;&nbsp;Downloads&nbsp;from the menu bar (&#x2318;&#x2325;L).</li><li>Locate &ldquo;boinc_4.19_powerpc-apple-darwin.gz&rdquo; from the list, and click on the magnifying glass directly to the right of the file&rsquo;s name in the Downloads window.
    You will be shown the file in the Finder.</li><li>Unzip the file by double-clicking it.
    StuffIt Expander will open, extract the file boinc_4.19_powerpc-apple-darwin, and leave this file in the same folder where it came from.
    (StuffIt Expander is included with Mac&nbsp;OS&nbsp;X. If StuffIt Expander cannot be found, it may be downloaded at http://www.stuffit.com/mac/index.html.)</li><li>Open Terminal (It is inside the Utilities folder in the Applications folder).
    You will now have to type in a few commands. The administrator&rsquo;s password is needed. Note that the symbol &ldquo;&#x2423;&rdquo; means &ldquo;press space&rdquo; and &ldquo;&#x23ce;&rdquo; means &ldquo;press return&rdquo;.</li><li>Move the file boinc_4.19_powerpc-apple-darwin to the appropriate folder.

      <li>Type in the following:
      sudo&#x2423;mv&#x2423;
      Drag the file boinc_4.19_powerpc-apple-darwin from the window in the Finder onto the Terminal&rsquo;s window. The file&rsquo;s full pathname will be written for you.</li><li>Append the following to the end of the line:
      &#x2423;/usr/bin/boinc&#x23ce;
      This command will ask you for your password, move boinc_4.19_powerpc-apple-darwin into UNIX&rsquo;s equivalent of the Applications folder, and rename the file boinc_4.19.</li>

    </li><li>Make the file executable by typing in the following:

    sudo&#x2423;chmod&#x2423;771&#x2423;/usr/bin/boinc_4.19&#x23ce;
    This command will change boinc_4.19 so that it can be run by anybody using the computer.</li>

You have now installed the BOINC client on your Macintosh. It is recommended that you end your current Terminal session and start with a new session. Do so by typing

exit&#x23ce;
&hellip;and selecting File&nbsp;&#x25b6;&nbsp;New&nbsp;Shell from the menu bar (&#x2318;N).From now on, if you want to run SETI@Home, Einstein@Home, or any other BOINC-related project, simply open Terminal and type in
boinc_4.19&#x23ce;

____________

Paul Zimmerman
Avatar
Send message
Joined: 22 Jan 05
Posts: 1440
Credit: 11
RAC: 0
United States
Message 76093 - Posted: 2 Feb 2005, 23:54:23 UTC
Last modified: 3 Feb 2005, 0:06:14 UTC

na,

thanks again...

I'm more than willing to attempt this. I am a little confused about the directions from #7 on but maybe with some additional clarifications for my feeble understandings of the inner workings I can muddle through.

The tips and suggestions I got here on my last questions made a big difference in productivity of my machine with the Classic seti, so I'm confident about being able to receive any additional assistance I might need.

I only have one big question that I still don't understand well.

If it's true, as I gathered from another thread, that Boinc will have no graphics, how do I know when to log on to send results and receive new WU's?

I really don't care if I can moniter results or keep a tally, as long as I know the work is getting done.... that's enough for me, I have no care to boast of how much I may have done or might do... if I'm assisting and the results get back to where they need to be, that's all I want.

What concerns me is if I have to stay connected all the time, I don't have but the one phone line. I have to log off to make or receive phone calls.

I don't think I need an interface which shows the 3-D graphs and Doppler drift rate etc etc as on the Classic seti interface, ( I don't understand much of it anyway), but I would need something which shows whether I'm connected, or when to connect to upload/download. and just something to be able to turn on or off so I could tell when I did, if I had to.

Hope I'm making some sense here, I was a little confused on how one can run boinc without some graphics to direct you if you can't let it all happen automatically. I would need some control, I think.

I will get started on trying to download all the updated software? Are you sure I need all of it? Some of it is recommended for ichat or some other thing which I don't partake, do I really need all of the downloads? Not a problem, just wasn't going to download things I didn't think I would ever use..

I'll start with that Java update that's been a problem because of it's size. Someone said there is software that allows continuation of interupted downloads, I might have to get it because I always seem to lose my connection before the whole 20mgs is complete. I'll keep at it and try again. The smaller files shouldn't be a problem at all.
____________

7822531
Send message
Joined: 3 Apr 99
Posts: 820
Credit: 692
RAC: 0
Message 76109 - Posted: 3 Feb 2005, 0:27:57 UTC - in response to Message 76093.
Last modified: 3 Feb 2005, 0:28:54 UTC

I'm more than willing to attempt this. I am a little confused about the directions from #7 on but maybe with some additional clarifications for my feeble understandings of the inner workings I can muddle through.
In order to pull off Step 7, you have to type, drag the file onto the Terminal window, and type some additional stuff. That's as easy as I can make it for everyone because that's the only way I can tell where the boinc_3.14159blahblahblah.gz file is without having to ask on a case-by-case basis.

If it's true, as I gathered from another thread, that Boinc will have no graphics, how do I know when to log on to send results and receive new WU's?
I can't claim to speak for dial-up instructions (I'm on DSL), but I think that Paul D. Buck's website covers it.

I really don't care if I can moniter results or keep a tally, as long as I know the work is getting done.... that's enough for me, I have no care to boast of how much I may have done or might do... if I'm assisting and the results get back to where they need to be, that's all I want.
SETI Control used to do the trick, but it seems to have lost its functionality as a result of the transition from v4.13 to v4.19. There's another program called KBoincSpy, but it relies on an equally (if not more) wonky foundation called KDE on Darwin.

All in all, the easiest way is to keep a Terminal window open and manually check on it from time to time. BOINC will output to the screen its uploads, downloads, delays, and errors.

What concerns me is if I have to stay connected all the time, I don't have but the one phone line. I have to log off to make or receive phone calls.
Check your BOINC Preferences Page (http://setiweb.ssl.berkeley.edu/prefs.php?subset=global).

I don't think I need an interface which shows the 3-D graphs and Doppler drift rate etc etc as on the Classic seti interface, ( I don't understand much of it anyway), but I would need something which shows whether I'm connected, or when to connect to upload/download. and just something to be able to turn on or off so I could tell when I did, if I had to.
You can use Internet Connect (In the Applications folder) to track your connection, or you can add an icon on the right-hand side of your menu bar. Here's how:

    <li>Open System Preferences and select the Network preference pane.</li><li>Select Internal Modem from the drop-down menu labeled "Show:".</li><li>Select the Modem tab, and make sure that the check box labeled "Show modem status in menu bar" is checked.</li>

You'll now have a small handset icon added to the menu bar, and it will change depending on whether or not the modem is being used.

As for telling if BOINC (and it's co-conspirator, SETI) is running, open Process Viewer (It is in the Utilities folder inside the Applications folder), click on the column labeled "% CPU". If you don't see BOINC or SETI near the top of the list (or the bottom if you're sorting in reverse), then you've got a problem. Otherwise, it's running. Alternatively, you can use CPU Monitor (It is also in the Utilities folder) for a bar-graph -- This is probably the easiest, cleanest, cutest way of telling if the CPU is being used.

Continues...

____________

7822531
Send message
Joined: 3 Apr 99
Posts: 820
Credit: 692
RAC: 0
Message 76112 - Posted: 3 Feb 2005, 0:35:41 UTC - in response to Message 76109.

...Continuation
I will get started on trying to download all the updated software? Are you sure I need all of it? Some of it is recommended for ichat or some other thing which I don't partake, do I really need all of the downloads? Not a problem, just wasn't going to download things I didn't think I would ever use..
The most vital files are Mac OS X's updates (Specifically X.2.8's combined update), QuickTime, and the Security Updates. You can futz around Java, Bluetooth, AirPort, et cetera, without too much of a problem. As far as I can tell, Java doesn't affect BOINC or SETI.

Someone said there is software that allows continuation of interupted downloads, I might have to get it because I always seem to lose my connection before the whole 20mgs is complete.
I believe that person was referring to BitTorrent, which is under the same legal mumbo-jumbo, bad vibe voodoo that Napster suffered... It would be preferrable to have someone else download the Java update and send it to you (Or you could hook up with someone at a Mac users group).

Good luck!
____________

7822531
Send message
Joined: 3 Apr 99
Posts: 820
Credit: 692
RAC: 0
Message 76221 - Posted: 3 Feb 2005, 7:28:17 UTC
Last modified: 3 Feb 2005, 7:28:37 UTC

____________ ____________ ____________<BR>| | | | | |<BR>| WARNING! | | WARNING! | | WARNING! | |__________| |__________| |__________|
BOINC 4.19 has been reporting that "Result exited with zero status but no 'finished' file"! I do not know what has caused it, but due to this error I must amend what I said earlier in 76074. The introductory paragraph should now read as follows:
    These installation directions were tested successfully using Mac OS X version 10.2.8 (Build 6R73) on a PowerBook3,5. BOINC is guaranteed to work with Panther (OS X 10.3). It may or may not work with Jaguar (OS X 10.2) and Puma (OS X 10.1). It will not work at all with Cheetah (OS X 10.0) or Kodiak (OS X Public Beta).

As far as I can tell, BOINC will take this error into account and reject the workunit if it is flat-out invalid.
____________

Paul Zimmerman
Avatar
Send message
Joined: 22 Jan 05
Posts: 1440
Credit: 11
RAC: 0
United States
Message 76353 - Posted: 4 Feb 2005, 4:30:26 UTC - in response to Message 76221.

Not there yet. na,

Was gone most of the day, then neighbors set a truck on fire in their yard... .....firehoses create bad but very interesting ice formations at 22 below F.

My system profile says

System version Mac OS X 10.2.8 (6R73

Machine model PowerBook5,1 (version = 3.3)
____________________________________
There is a 19.3mb Quicktime 6.5.2 update that didn't load last night, will try again tonight.

The Java 1.4.1 is 39.8mb so I might try to have someone send that to me.

Almost there on all the rest, will try soon..
____________

Paul Zimmerman
Avatar
Send message
Joined: 22 Jan 05
Posts: 1440
Credit: 11
RAC: 0
United States
Message 76962 - Posted: 6 Feb 2005, 1:23:18 UTC - in response to Message 76353.

na,

I'm set up so downloads go to my desktop.

I have the zip file, boinc_4.19_powerpc-apple-darwin, and a document of the same name on my desktop, I put them in a file folder I created to hold them.

Before I go farther, do I have to shut down and remove Classic seti, or am I ok just to shut it down?

I think someone said they would interfere with each other but I'm not sure if they meant only if one tried to run them at the same time, or if even on the same machine regardless of whether they were open and running or not.

I'd prefer to keep Classic, in case boinc won't' work for some reason, then I can easily fall back to Classic to keep crunching for now. ???? I imagine I can keep it as long as I don't attempt to run it at the same time as boinc...... just want to check.

Instruction 5 says stuffit will open the file, extract the file..... do you mean that stuffit will both open and extract the file?

If I unzip the file, I think it will still end up on the desktop, though not sure... if so, are the directions saying I should put it back in the file folder I created on the desktop?

I've opened my terminal just to have a look but #7 says to move the file to the appropriate(?) folder? ...uh, does that just mean to leave it in the file folder I created or is, ........will it then also be in my applications folder? And should I trash any duplicate files?

Speaking of preferences, are my preferences able to be viewed by others? What I mean is, can you see if there is something I should change? I think they are all on the defaults, is that best?

Last question,(for now... heh heh), will I be able to put the boinc app in my dock and be able to turn it on and off at will there, or do I always have to go to the terminal?

Maybe all this will be self explanatory and evident when I unzip the file but I just am hoping to have no surprises.

thanks,
...pz
____________

7822531
Send message
Joined: 3 Apr 99
Posts: 820
Credit: 692
RAC: 0
Message 77329 - Posted: 7 Feb 2005, 7:01:25 UTC - in response to Message 76962.
Last modified: 7 Feb 2005, 7:06:34 UTC

Before I go farther, do I have to shut down and remove Classic seti, or am I ok just to shut it down?
In order to exit out of SETI Classic cleanly, you'll have to follow its <a href="">directions[/url] for the stop_after_send.txt file...

    <li>How can I return my results but not get another work unit from the servers?
    Copy any file into your SETI@home Data directory and rename it "stop_after_send.txt". On the Macintosh, the "SETI@home Data" directory is in the Preferences folder, inside your System folder; on UNIX and Windows it is in the same directory as the executable file SETI@home.exe. If you later want to get a new work unit, remove the "stop_after_send.txt" file.</li>

This information is half right - The location of where that file is kept under OS X is wrong. You can create the file in the correct location with the following "all-in-one" command...

echo "" > /Library/Application&#92; Support/SETI@home_Data/stop_after_send.txt
I think someone said they would interfere with each other but I'm not sure if they meant only if one tried to run them at the same time...
Right. It doesn't matter that both SETI Classic and SETI/BOINC are on your computer - Just make sure that the two don't run at the same time.

The best way to prevent SETI Classic from running is with the all-in-one command. If for some reason you need to run Classic, remove the file with...
rm /Library/Application&#92; Support/SETI@home_Data/stop_after_send.txt
I'd prefer to keep Classic, in case boinc won't' work for some reason, then I can easily fall back to Classic to keep crunching for now.
That's what I'm currently doing. I've been waiting so long for a workunit from Berkeley that I figured I could up my SETI Classic to 25 WUs.

Instruction 5 says stuffit will open the file, extract the file..... do you mean that stuffit will both open and extract the file?
The terms are synonymous in this context - StuffIt automagically extracts when it's invoked by opening a SuffIt file.

If I unzip the file, I think it will still end up on the desktop, though not sure...
Unless you've changed StuffIt Expander's preferences, the resultant will (upon termination of the extraction) be located in the same subdirectory (read: folder) where the zipped file is.

I've opened my terminal just to have a look but #7 says to move the file to the appropriate(?) folder?
No. When you have finished typing in the first part of the command, you are to drag the extracted file's icon onto the Terminal window. No folders are touched during this process.

...does that just mean to leave it in the file folder I created or is, ........will it then also be in my applications folder?
The BOINC client makes use of Mac OS X's UNIX underpinnings. As a result, BOINC must be put where UNIX applications are put: the /usr/bin folder, not the Applications folder.

In case I've confused you, there is a folder called bin inside an invisible folder called usr on your startup disk. You will not see it on your hard disk.

And should I trash any duplicate files?
There will be no duplicate files. If there were any, you'd know about it through an error message.

Speaking of preferences, are my preferences able to be viewed by others? What I mean is, can you see if there is something I should change? I think they are all on the defaults, is that best?
Leave 'em as is: BOINC's preferences are set online through the Accounts page.

Last question,(for now... heh heh), will I be able to put the boinc app in my dock and be able to turn it on and off at will there, or do I always have to go to the terminal?
For the time being, it's all Terminal-based. There will be no Dock icon without third-party software.

Again, I cannot over-emphasize that until I get a WU from Berkeley, do not run BOINC version 4.19 on Mac OS X 10.2.8. Installation is not a problem, so don't worry about having it on your computer.

The problem is in actually running BOINC - Version 4.19 has some sort of conniption that causes a Result exited with zero status but no 'finished' file error. Since it's going to crash, better that it happen on my computer other than your own. :-)


Maybe all this will be self explanatory and evident when I unzip the file but I just am hoping to have no surprises.
It's not self-explanatory, and that's why I've posted the installation instructions.

For reasons I won't get into right now, and with all due respect, I'm on a deadline and this, for me, isn't quite as up-there on the priority list at the moment. Once the deadline passes, though, I'll try to send you an AppleScript that will do all the work for you.
____________

Paul Zimmerman
Avatar
Send message
Joined: 22 Jan 05
Posts: 1440
Credit: 11
RAC: 0
United States
Message 77342 - Posted: 7 Feb 2005, 8:53:27 UTC - in response to Message 77329.

thanks, na, I really do appreciate your time, I fully understand that you must have more important priorities, you've been very kind to help all that you have.

I'm sticking with the Classic for now and I'll just hold off on the install for now.

From what I gather seeing other posts, Classic will run for a while longer and there is still work being done on the boinc version that is supposed to come to fruition within a couple of months or so.

You've given me a lot of confidence that, when I need to switch, I should be able to.

(Not that I really understand it, but I'm not quite so afeared of attempting it as I was.)

I've said thanks a bunch of times, but it's still heartfelt, even if it sounds the same each time.

pz


____________

7822531
Send message
Joined: 3 Apr 99
Posts: 820
Credit: 692
RAC: 0
Message 77623 - Posted: 8 Feb 2005, 19:43:29 UTC - in response to Message 77342.
Last modified: 8 Feb 2005, 19:43:53 UTC

.o0(Damn!)<p align="center">Neither BOINC client v4.13 or v4.19 work under Jaguar (Mac OS X 10.2)
This applies to the pre-compiled BOINC client (as opposed to the version you build by downloading the source code).</p>4.13 started to Rew0sbn'f'f on me as soon as I got the WU, so no "can-do" without going the long and hard way: Install the Developer Tools, install X11.app, install X11SDK for X.2, download the source code, compile, and run through X11 or Terminal.

I guess you'll have to upgrade to Panther (or wait for Tiger to come out).

Sorry, Paul.
____________

Profile Paul D. Buck
Volunteer tester
Send message
Joined: 19 Jul 00
Posts: 3898
Credit: 1,158,042
RAC: 0
United States
Message 77626 - Posted: 8 Feb 2005, 19:56:13 UTC - in response to Message 76093.
Last modified: 8 Feb 2005, 19:57:12 UTC

Paul, and whom ever else ...

I have a set of Macintosh directions with illustrations, It works of Panther, and likely will also work with earlier OS-X versions.

Just a thought ... http://boinc-doc.net/index.php if you follow them down, somewhere around step #9 there is a 25 or so step process...

you might try them...
one side note though, no graphics for Mac yet ...
____________

Paul Zimmerman
Avatar
Send message
Joined: 22 Jan 05
Posts: 1440
Credit: 11
RAC: 0
United States
Message 79923 - Posted: 16 Feb 2005, 10:06:51 UTC - in response to Message 77623.

no need to be sorry, na.

I learned lots anyway and I've not given up that there might be some fix in the near term.

It's my thanks I owe you.....
____________

Paul Zimmerman
Avatar
Send message
Joined: 22 Jan 05
Posts: 1440
Credit: 11
RAC: 0
United States
Message 79925 - Posted: 16 Feb 2005, 10:11:38 UTC - in response to Message 77626.


>Paul, thanks, I looked at that and ....... I'm gonna wait a bit for something I'm a little more familiar with. I'm pretty lost even trying to follow simple directions past point and click.



Maybe if nothing happens in the way of a fix for the OS X 10.2.8, I'll revisit this and try another path. I may get back to you then....

thanks, though.
____________

Questions and Answers : Macintosh : How to get BOINC to run on Mac OS X

Copyright © 2014 University of California