我正在设置一个带有NVidia Tesla 2050 GPU卡的新Dell Precision工作站。我想安装R的套件gputools。我的操作系统是使用KDE 4.4的openSuse 11.3。我下载了NVidia的CUDA Toolkit 3.2并将它安装在/ usr/local/cuda中,我也下载了最新版本的CULA工具集(R10版)并将其安装到/ usr/local/cula中。gputools:安装时出错
当试图使用从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工具包也无济于事无论是。
Hello Dirk。我尝试过,但不幸没有帮助。 – Michaela 2010-12-15 22:46:46
我在Ubuntu服务器上安装了'gputools'几次。如果您安装了基本的Nvidia驱动程序,请尝试使用SDK及其示例。当它工作时,'gputools'包应该安装正常。这一切都很乏味,但这是与硬件相关的东西。 – 2010-12-15 23:10:36