I am trying to install the R package gputools on a windows machine. According to the install instuctions there is no support for windows. The linux instructions however are all about instructing the r package where to find the cuda folder, so I’m thinking this should be possible on windows.
The config.mk file is
# 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 have modified the config.mk file by replacing every instance of
C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v6.5/lib and
After this I rezipped the package folder and tried to install it with
install.packages("C:/Users/prg/Desktop/gputools_0.28.tar/gputools_0.28/gputools.zip", repos = NULL) but this give the error
file ‘src/config.mk’ has the wrong MD5 checksum.
Is there a way to get past the MD5 check? Do I need to specify anything else in the config.mk folder?