make runtest Check failed: status == CUBLAS_STATUS_SUCCESS (1 vs. 0) but sudo can pass

69 views
Skip to first unread message

huangz...@126.com

unread,
May 23, 2017, 1:15:07 AM5/23/17
to Caffe Users
   
    My PC: Ubuntu16.04 + gtx1080 +cuda8.0 + cudnn5.1

    when i run "make runtest". it fails and give following output:

F0523 10:58:46.512966  5881 math_functions.cu:141] Check failed: status == CUBLAS_STATUS_SUCCESS (1 vs. 0)  CUBLAS_STATUS_NOT_INITIALIZED
*** Check failure stack trace: ***
    @     0x7f12a858e5cd  google::LogMessage::Fail()
    @     0x7f12a8590433  google::LogMessage::SendToLog()
    @     0x7f12a858e15b  google::LogMessage::Flush()
    @     0x7f12a8590e1e  google::LogMessageFatal::~LogMessageFatal()
    @     0x7f12a6b0f38a  caffe::caffe_gpu_asum<>()
    @           0x6db039  caffe::GPUMathFunctionsTest_TestAsum_Test<>::TestBody()
    @           0x91dcc3  testing::internal::HandleExceptionsInMethodIfSupported<>()
    @           0x9172da  testing::Test::Run()
    @           0x917428  testing::TestInfo::Run()
    @           0x917505  testing::TestCase::Run()
    @           0x9187df  testing::internal::UnitTestImpl::RunAllTests()
    @           0x918b03  testing::UnitTest::Run()
    @           0x46d47d  main
    @     0x7f12a5ca1830  __libc_start_main


    But when i run "sudo make runtest", it is successful.


   any help is appreciated?


Cheng Yang

unread,
Sep 27, 2017, 10:55:06 PM9/27/17
to Caffe Users
Hello
Have you solved this problem?

tyler...@gmail.com

unread,
Nov 14, 2017, 3:39:04 AM11/14/17
to Caffe Users
The same question. : (

在 2017年5月23日星期二 UTC+8下午1:15:07,huangz...@126.com写道:

Antonimus

unread,
May 4, 2018, 6:16:46 AM5/4/18
to Caffe Users
I have a similar problem

[----------] 2 tests from HingeLossLayerTest/3, where TypeParam = caffe::GPUDevice<double>
[ RUN      ] HingeLossLayerTest/3.TestGradientL2
F0504 19:11:56.239066 12852 math_functions.cu:116] Check failed: status == CUBLAS_STATUS_SUCCESS (1 vs. 0)  CUBLAS_STATUS_NOT_INITIALIZED
*** Check failure stack trace: ***
    @     0x2acc68479daa  (unknown)
    @     0x2acc68479ce4  (unknown)
    @     0x2acc684796e6  (unknown)
    @     0x2acc6847c687  (unknown)
    @     0x2acc6a603006  caffe::caffe_gpu_dot<>()
    @           0x477c0f  caffe::Layer<>::Forward()
    @           0x489c4b  caffe::GradientChecker<>::CheckGradientSingle()
    @           0x494d8b  caffe::GradientChecker<>::CheckGradientExhaustive()
    @           0x760002  caffe::HingeLossLayerTest_TestGradientL2_Test<>::TestBody()
    @           0x8fca63  testing::internal::HandleExceptionsInMethodIfSupported<>()
    @           0x8f3747  testing::Test::Run()
    @           0x8f37ee  testing::TestInfo::Run()
    @           0x8f38f5  testing::TestCase::Run()
    @           0x8f6c38  testing::internal::UnitTestImpl::RunAllTests()
    @           0x8f6ec7  testing::UnitTest::Run()
    @           0x46cbbf  main
    @     0x2acc6b470f45  (unknown)
    @           0x474819  (unknown)
    @              (nil)  (unknown)


Did you solved it ?
Reply all
Reply to author
Forward
0 new messages