![]() Replace string R_INC := $(R_HOME)/include in gputools/src/config.mk string by found path: R_INC := /usr/share/R/include Rinterface.cu:1:14: fatal error: R.h: No such file or directory #include Next try to gzip it back and install from source: install.packages("~/", repos = NULL, type = "source") In gputools/src/Makefile by NVCC := $(CUDA_HOME)/bin/nvcc -gencode arch=compute_20,code=sm_21 ![]() So I downloaded gputools source package: cd ~Īnd replace following string NVCC := $(CUDA_HOME)/bin/nvcc -gencode arch=compute_10,code=sm_10 -gencode arch=compute_13,code=sm_13 -gencode arch=compute_20,code=sm_20 -gencode arch=compute_30,code=sm_30 You can verify your GPU capabilities here. I have gt525m card and have compute capability 2.1. Solving this issue I found this link useful. Unsupported gpu architecture ‘compute_10’ Installing gputoolsįirst simply try: install.packages('gputools', repos = '') Note, that I added path to nvcc compiler. Add following lines:Įxport LD_LIBRARY_PATH=$/lib64 After installation we need to modify our.This will install cuda toolkit and corresponding nvidia drivers. So I recommend to switch to real terminal ( ctrl + alt + f1), remove all nvidia stuff sudo apt-get purge nvidia-* and then follow steps from article above. It is very important to have no nvidia drivers before installation ( first I corrupted my system and have to reinstall it :-( ). I’am on latest ubuntu 15.04, but found this article well suited for me. Installing cuda toolkit ( Ubuntu )įirst of all we need to install nvidia cuda toolkti. Also I hope this may be useful for someone. The main purpose of this post is to keep all steps of installing cuda toolkit (and R related packages) and in one place.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |