[R] Fwd: error in installing rpud package
madhvi.gupta
madhvi.gupta at orkash.com
Mon Aug 18 07:45:49 CEST 2014
-------- Original Message --------
Subject: error in installing rpud package
Date: Mon, 18 Aug 2014 10:08:21 +0530
From: madhvi.gupta <madhvi.gupta at orkash.com>
To: r-help-request at r-project.org
Hello,
I am trying to install rpud package on R eith version 3.1.1 and i am
getting this error
install.packages("rpud")
Installing package into '/home/shweta/R/x86_64-pc-linux-gnu-library/3.1'
(as 'lib' is unspecified)
trying URL 'http://cran.rstudio.com/src/contrib/rpud_0.0.2.tar.gz'
Content type 'application/x-gzip' length 78113 bytes (76 Kb)
opened URL
==================================================
downloaded 76 Kb
* installing *source* package 'rpud' ...
checking "environment variable CUDA_HOME"... "CUDA_HOME not set; using
default /usr/local/cuda"
checking for /usr/local/cuda/bin/nvcc... yes
"nvcc found"
checking "whether this is the 64 bit linux version of CUDA"... checking
for /usr/local/cuda/lib64/libcublas.so... yes
"yes -- using /usr/local/cuda/lib64 for CUDA libs"
"using -I/usr/share/R/include for R header files"
"using -Wl,--export-dynamic -fopenmp -L/usr/lib64/R/lib -lR -lrt -ldl
-lm for R shared libraries"
configure: creating ./config.status
config.status: creating src/Makefile
** libs
** arch -
/usr/local/cuda/bin/nvcc -c -I/usr/local/cuda/include -Xcompiler
"-I/usr/share/R/include -fpic" rpud.cu -o rpud.o
/usr/local/cuda/bin/nvcc -c -I/usr/local/cuda/include -Xcompiler
"-I/usr/share/R/include -fpic" rpudist.cu -o rpudist.o
rpudist.cu(159): warning: use of "=" where "==" may have been intended
rpudist.cu(159): warning: use of "=" where "==" may have been intended
ptxas /tmp/tmpxft_000007b2_00000000-5_rpudist.ptx, line 904; warning :
Double is not supported. Demoting to float
/usr/local/cuda/bin/nvcc -shared -Xlinker "-Wl,--export-dynamic -fopenmp
-L/usr/lib64/R/lib -lR -lrt -ldl -lm -Wl,-rpath,/usr/local/cuda/lib64"
-L/usr/local/cuda/lib64 -lcublas -lcuda rpud.o rpudist.o -o rpud.so
/usr/bin/ld: unrecognized option '-Wl'
/usr/bin/ld: use the --help option for usage information
collect2: ld returned 1 exit status
make: *** [rpud.so] Error 1
ERROR: compilation failed for package 'rpud'
* removing '/home/shweta/R/x86_64-pc-linux-gnu-library/3.1/rpud'
Warning in install.packages :
installation of package 'rpud' had non-zero exit status
The downloaded source packages are in
'/tmp/RtmpX5lR2g/downloaded_packages'
so please help me to get out of this.
[[alternative HTML version deleted]]
More information about the R-help
mailing list