
Dear Mr. Rosenbaum,

I have had similar trouble while installing gputools and rgpu. I also run a 64-bit Ubuntu 10.04. After fiddling around with some environmental variables, I think adding the following to each of /etc/bash.bashrc and /home/your_user_name/.bashrc files solves the problem, at least for me.

export PATH=$PATH:/usr/local/cuda/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/lib:/usr/local/cuda/lib64
export CUDA_INC_PATH=/home/your_user_name/NVIDIA_GPU_Computing_SDK/C/common/inc
export CUDA_LIB_PATH=/usr/local/cuda/lib64
export CUDA_BIN=/usr/local/cuda/bin
export CUDA_HOME=/usr/local/cuda
export R_INC_PATH=/usr/lib64/R/include

After adding these to the aforementioned files, both gputools and rgpu installed properly and started working. The puzzling thing is that the examples in the NVIDIA SDK don't seem to compile however gputools and rgpu works properly. 

Hope this helps.

Regards,  

Hamaad Musharaf Shah.

> From: r-sig-hpc-request@r-project.org
> Subject: R-sig-hpc Digest, Vol 20, Issue 14
> To: r-sig-hpc@r-project.org
> Date: Wed, 26 May 2010 12:00:12 +0200
> 
> Send R-sig-hpc mailing list submissions to
> 	r-sig-hpc@r-project.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	https://stat.ethz.ch/mailman/listinfo/r-sig-hpc
> or, via email, send a message with subject or body 'help' to
> 	r-sig-hpc-request@r-project.org
> 
> You can reach the person managing the list at
> 	r-sig-hpc-owner@r-project.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of R-sig-hpc digest..."
> 
> 
> Today's Topics:
> 
>    1. problem installing gputools (Ted Rosenbaum)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Tue, 25 May 2010 20:02:17 -0400
> From: Ted Rosenbaum <rosenbat@gmail.com>
> To: r-sig-hpc@r-project.org
> Subject: [R-sig-hpc] problem installing gputools
> Message-ID:
> 	<AANLkTinvG7yRqzZupojBmeY7EhUL3Y_UOaHzVW03c-CV@mail.gmail.com>
> Content-Type: text/plain
> 
> Hi,
> I am trying to install gputools on Ubuntu 10.04 64 bit.  I have successfully
> ran the all the test programs from the CUDA test suite and am running
> version 3.0 of the toolkit.  When I attempt to install the package in R, I
> get the following error message,
> 
> >   ** testing if installed package can be loaded
> > Error in dyn.load(file, DLLpath = DLLpath, ...) :
> >   unable to load shared library
> > '/usr/local/lib64/R/library/gputools/libs/gputools.so':
> >   libcublas.so.3: cannot open shared object file: No such file or directory
> > ERROR: loading failed
> >
> 
> Earlier in installation process it does verify the existence of the library
> by saying:
> 
> > checking "whether this is the 64 bit linux version of CUDA"... checking for
> > /usr/local/cuda/lib64/libcublas.so... yes
> >
> Also, I have both /usr/local/cuda/lib64 and /usr/local/cuda/lib in my
> LD_LIBRARY_PATH environmental variable, and installed the version of the
> NVIDIA drivers from their website (and am not using the ones in the repos).
> 
> Any help is appreciated.
> 
> Thanks.
> 
> 
> ------------------------------
> Ted Rosenbaum
> Graudate Student
> Department of Economics
> Yale University
> 
> 	[[alternative HTML version deleted]]
> 
> 
> 
> ------------------------------
> 
> _______________________________________________
> R-sig-hpc mailing list
> R-sig-hpc@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-hpc
> 
> 
> End of R-sig-hpc Digest, Vol 20, Issue 14
> *****************************************
 		 	   		  
_________________________________________________________________
Hotmail: Trusted email with Microsoft’s powerful SPAM protection.

	[[alternative HTML version deleted]]

