0

I had already installed Cuda 7.5 and now I have installed Cuda 8.0. The Nvidia card is TITAN X (Pascal). I also only activated the following compute abilitiesCUDA_ARCHfield inmakefile.config` (the rest are commented):

-gencode arch=compute_52,code=sm_52 \
-gencode arch=compute_61,code=sm_61 \
-gencode arch=compute_61,code=compute_61

I successfully could run make all and make test for Caffe installation, however, when I tried to run make runtest after some time it is showing error:

F0509 11:19:15.078367 29181 math_functions.cu:416] Check failed: status == CURAND_STATUS_SUCCESS (201 vs. 0)  CURAND_STATUS_LAUNCH_FAILURE

When I type ldd ./build/tools/caffe | grep cuda, I get

libcudart.so.7.5 => /usr/lib/x86_64-linux-gnu/libcudart.so.7.5 (0x00007fd3ea210000) libicudata.so.55 => /usr/lib/x86_64-linux-gnu/libicudata.so.55 (0x00007fd3c9f3c000)

How to remove *.so of cuda7? or what is possible solution?Thanks

4

1 回答 1

0

我可以通过卸载 Nvidia cuda 工具包来解决这个问题。我按照这里的命令。我重新安装了 cuda 8.0 并将以下路径添加到.bashrc

export PATH=/usr/local/cuda-8.0/bin${PATH:+:${PATH}}
export LD_LIBRARY_PATH=/usr/local/cuda-8.0/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
于 2017-05-08T04:55:58.127 回答