>>Can't load library libcudart

Message boards : Graphics cards (GPUs) : >>Can't load library libcudart
Message board moderation

To post messages, you must log in.

AuthorMessage
vampirion

Send message
Joined: 1 Nov 07
Posts: 2
Credit: 3,332,602
RAC: 0
Level
Ala
Scientific publications
watwatwatwat
Message 4892 - Posted: 26 Dec 2008, 21:55:52 UTC

When Boinc starts i get message "Can't load library libcudart" and "No coprocessors". I use Ubuntu Intrepid 64-bit, nVidia driver 177.82, Boinc 6.4.5 and my graphic card is GeForce 8400M GS. What can I do to run GPUGrid on my machine?
ID: 4892 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile mike047

Send message
Joined: 21 Dec 08
Posts: 47
Credit: 7,330,049
RAC: 0
Level
Ser
Scientific publications
watwatwatwatwatwatwat
Message 4895 - Posted: 26 Dec 2008, 22:53:58 UTC - in response to Message 4892.  

When Boinc starts i get message "Can't load library libcudart" and "No coprocessors". I use Ubuntu Intrepid 64-bit, nVidia driver 177.82, Boinc 6.4.5 and my graphic card is GeForce 8400M GS. What can I do to run GPUGrid on my machine?



I have the same issue with the exception my card is a 9600GSO. I started an identical box several days ago and after repeated tries finally got it to work. I have tried this second box all day without success.

More google, I guess:(

mike
ID: 4895 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
ExtraTerrestrial Apes
Volunteer moderator
Volunteer tester
Avatar

Send message
Joined: 17 Aug 08
Posts: 2705
Credit: 1,311,122,549
RAC: 0
Level
Met
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 4897 - Posted: 26 Dec 2008, 22:59:02 UTC

Don't know much about the joys of installing under Linux.. but I remember reading something about manually placing this "libcudart" somewhere. Maybe searching this forum yields more information.

MrS
Scanning for our furry friends since Jan 2002
ID: 4897 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile koschi
Avatar

Send message
Joined: 14 Aug 08
Posts: 127
Credit: 913,858,161
RAC: 15
Level
Glu
Scientific publications
watwatwatwatwatwatwatwatwatwatwat
Message 4920 - Posted: 27 Dec 2008, 5:15:51 UTC
Last modified: 27 Dec 2008, 5:18:50 UTC

wget http://boinc.berkeley.edu/dl/boinc_6.4.5_x86_64-pc-linux-gnu.sh
sh boinc_6.4.5_x86_64-pc-linux-gnu.sh
invoke-rc.d boinc-client stop
cd BOINC
cp libcudart.so /var/lib/boinc-client #or where ever you installed your BOINC, this directory is the Debian/Ubuntu default
invoke-rc.d boinc-client start

...this should be enough

edit:

please ensure that the user that runs BOINC is member of the group video. In a default Ubuntu/Debian BOINC setup this is not the case for user boinc
ID: 4920 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile GDF
Volunteer moderator
Project administrator
Project developer
Project tester
Volunteer developer
Volunteer tester
Project scientist

Send message
Joined: 14 Mar 07
Posts: 1958
Credit: 629,356
RAC: 0
Level
Gly
Scientific publications
watwatwatwatwat
Message 4928 - Posted: 27 Dec 2008, 10:02:56 UTC - in response to Message 4920.  

All this should not be necessary.
Are you using an up-to-date boinc version like 6.4.5?

gdf
ID: 4928 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
vampirion

Send message
Joined: 1 Nov 07
Posts: 2
Credit: 3,332,602
RAC: 0
Level
Ala
Scientific publications
watwatwatwat
Message 4958 - Posted: 27 Dec 2008, 18:50:27 UTC - in response to Message 4920.  

thanks, your advise works for me and now boinc can use libcudart.so.
i've used getdeb package to install boinc 6.4.5 and it doesn't install libcudart.so in boinc data directory. it must be downloaded and copied manualy as you said.

but...

strange thing happened and my boinc says now "No CUDA devices found" and "No coprocessors"
I use the newest driver, my card GeForce 8400M GS is on nVIDAIA's CUDA supported list http://www.nvidia.com/object/cuda_learn_products.html

So where is the problem now? Why can't boinc see my GPU?
ID: 4958 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile koschi
Avatar

Send message
Joined: 14 Aug 08
Posts: 127
Credit: 913,858,161
RAC: 15
Level
Glu
Scientific publications
watwatwatwatwatwatwatwatwatwatwat
Message 4984 - Posted: 28 Dec 2008, 5:20:48 UTC

So you installed BOINC from a .deb package? Which user runs BOINC, is it the boinc user that was created during the install? Then you need to add him to the group video, otherwise he is not allowed to access the video card.
ID: 4984 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
J

Send message
Joined: 11 Jan 09
Posts: 1
Credit: 0
RAC: 0
Level

Scientific publications
wat
Message 5492 - Posted: 11 Jan 2009, 10:54:30 UTC - in response to Message 4920.  

The concept of copying worked for me.

More precisely I created a symlink in the boic libs folder
user@host:/var/lib/boinc-client$ sudo ln -s /usr/local/cuda/lib/libcudart.so libcudart.so

then
sudo /etc/init.d/boinc-client restart

and I get:
Sun 11 Jan 2009 11:43:57 AM CET||CUDA devices found
Sun 11 Jan 2009 11:43:57 AM CET||Coprocessor: GeForce 8500 GT (1)


*Cheers*
ID: 5492 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote

Message boards : Graphics cards (GPUs) : >>Can't load library libcudart

©2025 Universitat Pompeu Fabra