2010-12-15 22 views
1

NVidia Tesla 2050 GPUカードを備えた新しいDell Precisionワークステーションをセットアップしています。私はRのパッケージgputoolsをインストールしたいと思います。私のOSはKDE 4.4のopenSUSE 11.3です。gputools:インストールエラー

私はNVidiaのCUDA Toolkit 3.2をダウンロードして/ usr/local/cudaにインストールしました。また、CULAツールセット(バージョンR10)の最新バージョンをダウンロードし、/ usr/local/culaにインストールしました。 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ツールセットの古いバージョンを使用して助けていない使用してR内からgputoolsをインストールしようとすると、

どちらか。

答えて

1

私の頭の上から、NVidua CUDA SDKの3.1バージョンを試してみてください。私は新しいものとの相互作用があったと思う。

+0

ハロー・ダーク。私はそれを試した、残念ながら助けていない。 – Michaela

+0

私のUbuntuサーバーに 'gputools'を数回インストールしました。基本的なNvidiaドライバをインストールしている場合は、SDKとその例を試してみてください。それがうまくいくと、 'gputools'パッケージはうまくインストールされます。それはすべて少し退屈ですが、それはハードウェア依存のものと一緒に行く方法です。 –

1

CUDA < = 3.1で使用されていたように、CUDA-3.2では6 GBのデバイスメモリを搭載したC2070などのデバイスをサポートするために、「unsigned int」ではなく「size_t」が使用されています。これは、CUDA-3.1が期待されるCUDA-3.2を使用する古典的なケースのようです。 nvccのコマンドラインに

-DCUDA_FORCE_API_VERSION=3010 

を追加することで、CUDA-3.2コンパイラでハッキングすることができます。