caffe installation error (cuda and nvidia) ubuntu 14.04

75 views
Skip to first unread message

özkan C

unread,
Sep 30, 2016, 1:25:07 PM9/30/16
to Caffe Users
Hi all,
I am trying to install caffe with gpu supported nvidia driver. I have
nvidia GTX860M graphic card (msi GE702Pe Apache Pro computer). When i
try 'make runtest', i got the following error (I did Compilation with
Make, yet i also got error with cmake one). On my software&Updates,
it is written as:
NVIDIA Corporation:Unknown (This device is using the recommended driver.
 It uses NVIDIA binary driver-version 352.63 from nvidia-352(proprietary, supported).
I installed cuda as follows:

 1. wget http://developer.download.nvidia.com/compute/cuda/7.5/Prod/local_installers/cuda-repo-ubuntu1404-7-5-local_7.5-18_amd64.deb

 
2. sudo dpkg -i cuda-repo-ubuntu1404-7-5-local_7.5-18_amd64.deb

 
3. sudo apt-get update

 
4. sudo apt-get install cuda



For opencv installation, I used the command:
 conda install opencv.


I would appreciate your help regarding to the solution of the following
error.
Thank you in advance.


**`The error of make runtest command for caffe installation`**

   
 *[100%] Built target test.testbin
   
Scanning dependencies of target runtest
   
    modprobe
: FATAL: Module nvidia not found.
   
Cuda number of devices: 0
   
Current device id: 0

   
Current device name:
   
Note: Randomizing tests' orders with a seed of 445 .
    [==========] Running 2021 tests from 267 test cases.
    [----------] Global test environment set-up.
    [----------] 5 tests from EmbedLayerTest/1, where TypeParam =
caffe::CPUDevice<double>
    [ RUN      ] EmbedLayerTest/1.TestSetUp
    modprobe: FATAL: Module nvidia not found.
    E0930 17:27:42.258497 14590 common.cpp:113] Cannot create Cublas
handle. Cublas won'
t be available.
    modprobe
: FATAL: Module nvidia not found.
    E0930
17:27:42.263166 14590 common.cpp:120] Cannot create Curand
generator
. Curand won't be available.
    [       OK ] EmbedLayerTest/1.TestSetUp (9 ms)
    [ RUN      ] EmbedLayerTest/1.TestForward
    [       OK ] EmbedLayerTest/1.TestForward (0 ms)
    [ RUN      ] EmbedLayerTest/1.TestForwardWithBias
    [       OK ] EmbedLayerTest/1.TestForwardWithBias (111 ms)
    [ RUN      ] EmbedLayerTest/1.TestGradient
    E0930 17:27:42.374208 14590 common.cpp:140] Curand not available.
Skipping setting the curand seed.
    [       OK ] EmbedLayerTest/1.TestGradient (7 ms)
    [ RUN      ] EmbedLayerTest/1.TestGradientWithBias
    [       OK ] EmbedLayerTest/1.TestGradientWithBias (11 ms)
    [----------] 5 tests from EmbedLayerTest/1 (138 ms total)
    [----------] 8 tests from SliceLayerTest/3, where TypeParam =
caffe::GPUDevice<double>
    [ RUN      ] SliceLayerTest/3.TestSetupNum
    F0930 17:27:42.392833 14590 syncedmem.hpp:18] Check failed: error ==
 cudaSuccess (38 vs. 0)  no CUDA-capable device is detected
    *** Check failure stack trace: ***
        @     0x2ac73c075daa  (unknown)
        @     0x2ac73c075ce4  (unknown)
        @     0x2ac73c0756e6  (unknown)
        @     0x2ac73c078687  (unknown)
        @     0x2ac73b01b145  caffe::SyncedMemory::mutable_cpu_data()
        @     0x2ac73b091c48  caffe::Blob<>::Reshape()
        @     0x2ac73b0920a9  caffe::Blob<>::Reshape()
        @     0x2ac73b09213c  caffe::Blob<>::Blob()
        @           0x8f2345  
caffe::SliceLayerTest<>::SliceLayerTest()
        @           0x8f275b  
testing::internal::TestFactoryImpl<>::CreateTest()
        @           0xd3ede3  
testing::internal::HandleExceptionsInMethodIfSupported<>()
        @           0xd35785  testing::TestInfo::Run()
        @           0xd358a5  testing::TestCase::Run()
        @           0xd385f8  
testing::internal::UnitTestImpl::RunAllTests()
        @           0xd38897  testing::UnitTest::Run()
        @           0x86e2ff  main
        @     0x2ac741a75f45  (unknown)
        @           0x874ba2  (unknown)
        @              (nil)  (unknown)
   
    make[3]:***[src/caffe/test/CMakeFiles/runtest] Aborted (core dumped)  
    make[2]:*** [src/caffe/test/CMakeFiles/runtest.dir/all] Error 2
    make[1]:*** [src/caffe/test


Reply all
Reply to author
Forward
0 new messages