[R-sig-hpc] question about install gputools

Dirk Eddelbuettel edd at debian.org
Thu Feb 23 04:34:25 CET 2012


On 22 February 2012 at 21:12, Hodgess, Erin wrote:
| Here we go:

Thanks for posting this.  The (omitted) lines right before the error you
showed are instructive (and I unindent them here)

| > install.packages("gputools_0.26.tar.gz",repos=NULL,configure.args=c
| ("--with-cuda-home=/bccd/software/cuda-3.2.16"))
| Installing package(s) into '/bccd/home/bccd/R/x86_64-pc-linux-gnu-library/2.14'
| (as 'lib' is unspecified)
| * installing *source* package 'gputools' ...
[...]
| /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../.. /libR.so when searching for -lR
| /usr/bin/ld: skipping incompatible /usr/lib/R/lib/libR.so when searching for -lR
| /usr/bin/ld: skipping incompatible /usr/lib/libR.so when searching for -lR
| /usr/bin/ld: cannot find -lR
| collect2: ld returned 1 exit status

So it is not that no -lR is found, simply no _compatible_ libR.so is found.
Why that is so have no idea. I don't think I have ever seen that error.

The conflict is between ld and that shared library and would suggest that is
somewhat misconfigured.  I fear you need to sort that out at your end.

The gputools configure and compiled just fine, it simply didn't get R to link.

Dirk

-- 
"Outside of a dog, a book is a man's best friend. Inside of a dog, it is too
dark to read." -- Groucho Marx



More information about the R-sig-hpc mailing list