[R-sig-hpc] question about install gputools

Hodgess, Erin HodgessE at uhd.edu
Thu Feb 23 22:27:57 CET 2012


Aha!  We have a 32 bit underlying system, while the package is a 64 bit.

Is there a "work around" for that, please? 

I've tried creating a Makevars file in the /R/etc directory, but it
doesn't help.

I'm thinking that there might not be a work around.

Thanks,
Erin


-----Original Message-----
From: Dirk Eddelbuettel [mailto:edd at debian.org] 
Sent: Wednesday, February 22, 2012 9:34 PM
To: Hodgess, Erin
Cc: Dirk Eddelbuettel; r-sig-hpc at r-project.org
Subject: RE: [R-sig-hpc] question about install gputools


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