You are not logged in.

#1 2009-05-28 18:31:11

shiki
Member
From: Hungary
Registered: 2008-08-11
Posts: 29
Website

[SOLVED] BOINC and libcudart.so

Hello! I have a problem regarding CUDA.

I've got an MSI NX8600GTS and NVidia drivers up and running. Compiled BOINC 6.4.5 from source (some gcc optimalization and without manager). The only problem I have is this:

28-May-2009 20:14:42 [---] Can't load library libcudart

I tried to cp the /usr/lib/libcuda.so to /usr/lib/boinc-client/libcudart.so , and so on.. but nothing helped. I read the PKGBUILD of the AUR package and many more google hit, but nothing.. could you help me out?

( I installed the aur/cuda too (2.2 version, modified the PKGBUILD on-the-fly))

Solution:
Create these folders:
sudo mkdir /usr/local/cuda
sudo mkdir /usr/local/cuda/lib

And create a symlink:
sudo ln -s /usr/lib/libcudart.so /usr/local/cuda/lib/libcudart.so

I hope this 'howto' will help someone smile

Last edited by shiki (2009-05-30 12:39:58)

Offline

#2 2009-05-29 11:33:57

shiki
Member
From: Hungary
Registered: 2008-08-11
Posts: 29
Website

Re: [SOLVED] BOINC and libcudart.so

^bump^

Offline

#3 2009-05-29 15:03:55

bwalk
Member
Registered: 2007-03-21
Posts: 177

Re: [SOLVED] BOINC and libcudart.so

What does

ldd /path/to/boinc-executable

give?

Offline

#4 2009-05-29 15:55:00

shiki
Member
From: Hungary
Registered: 2008-08-11
Posts: 29
Website

Re: [SOLVED] BOINC and libcudart.so

[shiki@ayanami ~]$ ldd /usr/bin/boinc_client
    linux-vdso.so.1 =>  (0x00007fffb3dff000)
    libnsl.so.1 => /lib/libnsl.so.1 (0x00007f1eab93b000)
    libcurl.so.4 => /usr/lib/libcurl.so.4 (0x00007f1eab6f5000)
    librt.so.1 => /lib/librt.so.1 (0x00007f1eab4ed000)
    libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8 (0x00007f1eab29d000)
    libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0x00007f1eaaf0e000)
    libdl.so.2 => /lib/libdl.so.2 (0x00007f1eaad0a000)
    libz.so.1 => /usr/lib/libz.so.1 (0x00007f1eaaaf5000)
    libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f1eaa7e6000)
    libpthread.so.0 => /lib/libpthread.so.0 (0x00007f1eaa5ca000)
    libm.so.6 => /lib/libm.so.6 (0x00007f1eaa348000)
    libc.so.6 => /lib/libc.so.6 (0x00007f1ea9ff3000)
    /lib/ld-linux-x86-64.so.2 (0x00007f1eabb53000)
    libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f1ea9ddd000)

Offline

#5 2009-05-29 19:07:02

iBertus
Member
From: Greenville, NC
Registered: 2004-11-04
Posts: 2,228

Re: [SOLVED] BOINC and libcudart.so

Just a guess, but do you have CUDA installed? Maybe you need the CUDA SDK at compile time of BOINC?

edit: just saw that you did have CUDA installed, sorry!

Last edited by iBertus (2009-05-29 19:07:22)

Offline

Board footer

Powered by FluxBB