Forum > Linux

Help installing CUDA version

<< < (5/6) > >>

BeemerBiker:

--- Quote from: sunu on 03 Nov 2009, 06:04:49 pm ---Welcome aboard :)

1) If you use BOINC from synaptic uninstall it, it is probably old. Go to http://boinc.berkeley.edu/download_all.php and get 6.10.17. Install it to your /home directory.
2)  Make sure all the appropriate cuda libs from 2.3 toolkit

libcudart.so
libcudart.so.2
libcudart.so.2.2
libcufft.so
libcufft.so.2
libcufft.so.2.2

are in the projects/setiathome.berkeley.edu directory.

3)  Edit accordingly your ld.so.conf or the corresponding ld-something file of your distro with the above location of the cuda libs and then run ldconfig to update the cache.

4. The cuda executable (setiathome-CUDA-6.08.x86_64-pc-linux-gnu) goes also to the projects/setiathome.berkeley.edu directory. Copy also the app_info.xml file there.


--- End quote ---

The ubuntu distro creates a startup script in init.d unlike the berkeley which just seem to unpack the binaries.  I have been copying the new binaries into /usr/bin and the libcudart.so into /var/lib/boinc-client and letting the nvidia 190.53 installer stuff the rest of the cuda libs where it wants.  I assume that libcudart.so is only needed by the boinc core (IANE on boinc) and the ones you listed above go into the projects/setiathome.berkeley.edu

OK, but you listed a number of 2.2 files and looking at the release tar from the linux/cuda thread I see only 2.1


Also, is it necessary to do your step 3?   Gpugrid and einstine put their 2.3 and 2.2 stuff into their locations and there is no library building.

thanks for looking


sunu:
Don't use boinc from the ubuntu repositories. It's usually too old. Completely remove it and get it from http://boinc.berkeley.edu/download_all.php and install it in your HOME directory (number 1 from the snippet you quoted above).

The six cuda libraries I've mentioned are in the cuda toolkit which you can find in http://developer.nvidia.com/object/cuda_2_3_downloads.html . We are now in ver 2.3 so instead of the two 2.2s you'll have 2.3s.

If you use the nvidia drivers from the ubuntu repositories, completely remove them and get them straight from nvidia.

Don't use the libraries from the installer, they are too old. See above about the cuda toolkit.

There is a bit newer seti cuda version in http://calbe.dw70.de/mb/viewtopic.php?f=9&t=116 .

Yes, if you follow the 4 steps you quoted, step 3 is obligatory.

I don't know how gpugrid or einstein works, I've never used them.

BeemerBiker:
Thanks SUNU!

I got it working finally.  Not knowing a lot about the inner workings of ubuntu, I added the phrase "include" in ld.so.conf where I should have just added /usr/local/cuda/lib64 by itself.  There was only one line in ld.so.conf and that had "include" so I assumed I needed to use include for the cuda libraries.

Do you know why the app_info has the two cuda llibs listed?  Boinc attempted to download them and of course they failed.

After I corrected thd ld.so.conf it quit attempting to download them and I got  my fiirst linux cuda wu.  It started at 26 hours but is dropping fast.

Ubuntu 9.1, GTS-250, Boinc 6.10.32 on a $13 motherboard http://tinyurl.com/yl7jbxa

Leopoldo:

--- Quote from: BeemerBiker on 15 Feb 2010, 01:45:04 pm ---I got it working finally.

--- End quote ---
Please check Your results for repeating lines "Cuda error 'GaussFit_kernel' in file './cudaAcc_gaussfit.cu' in line 497 : invalid configuration argument."

If them exists - Your calculated result can't be compared to "stock" CPU-app 6.30, so Your computer will pollute SETI@home database with wrong results...

BeemerBiker:

--- Quote from: Leopoldo on 15 Feb 2010, 02:12:29 pm ---
--- Quote from: BeemerBiker on 15 Feb 2010, 01:45:04 pm ---I got it working finally.

--- End quote ---
Please check Your results for repeating lines "Cuda error 'GaussFit_kernel' in file './cudaAcc_gaussfit.cu' in line 497 : invalid configuration argument."

If them exists - Your calculated result can't be compared to "stock" CPU-app 6.30, so Your computer will pollute SETI@home database with wrong results...


--- End quote ---

It finally uploaded and I got to see the results.
Seems ok - Here is the workunit processed 3 different ways. 
http://setiathome.berkeley.edu/workunit.php?wuid=570602820

clicking on the bottom one I see no error messages

http://setiathome.berkeley.edu/result.php?resultid=1516909565

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version