cmake -DUSE_CUDNN=ON -DBUILD_python=ON -DBUILD_python_layer=ON ..
-- ******************* Caffe Configuration Summary *******************
-- General:
-- Version : 1.0.0-rc3
-- Git : 42cd785
-- System : Linux
-- C++ compiler : /usr/bin/c++
-- Release CXX flags : -O3 -DNDEBUG -fPIC -Wall -Wno-sign-compare -Wno-uninitialized
-- Debug CXX flags : -g -fPIC -Wall -Wno-sign-compare -Wno-uninitialized
-- Build type : Release
--
-- BUILD_SHARED_LIBS : ON
-- BUILD_python : 1
-- BUILD_matlab : OFF
-- BUILD_docs : ON
-- CPU_ONLY : OFF
-- USE_OPENCV : ON
-- USE_LEVELDB : ON
-- USE_LMDB : ON
-- ALLOW_LMDB_NOLOCK : OFF
Linking CXX executable ../../../test/test.testbin
[100%] Built target test.testbin
Scanning dependencies of target runtest
libdc1394 error: Failed to initialize libdc1394
Note: Google Test filter = -*GPUFrom the cpu_only:off ABOVE AND following it seems like I can set_mode_gpu which means i have correctly compiled for gpu , but then the set_device failure suggests the opposite - any advice?
In [1]: import caffe
libdc1394 error: Failed to initialize libdc1394
In [2]: caffe.set_mode_gpu()
In [3]: caffe.set_device(0)
WARNING: Logging before InitGoogleLogging() is written to STDERR
F0726 13:44:19.262065 1092 common.cpp:66] Cannot use GPU in CPU-only Caffe: check mode.
make all -j"$(nproc)"
make install
make runtest
CMake Warning at cmake/Dependencies.cmake:63 (message):
-- CUDA is not detected by cmake. Building without it...
root@3f2a6ff54c23:/workspace# ls /usr/local/cuda
LICENSE README doc lib64 targets version.txt
root@brainik80a:/home/jeremy# ls /usr/local/cuda
bin doc extras include jre lib lib64 libnsight libnvvp nvvm pkgconfig samples share src tools version.txt
FROM nvidia/cuda:7.5-cudnn5-runtime