[R] Fwd: error in installing rpud package

Jeff Newmiller jdnewmil at dcn.davis.CA.us
Mon Aug 18 08:16:21 CEST 2014


Did you read the install instructions? I don't even know what this package does but it does have special instructions for installation.
---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k
--------------------------------------------------------------------------- 
Sent from my phone. Please excuse my brevity.

On August 17, 2014 10:45:49 PM PDT, "madhvi.gupta" <madhvi.gupta at orkash.com> wrote:
>
>
>
>-------- 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]]
>
>______________________________________________
>R-help at r-project.org mailing list
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide
>http://www.R-project.org/posting-guide.html
>and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list