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

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

Open
YuxinxinChen opened this issue Jul 8, 2021 · 4 comments

Comments

@YuxinxinChen
Copy link

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

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

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

yishanlu commented Jul 8, 2021

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

YuxinxinChen commented Jul 9, 2021

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

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

No branches or pull requests

3 participants