Hi,
I am working on PowerPC(ppc64le) machine with Ubuntu 14.04 and 4 GPU's (all Tesla k80's)
The make runtest fails with log:
@ 0x100000040478 (unknown)
@ 0x1000043f6c10 (unknown)
@ 0x1000046daffc std::vector<>::erase()
@ 0x1000046d95f0 caffe::DevicePair::compute()
@ 0x1000046e0530 caffe::P2PSync<>::run()
@ 0x1022b8ec caffe::GradientBasedSolverTest<>::RunLeastSquaresSolver()
@ 0x10234154 caffe::GradientBasedSolverTest<>::TestLeastSquaresUpdate()
@ 0x10234560 caffe::RMSPropSolverTest_TestRMSPropLeastSquaresUpdateWithWeightDecay_Test<>::TestBody()
@ 0x105323a8 testing::internal::HandleExceptionsInMethodIfSupported<>()
@ 0x10524940 testing::Test::Run()
@ 0x10524a7c testing::TestInfo::Run()
@ 0x10524c64 testing::TestCase::Run()
@ 0x10529100 testing::internal::UnitTestImpl::RunAllTests()
@ 0x105294a0 testing::UnitTest::Run()
@ 0x1005bc58 main
@ 0x100004d44d00 (unknown)
@ 0x100004d44ef8 (unknown)
@ 0x0 (unknown)
make: *** [runtest] Segmentation fault (core dumped)
I tried to run "test_all.testbin"using GDB. I am getting below output:
Program received signal SIGSEGV, Segmentation fault.
__memcpy_ppc () at ../sysdeps/powerpc/powerpc64/memcpy.S:364
364
../sysdeps/powerpc/powerpc64/memcpy.S: No such file or directory.
I could not find the path as given above. When I google searched, most of the hits showed this path as related to glibc. In ubuntu 14.04, there is libc6 instead of glibc. I tried searching system for this path. But, I didnt find anything. I searched for memcpy too, when I found many hits to caffe scripts directory.
I found one file "cpp_lint.py" which points to some options of memcpy files as given below:
caffe_alt_function_list = (
('memset', ['caffe_set', 'caffe_memset']),
('cudaMemset', ['caffe_gpu_set', 'caffe_gpu_memset']),
('memcpy', ['caffe_copy', 'caffe_memcpy']),
('cudaMemcpy', ['caffe_copy', 'caffe_gpu_memcpy']),
)
Can we use alternate function "caffe_gpu_memcpy" as given in list? I am pointing to this particular function because I am using 4 GPU's Tesla K80's.
Any inputs from community will be greatly appreciated.
Thanks in advance
Anup Halarnkar