NVidia Tesla 2050 GPU カードを搭載した新しい Dell Precision ワークステーションをセットアップしています。R のパッケージ gputools をインストールしたいと思います。私のOSはopenSuse 11.3 with KDE 4.4です。
NVidia の CUDA ツールキット 3.2 をダウンロードして /usr/local/cuda にインストールし、最新バージョンの CULA ツール セット (バージョン R10) もダウンロードして /usr/local/cula にインストールしました。
install.packages("gputools") を使用して R 内から 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 ツールセットを使用しても役に立ちません。