R gputools:安装时出错
我正在使用NVidia Tesla 2050 GPU卡设置一个新的Dell Precision工作站。我想安装R的包gputools。我的操作系统是openSuse 11.3和KDE 4.4 我下载了NVidia的CUDA Toolkit 3.2并将其安装在/usr/local/CUDA中,我还下载了最新版本的CULA工具集(R10版),并将其安装在/usr/local/CULA中 尝试从R内安装gputools时,请使用: install.packages(“gputools”) 我收到以下错误消息:R gputools:安装时出错,r,cuda,gpu,opensuse,cula,R,Cuda,Gpu,Opensuse,Cula,我正在使用NVidia Tesla 2050 GPU卡设置一个新的Dell Precision工作站。我想安装R的包gputools。我的操作系统是openSuse 11.3和KDE 4.4 我下载了NVidia的CUDA Toolkit 3.2并将其安装在/usr/local/CUDA中,我还下载了最新版本的CULA工具集(R10版),并将其安装在/usr/local/CULA中 尝试从R内安装gputools时,请使用: install.packages(“gputools”) 我收到以下错
classification.cu(735): error: argument of type "unsigned int *" is incompatible with parameter of type "size_t *"
classification.cu(735): error: argument of type "unsigned int *" is incompatible with parameter of type "size_t *"
classification.cu(1042): error: argument of type "unsigned int *" is incompatible with parameter of type "size_t *"
classification.cu(1042): error: argument of type "unsigned int *" is incompatible with parameter of type "size_t *"
4 errors detected in the compilation of "/tmp/tmpxft_00003d8d_00000000-12_classification.compute_12.cpp1.ii".
make: *** [classification.o] Error 2
ERROR: compilation failed for package ‘gputools’
* removing ‘/home/moswald/R/x86_64-unknown-linux-gnu-library/2.12/gputools’
The downloaded packages are in
‘/tmp/RtmphI30zE/downloaded_packages’
Warning message:
In install.packages("gputools", dependencies = TRUE) :
installation of package 'gputools' had non-zero exit status
使用较旧版本的CULA和CUDA工具集也无济于事 在我的脑海中,尝试NVidua CUDA SDK的3.1版本。我认为与较新的版本有交互作用。为了支持具有大量内存的设备(例如具有6GB设备内存的C2070),CUDA-3.2使用“大小”来描述内存量,而不是像我在Ubuntu服务器上安装了几次的CUDA中所使用的“未签名int”。如果您安装了基本的Nvidia驱动程序,请尝试SDK及其示例。当这起作用时,
gputools
软件包应该可以正常安装。这有点乏味,但这就是它处理依赖硬件的东西的方式。
-DCUDA_FORCE_API_VERSION=3010