New issue 8 by a...@ddsw.nl: 7 of 17 unit tests failed
http://code.google.com/p/opencurrent/issues/detail?id=8
What steps will reproduce the problem?
1. build for sm_10 (using netcdf4 and a GeForce 8800 GTX)
2. make test
What is the expected output?
All tests should be ok.
What do you see instead?
see attached unittest.txt
What version of the product are you using? On what operating system?
1.0.0 on Ubuntu 8.04 LTS
Please provide any additional information below.
I ran utest MultigridTest under a debugger and found that at line 388 of
sol_mgpressure3ddev.cu the value of _num_level is not 6 as it should be
but a very large value. Something is obviously overwritten. I also ran
utest MultigridTest under valgrind and the output is in the attached file
memcheck.txt.
Attachments:
memcheck.txt 6.0 KB
unittest.txt 6.9 KB
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
Could you try checking out the latest version from hg and seeing if you can
reproduce?
Instructions here:
http://code.google.com/p/opencurrent/source/checkout
Also, are you on a 32-bit or 64-bit OS?
Dear Jonathan,
I downloaded your latest versions per your instructions and I got the
attached output from the unit tests. My system is 32-bit and has a
GeForce 8800 GTX which only has floats, no doubles. I use NetCdf 4.0.
Running utest MultigridTest in a debugger now revealed that the
segmentation fault was caused by 'this' in the code below having the
value 0xad0 which is obviously not a valid address of an object in
Linux.
Grid2DDevice<T>::~Grid2DDevice()
{
cudaFree(this->_buffer);
}
This destructor was called from delete _diag_grid[l]; (line 335
sol_mgpressure3ddev.cu).
Hope this helps!
Attachments:
tests.txt 20.1 KB
Dear Jonathan,
Last week I got a new graphics card. I now have a GTX-285. This made things
even worse.
I recompiled for sm_13 and got the attached output for make test. This is
the version
I downloaded on March 19. I also tried the official version 1.0.0 again and
here too
things got worse. I attach both make test outputs.
I hope you can figure out what is wrong.
Sincerely, Anneke
Attachments:
unittests-1.0.0.txt 19.0 KB
unittest-recent.txt 37.8 KB
hmm, it looks like this has nothing to do with the graphics card, and maybe
nothing
to do with cuda. Might be an issue with how netcdf was built?
My guess is a libc incompatibility or something like that.
Could you run 'ldd -v tests/utest' and attach the results?
Here are the results. btw, if I compile for netcdf 3, which is included in
Ubuntu
8.04, so not built by me, the problems are only slightly different, see the
other
attachment which was made with the recent opencurrent snapshot, not with
1.0.0.
Attachments:
ldd_netcdf4.txt 7.4 KB
unittest-recent-netcdf3.txt 42.9 KB
are you able to compile and run the cuda sdk samples? or any cuda progam?