caffe icon indicating copy to clipboard operation
caffe copied to clipboard

make runtest core dumped

Open mender05 opened this issue 12 years ago • 5 comments

make runtest

.build_release/test/test_all.testbin 0 --gtest_shuffle Cuda number of devices: 1 Setting to use device 0 Current device id: 0 Note: Randomizing tests' orders with a seed of 42484 . [==========] Running 718 tests from 154 test cases. [----------] Global test environment set-up. [----------] 6 tests from SliceLayerTest/2, where TypeParam = caffe::FloatGPU [ RUN ] SliceLayerTest/2.TestGradientAcrossNum F0829 15:41:50.183418 3050 math_functions.cu:81] Check failed: error == cudaSuccess (11 vs. 0) invalid argument *** Check failure stack trace: *** @ 0x2b96b5faadaa (unknown) @ 0x2b96b5faace4 (unknown) @ 0x2b96b5faa6e6 (unknown) @ 0x2b96b5fad687 (unknown) @ 0x7374d2 caffe::caffe_gpu_memcpy() @ 0x69eaea caffe::SyncedMemory::mutable_gpu_data() @ 0x72a9f1 caffe::Blob<>::mutable_gpu_data() @ 0x754c8b caffe::SliceLayer<>::Forward_gpu() @ 0x4257bb caffe::GradientChecker<>::CheckGradientSingle() @ 0x46ddc9 caffe::GradientChecker<>::CheckGradientExhaustive() @ 0x5d99e2 caffe::SliceLayerTest_TestGradientAcrossNum_Test<>::TestBody() @ 0x6593bd testing::internal::HandleExceptionsInMethodIfSupported<>() @ 0x651191 testing::Test::Run() @ 0x651276 testing::TestInfo::Run() @ 0x6513b7 testing::TestCase::Run() @ 0x65170e testing::internal::UnitTestImpl::RunAllTests() @ 0x658f3d testing::internal::HandleExceptionsInMethodIfSupported<>() @ 0x6507ee testing::UnitTest::Run() @ 0x4170cd main @ 0x2b96b8c48ec5 (unknown) @ 0x41c891 (unknown) @ (nil) (unknown) make: *** [runtest] Aborted (core dumped)

I run "make runtest" many times. Everytime it's core dumped at "math_functions.cu" I get this error on (Ubuntu14.04 x86_64) + (NVIDIA Driver Version: 340.32) + (CUDA: 6.0). I suppose it may caused by cuda. Then I reinstall cuda6.5 to replace cuda6.0. But I still get this error.

mender05 avatar Aug 29 '14 07:08 mender05

Can anybody help me? How this error arose?

mender05 avatar Sep 01 '14 11:09 mender05

I am having the same problem .. I have NVIDIA GTX295 ... I have tried CUDA 5.0 and CUDA 6.0 with different drivers ... the deviceQuery detects the device but make runtest fails with this error .. help required

suffvaughn avatar Sep 04 '14 18:09 suffvaughn

@suffvaughn, I have NVIDIA GTS250. and tried CUDA6.0 + NVIDIA Driver 340.32, and CUDA6.5 + NVIDIA Driver 340.32. But runtest fails with the same error.

mender05 avatar Sep 05 '14 01:09 mender05

Running Caffe on GPUs with compute capability < 3.0 can be an adventure due to the hardware limitations. It can sometimes be done by tuning the CUDA kernel launch configurations but my best recommendation is to work on a GPU with compute capability >= 3.0.

On Thu, Sep 4, 2014 at 6:07 PM, mender05 [email protected] wrote:

@suffvaughn https://github.com/suffvaughn, I have NVIDIA GTS250. and tried CUDA6.0 + NVIDIA Driver 340.32, and CUDA6.5 + NVIDIA Driver 340.32. But runtest fails with the same error.

— Reply to this email directly or view it on GitHub https://github.com/BVLC/caffe/issues/1005#issuecomment-54566634.

shelhamer avatar Sep 05 '14 01:09 shelhamer

Please continue your hardware / installation discussion on the caffe-users mailing list according to our discussion policy -- we like to keep Issues for development. Thanks!

shelhamer avatar Sep 05 '14 01:09 shelhamer