Mac OS X


Advanced search

Message boards : Number crunching : Mac OS X

Author Message
Profile noderaser
Project donor
Avatar
Send message
Joined: 28 Mar 06
Posts: 506
Credit: 1,548,030
RAC: 45
Message 12476 - Posted: 4 Apr 2014, 2:40:28 UTC

I hate to be "that guy", but is there any news on development of an app for OS X? I would be able to crunch for more sessions if there were a functional Mac app, as the best of my Windows boxes at current only has 8 GB of RAM, while my iMac has 16 GB.

Would the new VirtualBox/BOINC integration help, by using the Linux app? I haven't used any projects that make use of VirtualBox yet, and only have the plain BOINC client on my hosts.
____________

Profile Janus
Volunteer moderator
Project administrator
Avatar
Send message
Joined: 16 Jun 04
Posts: 4467
Credit: 2,094,806
RAC: 0
Message 12477 - Posted: 4 Apr 2014, 9:26:32 UTC
Last modified: 4 Apr 2014, 9:43:25 UTC

It is quite likely (although you didn't hear this officially) that the current Glue3 code (from svn http://development.burp.renderfarming.net/svn/repos/burp/server/trunk/clients/glue3) works fine on Mac together with the 2.66 Blender from here and a bit of anonymous platform XML. However, there are licensing issues related to compiling and testing OSX binaries on non-Apple hardware that prevent us from officially building the clients without buying a Mac:

Section 2.H.
Other Use Restrictions
The grants set forth in this License do not permit you to, and you agree not to, install, use or run the Apple Software on any non-Apple-branded computer, or to
enable others to do so. Except as otherwise permitted by the terms of this License or otherwise licensed by Apple: (i) only one user may use the Apple Software at
a time, and (ii) you may not make the Apple Software available over a network where it could be run or used by multiple computers at the same time. You may not rent,
lease, lend, sell, redistribute or sublicense the Apple Software.


It is likely that this part of their license agreement is unenforceable in the EU, but we don't have the legal corpus to take this kinda stuff to court to test it. It has been tried a couple of times in the US and has been found to be enforceable.

We've been looking at a couple of alternatives, namely trying out cross-compiling or simply compiling on the clients themselves before running the workunit. Neither solution solves the issue of doing pre-release testing which means that errors could slip through more easily. Also, it sucks.
At some point there was a community effort building and distributing the binaries and making the XML available, but that stopped some years ago.

The status quo is that the code for Mac OSX x86_64 support is there but cannot be officially supported in any way.

Now I get to call you "that guy noderaser", mwuhaha!

Profile DoctorNow
Project donor
Avatar
Send message
Joined: 11 Apr 05
Posts: 392
Credit: 2,167,694
RAC: 81
Message 12478 - Posted: 4 Apr 2014, 12:18:38 UTC - in response to Message 12476.
Last modified: 4 Apr 2014, 12:23:27 UTC

I haven't used any projects that make use of VirtualBox yet, and only have the plain BOINC client on my hosts.

VirtualBox is somehow easy to use, I use it also for projects which have only Linux apps for example, so I only can recommend that if you don't want to wait for the Mac implementation. Only "problem" could be to get a project to run under Linux, sometimes there are libs necessary or other stuff. If you aren't familiar with Linux at all it can be a bit complicated. I started as a total noob and still am somehow, but I mostly can get the stuff to run. ;-)
____________
Life is Science, and Science rules. To the universe and beyond
Proud member of BOINC@Heidelberg
My BOINC-Stats

Profile Janus
Volunteer moderator
Project administrator
Avatar
Send message
Joined: 16 Jun 04
Posts: 4467
Credit: 2,094,806
RAC: 0
Message 12479 - Posted: 4 Apr 2014, 13:24:36 UTC

There's a Virtualbox-to-BOINC connector that wraps client programs in Virtualbox instances - I think that's what noderaser was talking about. It is a little resource hungry but very similar to running the entire BOINC client inside the VM like you suggest.

Profile DoctorNow
Project donor
Avatar
Send message
Joined: 11 Apr 05
Posts: 392
Credit: 2,167,694
RAC: 81
Message 12480 - Posted: 4 Apr 2014, 18:47:34 UTC - in response to Message 12479.
Last modified: 4 Apr 2014, 18:51:44 UTC

