Caffe: make runtest error "Cannot create Cublas handle. Cublas won't be available"

14,145 views
Skip to first unread message

himora...@gmail.com

unread,
Dec 14, 2015, 9:37:19 PM12/14/15
to Caffe Users
Hi everyone,

I'm using Ubuntu 14.04, cuda toolkit 7.5, nvidia driver 352. 
(checking nvidia-smi and nvcc --version, the driver and the cuda toolkit version can be recognized )
I run "make all" and "make test" without error (from caffe master branch). However, i got the following error while running "make runtest"
E1215 14:50:44.925693 14420 common.cpp:104] Cannot create Cublas handle. Cublas won't be available.
E1215 14:50:44.938822 14420 common.cpp:111] Cannot create Curand generator. Curand won't be available.
F1215 14:50:44.949707 14420 syncedmem.hpp:18] Check failed: error == cudaSuccess (2 vs. 0)  out of memory

I have installed atlas through "sudo apt-get install libatlas-base-dev"
I have specify the path in Makefile.config
 BLAS_INCLUDE := /usr/include/atlas
 BLAS_LIB     := /usr/lib/atlas-base

However, the error still occurs.
Hope to get support from you.

Best regards

Felix Abecassis

unread,
Dec 15, 2015, 4:40:05 AM12/15/15
to Caffe Users
Are the CUDA samples working for you? They are in /usr/local/cuda/samples

himora...@gmail.com

unread,
Dec 15, 2015, 7:01:37 AM12/15/15
to Caffe Users
Hi Felix,

The CUDA samples works fine.

Felix Abecassis

unread,
Dec 15, 2015, 7:54:04 AM12/15/15
to Caffe Users
Can you show us the output of "nvidia-smi"?

himora...@gmail.com

unread,
Dec 15, 2015, 6:48:36 PM12/15/15
to Caffe Users
Hi Felix,

I have attached the output of "nvidia-smi" in the attached file for your reference
nvidia-smi.png

himora...@gmail.com

unread,
Dec 23, 2015, 3:05:53 AM12/23/15
to Caffe Users
Hi Felix, 

hope you support me on this problem?

Best regards

Felix Abecassis

unread,
Dec 24, 2015, 5:31:36 AM12/24/15
to Caffe Users
Which test is failing?

Jimmy

unread,
Mar 13, 2016, 1:43:30 PM3/13/16
to Caffe Users
How to you solve your problem?
I have the same problem.

Pierre Colle

unread,
Mar 16, 2016, 8:44:07 PM3/16/16
to Caffe Users
I had the same issue yesterday, it was linked to CUDA/NVIDIA installation issue.

Reply all
Reply to author
Forward
0 new messages