首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >gputools:安装时出错

gputools:安装时出错
EN

Stack Overflow用户
提问于 2010-12-16 06:32:27
回答 2查看 1.3K关注 0票数 1

我正在使用NVidia Tesla 2050 GPU卡设置一台新的Dell Precision工作站。我想安装R的包gputools。我的操作系统是带有KDE4.4的openSuse 11.3。

我下载了NVidia的CUDA Toolkit3.2并将其安装在/usr/local/cuda中,我还下载了最新版本的CULA工具集(R10版)并将其安装在/usr/local/cula中。

当尝试从R中使用: install.packages(" gputools ")安装gputools时,我收到以下错误消息:

代码语言:javascript
复制
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工具集也没有帮助。

EN

回答 2

Stack Overflow用户

发布于 2010-12-16 06:36:18

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

票数 1
EN

Stack Overflow用户

发布于 2010-12-16 15:48:08

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

代码语言:javascript
复制
-DCUDA_FORCE_API_VERSION=3010

添加到您的nvcc命令行。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/4455643

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档