Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

All tests failed and output memory errors

Open
#16 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Domain
hpc, testing-qa

Research direction

The report names ./utest and failures at src/tests/rayleightiming.cpp:136 and rayleighnoslip.cpp:231. Start by reproducing the listed tests and inspect those assertions alongside the CUDA allocation and copy errors. Done means the tests no longer hit the reported out-of-memory and double-free failures.

Written by the indexing model from the issue text.

Description

auto-migrated Priority-Medium Type-Defect
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

Dominant language
Cuda
Stars
6
Forks
2
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ExpectationMax/opencurrent

All issues in ExpectationMax/opencurrent

Similar issues

More HPC issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.