New issue 16 by xueqianz...@gmail.com: All tests failed and output memory
errors
http://code.google.com/p/opencurrent/issues/detail?id=16
What steps will reproduce the problem?
1. when I ran ./utest or individually ran those tests
2.
3.
What is the expected output? What do you see instead?
I always met memory problem. However, my other cuda programs ran well.
What version of the product are you using? On what operating system?
opencurrent1.1.0, cuda 3.1, GTX480, Ubuntu8.04 64-bit
Please provide any additional information below.
error info:
=================================================
[INFO] Running on GPU 0
Running tests: RayleighTimingTest, RayleighNoSlipTest, RayleighTest,
PCGDoubleTest, LockExTest, LockExDoubleTest, NSTest, MultigridMixedTest,
MultigridDoubleTest, ProjectDoubleTimingTest, ProjectDoubleTest,
ProjectTest, MultigridTest, Advection3DDoubleSymmetryTest,
Advection3DDoubleTest, Advection3DDoubleSwirlTest, Advection3DSymmetryTest,
Advection3DTest, SamplingTest, Grid1DReduceTest, Grid1DReduceDoubleTest,
Reduce1DTimingTest, Reduce1DDoubleTimingTest, Grid3DTest, Grid3DReduceTest,
Reduce3DTimingTest, Grid3DReduceDoubleTest, Reduce3DDoubleTimingTest,
Diffusion3DTest, Diffusion1DTest
running RayleighTimingTest on thread 0
[ERROR] Grid3DDeviceF::init - cudaMalloc failed
[ERROR] Eqn_IncompressibleNS3D::set_parameters - failed on initializing w
[ASSERT] RayleighTimingTest::assert_true at
/home/xueqianz/download/opencurrent-1.1.0/src/tests/rayleightiming.cpp line
136
[FAILED] RayleighTimingTest
running RayleighNoSlipTest on thread 0
run resolution 16
deltaT = 1674.000000
init min/max t = 52.312500 1621.687500
[ERROR] cudaMemcpy(HostToDevice) - CUDA error "out of memory"
[ERROR] Eqn_IncompressibleNS3D::set_parameters - failed copying to u
[ASSERT] RayleighNoSlipTest::assert_true at
/home/xueqianz/download/opencurrent-1.1.0/src/tests/rayleighnoslip.cpp line
231
*** glibc detected *** ./utest: double free or corruption (out):
0x00007fffea66bda0 ***
========================================
This test might be running out of memory on the 480, since it only has
1.5GB.
Rather than running utest directly, you should run 'make test' from you
build directory. That will select the appropriate set of tests. Please
try that and let me know if they all pass.
It works, thanks a lot
--