Ok, I got this job with a few hacks. This is for centos 7.
The first problem was resolved by viewing the mailing list. https://github.com/nullsatz/gputools/issues/12
Edit the Makefile and change the line 'CFLAGS: put' \ 'after' Wp 'and before', '
CFLAGS = -O2 -g -pipe -Wall -Werror = format-security -Wp \, - D_FORTIFY_SOURCE = 2 -fexceptions -fstack-protector-strong --param = ssp-buffer-size = 4 -grecord-gcc -switches -m64 -mtune = generic
, R shared lib . LD_LIBRARY_PATH , .
:
cd/usr/local/cuda/lib64 && & ln -s/usr/lib64/R/lib/libR.so libR.so
( , tar.gz Makefile)
R CMD INSTALL --configure-args = "- with-nvcc =/usr/local/cuda/bin/nvcc --with-r-lib =/usr/lib64/". /gputools _1. 0.tar.gz
, , , , .