IntelligentSoftwareSystems / Galois

Galois: C++ library for multi-core and multi-node parallelization
http://iss.ices.utexas.edu/?p=projects/galois
Other
313 stars 133 forks source link

an illegal memory access was encountered when I run delaunayrefinement_gpu #378

Open YuxinxinChen opened 3 years ago

YuxinxinChen commented 3 years ago

Hi Galois Team,

I am trying to run your gpu delaunayrefinement in the master branch but I got "an illegal memory access was encountered".

The command I run:

./delaunayrefinement-gpu nodes0.5M 20

I use a 500000 nodes list file with the format:

//----
4 1
1 2
2 3

to feed into the delaunaytriangulation in the release-0.5 branch to generate nodes0.5M.ele, nodes0.5M.node, and nodes0.5M.poly files. Then I use those files to feed into the delaunayrefinement_gpu in the master branch but unfortunately got an illegal memory access bug.

CUDA version: 11.2 NVIDIA GPU: Tesla v100 Compiled with capability 7.0

Could you help with the memory access bug?

Thanks!

Yuxin

YuxinxinChen commented 3 years ago

The error messages are:

Galois/libgpu/include/sharedptr.h' in line 186 : an illegal memory access was encountered.
Galois/libgpu/include/gbar.cuh' in line 153 : an illegal memory access was encountered.
insertinterestingnamehere commented 3 years ago

It's not immediately clear to me what would cause this. @yishanlu is probably the most familiar with that code, so hopefully he has some insight.

yishanlu commented 3 years ago

Unfortunately I am not familiar with the GPU implementation, so I do not have immediate answer for your question. Did you try with the test inputs? Maybe it is caused by your inputs...

YuxinxinChen commented 3 years ago

The url link of the test inputs is wrong and returned 404 error.