Comments (13)
Hello @koparasy
which GPUSPH version (or branch) does this happen with?
from gpusph.
Hello @Oblomov
I am working on the main branch.
from gpusph.
Hello @koparasy
can you please try the next
branch and see if it's fixed there already?
from gpusph.
I checkout to the next branch and the error persists.
from gpusph.
I'm afraid I'm unable to reproduce the issue locally. Can you see if running GPUSPH under cuda-memcheck
gives some indiciation of where the illegal access is coming from?
from gpusph.
Also: are you running single- or multi-GPU?
from gpusph.
The error appears on single and multi GPU runs. I attach you the output of a run with a single gpu without mpi support without hdf5 support.
I attach the output of the cuda-memcheck.
cudaMemCheck.txt
from gpusph.
Thanks for the report. From the log, it would seem that the issue happens when the forcesDevice kernel tries to fetch the neighbors position, but the array where it's trying to read from should be valid. I do not have any GPU with Compute Capability 7.0 and cannot reproduce the error on my machine, so I'm afraid debugging will be a bit slow and you'll have to be my hands and eyes 8-)
For starters, I would recommend to updated to the latest next
that I just pushed, which includes a small fix for neighbors traversal. I don't think it's directly relevant to the case, but we never know.
if the latest next (currently at commit add5af0) doesn't fix the issue, I would ask you to try the following change: in src/cuda/textures.cuh
, replace the line:
#if __COMPUTE__ >= 20 && __COMPUTE__/10 != 3
with
#if 1
and see if you can replicate the error, and then again replacing it with
#if 0
and see if you can replicate the error. This should help us pinpoint a bit better the possible source of error.
from gpusph.
Had the same issue on a 6.1 CUDA device. I am actually working on the wsl branch but I did merge that fix from the 'next' branch. I also tried the fix in textures.cuh, none worked.
from gpusph.
Can you please provide the output of make show
? It should be available as info/show.txt
ready for export if you're on a recent enough branch.
from gpusph.
As attached, thanks.
from gpusph.
The Microsoft compiler suffers from this bug, which affects GPUSPH. A large part of the changes introduced in the wsl
branch are specifically to work around this, but it seems you're hitting a case we missed. We'll look into it.
from gpusph.
I see, thanks for looking into this.
from gpusph.
Related Issues (20)
- How to reference GPUSPH properly for a paper? HOT 2
- Formulation for wave height is wrong in WaveMaker.cu (NEXT branch)
- DEM does not work with "DUMMY_BOUNDARY" (NEXT branch)
- DEM shift does not behave as it should HOT 1
- Errors about running the examples HOT 3
- How to set up the paddle motions for irregular waves?
- about the function addSTLmesh() HOT 6
- about floating and boundary with addXYZFile HOT 2
- Compile gpusph in nsight eclipse(cuda toolkit) HOT 1
- About the makefile problem. HOT 7
- Segment fault in `IntializeChrono()` HOT 3
- About the gpu-architecture HOT 2
- About the moored floating bodies HOT 2
- cannot open the .vtp file using paraview. HOT 3
- Illegal memory access was encountered HOT 4
- I have too many errors about the cuh file , when i "make test" this source code. HOT 7
- About inlet and outlet bounddaries
- An compile error: Texture is not a template HOT 3
- GPUSPH compiling-"SetMaxItersSolverSpeed" error HOT 10
- WaveTank fails on next and spheric2022 branches HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gpusph.