CUDA on OS X (10.6)

Questions and Answers : Macintosh : CUDA on OS X (10.6)

To post messages, you must log in.

1 · 2 · Next

AuthorMessage
Scott Frappier

Send message
Joined: 30 Aug 05
Posts: 3
Credit: 525,096
RAC: 0
United States
Message 930808 - Posted: 4 Sep 2009, 9:25:09 UTC

Hello everyone!

Is there any update on CUDA with OS X 10.6 - I have all of the files loaded from NVIDIA (Driver + SDK) and I still get the libcudart could not be found message.

I've seen a lot of posts regarding the past versions, but I was curious as if this has been addressed in current versions or if there is a setup change that needs to occur.

Thanks!

- Scott

ID: 930808 · Report as offensive
Profile Ageless
Avatar

Send message
Joined: 9 Jun 99
Posts: 13810
Credit: 3,269,733
RAC: 0
Netherlands
Message 930817 - Posted: 4 Sep 2009, 10:28:06 UTC - in response to Message 930808.

Even if everything worked, there wouldn't be much use to it as there is no Seti application for CUDA on the Macintosh. Not here natively at Seti and not at Lunatics for the anonymous platform.

Other than that, you'll need BOINC 6.10, which is still in alpha testing.


Jord

Ancient Astronaut Theorists suggest that in many ways, you can be considered an alien conspiracy!

ID: 930817 · Report as offensive
Scott Frappier

Send message
Joined: 30 Aug 05
Posts: 3
Credit: 525,096
RAC: 0
United States
Message 930899 - Posted: 4 Sep 2009, 18:22:25 UTC - in response to Message 930817.

Ageless:

Appreciate the response - just needed the validation - I'm running 6.10.2 on the mac machines because of screensaver issues that Snow Leopard has and it's been working great.

Looks like they're getting the ATI CUL integrated in these builds as well...I see warnings regarding not finding libaticul.so now as well.

Here's to hoping that they'll have something in the near future (possibly even OpenCL ;) ).

- Scott

ID: 930899 · Report as offensive
Angel

Send message
Joined: 5 Sep 09
Posts: 1
Credit: 0
RAC: 0
Spain
Message 931215 - Posted: 5 Sep 2009, 16:12:48 UTC

Work seti at home in snow leopard?

ID: 931215 · Report as offensive
Profile Ageless
Avatar

Send message
Joined: 9 Jun 99
Posts: 13810
Credit: 3,269,733
RAC: 0
Netherlands
Message 931217 - Posted: 5 Sep 2009, 16:28:30 UTC - in response to Message 930899.

Here's to hoping that they'll have something in the near future (possibly even OpenCL ;) ).

Something I found while looking into building ATI apps for a whole different project...

