2010-12-15 122 views
1

我正在设置一个带有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工具包也无济于事无论是。

回答

1

从我的头顶开始,尝试3.1版本的NVidua CUDA SDK。我认为与新的有一些互动。

+0

Hello Dirk。我尝试过,但不幸没有帮助。 – Michaela 2010-12-15 22:46:46

+0

我在Ubuntu服务器上安装了'gputools'几次。如果您安装了基本的Nvidia驱动程序,请尝试使用SDK及其示例。当它工作时,'gputools'包应该安装正常。这一切都很乏味,但这是与硬件相关的东西。 – 2010-12-15 23:10:36

1

为了支持具有大容量内存的设备(例如具有6GB设备内存的C2070),CUDA-3.2使用“size_t”来描述内存数量,而不是像CUDA < = 3.1中使用的“unsigned int”。这看起来像使用CUDA-3.2的经典案例,其中CUDA-3.1是预期的。您可以使用CUDA-3.2编译器向您的nvcc命令行添加

-DCUDA_FORCE_API_VERSION=3010