Skip to content
Prev 1955 / 2152 Next

Installing gputools fails on Ubuntu 14.04LTS

Hello,

I'm trying to install gputools on Ubuntu 14.04LTS and I'm not having much
luck.  I'm not sure if it helps, but here's the R info that's output when I
run it:


R version 3.2.0 (2015-04-16) -- "Full of Ingredients"
Copyright (C) 2015 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)


Here are the steps I've taken so far:
*1) Run the following in the terminal:*

*git clone https://github.com/nullsatz/gputools.git
<https://github.com/nullsatz/gputools.git>*

-This creates a "gputools" folder in my /home directory

*2)  Then run the following in the terminal:*

*R CMD build gputools*

-This creates the gputools_0.5.tar.gz in my home folder

*3) Then I run the following command (which is causing issues)*

*R CMD INSTALL --configure-args="--with-nvcc=/usr/local/cuda/bin/nvcc
--with-r-lib=/usr/lib/R/lib --with-r=/usr/lib/R/ " gputools_0.5.tar.gz*

and I get the following output:

** installing to library ?/home/erol/R/library?*
** installing *source* package ?gputools? ...*
*** libs*
*Warning: no source files found*
*** R*
*** preparing package for lazy loading*
*** help*
**** installing help indices*
*** building package indices*
*** testing if installed package can be loaded*
*Error in library.dynam(lib, package, package.lib) : *
*  shared object ?gputools.so? not found*
*Error: loading failed*
*Execution halted*
*ERROR: loading failed*
** removing ?/home/erol/R/library/gputools?*
** restoring previous ?/home/erol/R/library/gputools?*

I've checked the paths, and found my '*libR.so*' tucked away all alone in
*/usr/lib/R/lib*, but I don't know where *gputools.so* is and I can't find
it by searching.

Any feedback on how to proceed would be greatly appreciated.

Thanks for your help.

Regards,

Erol Biceroglu


*erol.biceroglu at alumni.utoronto.ca <erol.biceroglu at alumni.utoronto.ca>*