|
| ||||||||||
| Tags: cuda, cuda settings, graphic card, nvidia, video cards |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| Where to install libcudart.dylib for deploying CUDA on Mac OS?
Quote:
I just need to have any one effectively ship a cuda application to the end user on Mac or libcudart.dylib install location. Last edited by Amuda : 21-05-2010 at 10:24 AM. |
|
#2
| ||||
| ||||
| Re: How to ship CUDA on Mac OS X?
You can put that in application directory, and then add the path to the DYLD_LIBRARY_PATH. But you have to take care because it is fragile, especially when you software is a plug-in. The host application will do thing to the library path that you have to control over. If anyone install cudart in /usr/lib then it can be easily found before you copy, can create any problem. |
|
#3
| ||||
| ||||
| Re: How to ship CUDA on Mac OS X?
If you are using third party libs, then you can do the following thing for ensuring that your copy will use the private copy of the library. 1. First you have to create a copy of the library in application directory. 2. Make sure to use the install_name_tool for changing the baked in path, hence it also point to application directory. 3. Do not forget to link against the copy in place of the original
__________________ Education, Career and Job Discussions |
|
#4
| ||||
| ||||
| Re: How to ship CUDA on Mac OS X?
Shipping libcudart.dylib from the cuda toolkit with the help of your application is obviously is the perfect method. You must install them into a place that is related to your application’s installation directory rather than to any complete path in the system for the perfect reason that you have given. I will suggest linking with these libraries in this manner that the application binary contains references in the application bundle that look like this. Quote:
|
|
#5
| ||||
| ||||
| Re: How to ship CUDA on Mac OS X?
According to me you are absolutely correct on the install_name_tools is the technique to set this up, through install_name_tool for changing the LC_ID_DYLIB for the libraries for redistributing purpose. The whole process will look like this. For changing this for libcudart.dylib after copying this to a new place. Quote:
Quote:
|
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "Where to install libcudart.dylib for deploying CUDA on Mac OS?" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Audacity unable to open libmp3lame.dylib | Esmond Ivers | Windows Software | 3 | 11-03-2012 07:20 PM |
| Audacity 1.3.14 is not able to open libmp3lame.dylib | Woodward | Windows Software | 6 | 09-03-2012 09:49 PM |
| How to install Seagate 3TB cuda XT | Jane Alexander | Hardware Peripherals | 9 | 09-12-2011 11:10 AM |
| From where i can get ibSystem.B.dylib in OS X Lion | Rustagi | Operating Systems | 8 | 28-11-2011 09:16 PM |
| Deploying MSI's with WSUS 3.0?? | VauGhna | Server Update Service | 2 | 24-01-2010 07:06 AM |