2010-12-15 126 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