Install gputools on windows

I am trying to install gputools of package R on a windows machine. According to install installation , windows support is not supported. However, the linux instructions relate to specifying package r where you can find the cuda folder, so I think this should be possible for windows.

Config.mk file

# set R_HOME, R_INC, and R_LIB to the the R install dir, # the R header dir, and the R shared library dir on your system R_HOME := $(shell R RHOME) R_INC := $(R_HOME)/include R_LIB := $(R_HOME)/lib # replace these three lines with # CUDA_HOME := <path to your cuda install> ifndef CUDA_HOME CUDA_HOME := /usr/local/cuda endif # set CUDA_INC to CUDA header dir on your system CUDA_INC := $(CUDA_HOME)/include ARCH := $(shell uname -m) # replace these five lines with # CUDA_LIB := <path to your cuda shared libraries> ifeq ($(ARCH), i386) CUDA_LIB := $(CUDA_HOME)/lib else CUDA_LIB := $(CUDA_HOME)/lib64 endif OS := $(shell uname -s) ifeq ($(OS), Darwin) ifeq ($(ARCH), x86_64) DEVICEOPTS := -m64 endif CUDA_LIB := $(CUDA_HOME)/lib R_FRAMEWORK := -F$(R_HOME)/.. -framework R RPATH := -rpath $(CUDA_LIB) endif CPICFLAGS := $(shell R CMD config CPICFLAGS) 

I changed the config.mk file, replacing each instance of $(CUDA_HOME) with C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v6.5/lib and $(R_HOME) with C:/R/R-3.1.2 .

After that I updated the package folder and tried to install it using install.packages("C:/Users/prg/Desktop/gputools_0.28.tar/gputools_0.28/gputools.zip", repos = NULL) , but this will give an error file 'src/config.mk' has the wrong MD5 checksum .

Is there a way to pass the MD5 test? Do I need to specify anything else in the config.mk folder?

After executing the cdeterman and RHertel sentences, I mounted the tar file using R CMD build gputools_0.28 after deleting the MD5 file. Trying to install the package now no longer gives a checksum error, but a compilation error:

 * installing *source* package 'gputools' ... ** libs *** arch - i386 no DLL was created ERROR: compilation failed for package 'gputools' * removing 'C:/Users/prg/Desktop/gputools/gputools_0.28/gputools.Rcheck/gputools' 

I installed Rtools and MinGw, any ideas on what I can do to build gputools?

+5
source share
1 answer

This may be a problem: "After that, I installed the package again." How did you do this? I have never tried, but I assume that just a zipping directory might not work. I suggest creating a modified package using the R CMD build gputools_0.28 .

+3
source

All Articles