There's a Virtualbox-to-BOINC connector that wraps client programs in Virtualbox instances

Hm, I guess this is what for example Test4Theory does. But wouldn't this mean you have to make a BURP-side client which then does run like this? Don't know how much of a work would that be for you...
____________
Life is Science, and Science rules. To the universe and beyond
Proud member of BOINC@Heidelberg
My BOINC-Stats

Profile noderaser
Project donor
Avatar
Send message
Joined: 28 Mar 06
Posts: 506
Credit: 1,548,030
RAC: 45
Message 12482 - Posted: 5 Apr 2014, 2:49:34 UTC

Although my knowledge may be somewhat limited when it comes to compiling software, if there's anything I can do to help just say the words. I'm happy to help test apps, and could even arrange for some "time" on my iMac (i5 4-core 2.5 GHz, 16 GB, currently on 10.8.5 Mountain Lion) via TeamViewer if needed. Heck, I'd even be willing to pitch in on a donation item* if buying a piece of Mac hardware would make it easier.

Yes, I was referring to the packaged VirtualBox that some projects are using, which AFAIK doesn't require any configuration on the user end, only that the projects package their WUs to run inside the virtualized environment. I guess there would also have to be a VM file in there somewhere. They make it sound easy, and the BOINC + VirtualBox installation is now the "suggested" download at Berkeley, but none of my current projects are making use of it so I haven't tried it personally.

Upon further inspection, the BOINC + VirtualBox installation is currently only offered for Windows, but I know that VirtualBox itself is available for OS X and many other platforms.

The only reason I'm being particularly pesky about it, is that Renderfarm.fi has had OS X work for some time--when there is work, grumble grumble. Thought maybe their apps could be ported back to BURP-prime. And, you'd probably have a better chance of actually getting anything from them.

"that guy" indeed... I've got a co-worker who calls me that as well, because I'm always the one to ask the questions that are sometimes obvious but don't get asked. Or, the one to bring up things that make more sense than decisions based on policy alone. I guess I'm secretly an agitator.

*On a side note, why has the donation link gone cold? Surely, you're not paying for everything out of your own pocket, are you?
____________

Profile Janus
Volunteer moderator
Project administrator
Avatar
Send message
Joined: 16 Jun 04
Posts: 4467
Credit: 2,094,806
RAC: 0
Message 12485 - Posted: 6 Apr 2014, 10:01:34 UTC - in response to Message 12482.
Last modified: 6 Apr 2014, 10:46:49 UTC

The only reason I'm being particularly pesky about it, is that Renderfarm.fi has had OS X work for some time--when there is work, grumble grumble. Thought maybe their apps could be ported back to BURP-prime.

There was no porting. They use Glue3 just like we do here. They just happened to have a lot of Macs =)

Although my knowledge may be somewhat limited when it comes to compiling software, if there's anything I can do to help just say the words. I'm happy to help test apps, and could even arrange for some "time" on my iMac (i5 4-core 2.5 GHz, 16 GB, currently on 10.8.5 Mountain Lion) via TeamViewer if needed.

...and (ii) you may not make the Apple Software available over a network where...

Well, let me put it like this: If you can get through the "lib"-portion of this which is a required step in the build process. Then building Glue3 should be fairly easy* in comparison:

  • # svn co http://development.burp.renderfarming.net/svn/repos/burp/server/trunk/clients/glue3
  • # cd glue3
  • edit Makefile to point BOINC_DIR to where you compiled BOINC
  • # make



Heck, I'd even be willing to pitch in on a donation item* if buying a piece of Mac hardware would make it easier.

Yeah I've been thinking about that. There's a lot of work involved in handling donations, though. This also answers your other question: A typical donation of 1 dollar ended up costing the project more than 1 dollar to handle once fees, taxes and time was taken into account - that's why the donation page was taken down.

* Easy: Right now there's an issue with the BOINC API and credit which means we cannot build towards the newest one because they changed it (again). I'm working on this and this issue is related to all platforms not just Mac.


Post to thread

Message boards : Number crunching : Mac OS X