Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All tests failed and output memory errors #16

Open
GoogleCodeExporter opened this issue May 18, 2015 · 2 comments
Open

All tests failed and output memory errors #16

GoogleCodeExporter opened this issue May 18, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

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
Copy link
Author

It works, thanks a lot

-- 

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant