CallForSanity / opencurrent

Automatically exported from code.google.com/p/opencurrent
0 stars 0 forks source link

All tests failed and output memory errors #16

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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 ***
========================================

Original issue reported on code.google.com by xueqianz...@gmail.com on 14 Feb 2011 at 2:56

GoogleCodeExporter commented 9 years ago
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.

Original comment by jcohen.p...@gmail.com on 21 Feb 2011 at 11:51

GoogleCodeExporter commented 9 years ago
It works, thanks a lot

-- 

Original comment by xueqianz...@gmail.com on 22 Feb 2011 at 4:32