"ATI does not provide CAL and Brook for Macintosh desktops or laptops.
However, it may be possible to get the acceleration on a Macintosh desktop with an ATI Radeon GPU by running Windows with Bootcamp (http://www.apple.com/support/bootcamp/). VMWare, another software for running Windows on a Macintosh, will not enable your machine to access the GPU."

So what may be true for getting ATI accelerators to work, may work for CUDA as well.
Jord

Ancient Astronaut Theorists suggest that in many ways, you can be considered an alien conspiracy!

ID: 931217 · Report as offensive
haddock29

Send message
Joined: 18 Sep 99
Posts: 36
Credit: 25,900,929
RAC: 6,287
France
Message 947180 - Posted: 14 Nov 2009, 14:35:12 UTC

I installed the CUDA Nvidia software for OSX on a 10.6 macmini (nvidia 9400M video, supposed to be compatible with CUDA).That includes the driver and the development softaware. The cuda software is in /usr/local/lib. Everytime I launch Boinc,I get the message "cannot load library libcudart, no coprocessor". The library is present in /usr/local/cuda/lib/libcudart.dylib. I even tried to make links withe different names, and changes the access priorities without any success

Any idea ?


ID: 947180 · Report as offensive
Ron Brooks

Send message
Joined: 18 May 99
Posts: 1
Credit: 304,397
RAC: 0
United States
Message 947856 - Posted: 17 Nov 2009, 13:01:24 UTC - in response to Message 947180.
Last modified: 17 Nov 2009, 13:11:28 UTC

Note: I am running Snow Leopard 10.6.2 at the time of this post.

It seems that the latest version of CUDA will not function with either the 32 nor 64 bit versions of Snow Leopard. I have tried installing the latest version with both 32 and 64-bit kernels without success.

The 32-bit installer will report that the installer was able to install successfully, but after a reboot and launch of BOINC it does not find a suitable GPU.

Perhaps a future driver will work, but the latest one will not from my experience.


ID: 947856 · Report as offensive
Charles Michael Fulton

Send message
Joined: 13 Nov 09
Posts: 8
Credit: 917,695
RAC: 3
United States
Message 948185 - Posted: 19 Nov 2009, 4:21:12 UTC - in response to Message 931217.

I have a 13" macbook pro with the NVIDIA 9400M, so I tried running Boinc on Windows under BootCamp, to see how much the GPU improved turnover time.

However, Boinc under Windows was telling me that the 9400M only had 253 MB of RAM. It's specced to have 256 MBs, the minimum required for Boinc to utilize the GPU... what gives?

I'm guessing it has something to do with the fact that the 9400M is integrated... which I though meant that the GPU would use the same RAM as the CPU... but in this case, maybe Windows is using 3 MBs of GPU RAM?

I'm hoping someone who has a deeper or clearer understanding can explain it to me. I'm pretty disappointed that my Macbook can't utilize the GPU because of 3 errant MBs.

ID: 948185 · Report as offensive
Profile Ageless
Avatar

Send message
Joined: 9 Jun 99
Posts: 13810
Credit: 3,269,733
RAC: 0
Netherlands
Message 948218 - Posted: 19 Nov 2009, 11:23:50 UTC - in response to Message 948185.

It's also possible that you run at such high resolution that you take up the extra 3MB.

Although my guess would be that your card uses physical RAM to add to its own amount. By physical RAM I mean the RAM in the computer. The BOINC detection sequence will only count actual RAM on the card. Although even then, 253MB is an odd number.

Since it runs Windows, can you check with GPU-Z to see how much it detects is on there?


Jord

Ancient Astronaut Theorists suggest that in many ways, you can be considered an alien conspiracy!

ID: 948218 · Report as offensive
Charles Michael Fulton

Send message
Joined: 13 Nov 09
Posts: 8
Credit: 917,695
RAC: 3
United States
Message 948453 - Posted: 20 Nov 2009, 5:22:40 UTC - in response to Message 948218.

Hello,

I downloaded the GPU-Z app and here is what it told me:


It looks like I've got 256 MBs of RAM on the GPU...

What does this tell you?

ID: 948453 · Report as offensive
Profile Ageless
Avatar

Send message
Joined: 9 Jun 99
Posts: 13810
Credit: 3,269,733
RAC: 0
Netherlands
Message 948457 - Posted: 20 Nov 2009, 5:47:43 UTC - in response to Message 948453.

Not much more than it does to you.
Question though, do you also have both the 9400M and 9600M GT included in your Macbook Pro?


Jord

Ancient Astronaut Theorists suggest that in many ways, you can be considered an alien conspiracy!

ID: 948457 · Report as offensive
Charles Michael Fulton

Send message
Joined: 13 Nov 09
Posts: 8
Credit: 917,695
RAC: 3
United States
Message 948623 - Posted: 20 Nov 2009, 21:44:51 UTC - in response to Message 948457.

No, the 13" MBP Unibodies only have the 9400M. The 9600 GT is an option on the 15" and 17" MBP Unibody models. Although, it may be standard on the 17".

Also, there are no other options for graphics cards in GPU-Z.

I'm not pushing Windows XP especially hard, I don't think. Can a standard install of Windows XP SP 3 use 3 MBs of GPU?

ID: 948623 · Report as offensive
Profile Ageless
Avatar

Send message
Joined: 9 Jun 99
Posts: 13810
Credit: 3,269,733
RAC: 0
Netherlands
Message 948674 - Posted: 20 Nov 2009, 23:56:41 UTC - in response to Message 948623.

I'm not pushing Windows XP especially hard, I don't think. Can a standard install of Windows XP SP 3 use 3 MBs of GPU?

Well, yes. Per resolution you can use up to 10MB.

But that wouldn't show in the actual detection. I'll be forwarding this one to the developer for the Macintosh, it's possible there's something wrong with the detection for GPUs on the Mac with Windows.
Jord

Ancient Astronaut Theorists suggest that in many ways, you can be considered an alien conspiracy!

ID: 948674 · Report as offensive
Charles Michael Fulton

Send message
Joined: 13 Nov 09
Posts: 8
Credit: 917,695
RAC: 3
United States
Message 948717 - Posted: 21 Nov 2009, 3:10:27 UTC - in response to Message 948674.

Awesome, thanks! Glad to be able to contribute.

ID: 948717 · Report as offensive
Profile Ageless
Avatar

Send message
Joined: 9 Jun 99
Posts: 13810
Credit: 3,269,733
RAC: 0
Netherlands
Message 949802 - Posted: 25 Nov 2009, 22:22:04 UTC - in response to Message 948717.

OK, having had some discussions with the developers, their conclusion is that it is your OS taking up the remaining 3MB of memory. You should try to run with a lower resolution.

But there's also another problem that I found. It would seem that all Macbook Pro's with the 9400M show it to have 253MB only. I even found one who had 512MB on there, but it showed 253MB only. So it would seem this is a limitation built in by Apple. You may want to check on Mac forums, or if Apple has some forum, if there are ways around this.

The minimum that Seti requires is 254MB. You're just a megabyte shy.


Jord

Ancient Astronaut Theorists suggest that in many ways, you can be considered an alien conspiracy!

ID: 949802 · Report as offensive
Profile Martin P.

Send message
Joined: 19 May 99
Posts: 294
Credit: 21,133,310
RAC: 6,829
Austria
Message 962971 - Posted: 13 Jan 2010, 10:56:13 UTC

Since yesterday there are CUDA apps for Einstein@Home and Collatz for MacOS X. They work and validate o.k!

Remember to download and install the NVIDIA CUDA drivers first!


ID: 962971 · Report as offensive
Profile arkaynProject Donor
Volunteer tester
Avatar

Send message
Joined: 14 May 99
Posts: 4097
Credit: 51,575,896
RAC: 1,692
United States
Message 963001 - Posted: 13 Jan 2010, 15:35:17 UTC - in response to Message 962971.

Since yesterday there are CUDA apps for Einstein@Home and Collatz for MacOS X. They work and validate o.k!

Remember to download and install the NVIDIA CUDA drivers first!


You will also have to install at least 6.10.27 as that allows for a 32-bit install since the NVidia drivers are only 32-bit.
http://boinc.berkeley.edu/download_all.php

ID: 963001 · Report as offensive
Charles Michael Fulton

Send message
Joined: 13 Nov 09
Posts: 8
Credit: 917,695
RAC: 3
United States
Message 965745 - Posted: 24 Jan 2010, 21:43:21 UTC

Hmmm... I don't see a 6.10.27 for MacOSX. I see a 6.10.21! I thought maybe 10.6.27 was just a typo, but I installed 6.10.21, the recommended version as of this date, as well as the NVIDA drivers, and it's still not recognizing my GPU. So, should I install 6.10.29?

ID: 965745 · Report as offensive
Profile arkaynProject Donor
Volunteer tester
Avatar

Send message
Joined: 14 May 99
Posts: 4097
Credit: 51,575,896
RAC: 1,692
United States
Message 965782 - Posted: 25 Jan 2010, 0:11:25 UTC - in response to Message 965745.

6.10.29 will work as well as it has the 32-bit fix.



ID: 965782 · Report as offensive
NURV2600

Send message
Joined: 18 Feb 00
Posts: 1
Credit: 81,517
RAC: 0
United States
Message 965911 - Posted: 25 Jan 2010, 21:13:05 UTC

Download the CUDA drivers from NVIDIA, install and restart. Then, create a file in your home directory called ".bash_profile" (giving it this name with the . in front will make it invisible). In the file, put the following 2 lines:

export PATH=/usr/local/cuda/bin:$PATH
export DYLD_LIBRARY_PATH=/usr/local/cuda/lib:$DYLD_LIBRARY_PATH

Save it, (no extension), and download 6.10.29 and install. Restart again, and when you launch, it will show all usable GPUs in messages at launch.

Note: there are still no CUDA apps for the Mac yet, but it looks like this going to change soon. But at least after having done this, as soon as those apps are out, your BOINC client will be able to start GPU crunching immediately.

ID: 965911 · Report as offensive
1 · 2 · Next

Questions and Answers : Macintosh : CUDA on OS X (10.6)


 
©2016 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.