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

omp parallel for raises segmentation fault(core dumped) when the number of iterations in the for loop exceed a certain amount. #3

Open
arghyadeep-paul opened this issue Oct 5, 2019 · 0 comments

Comments

@arghyadeep-paul
Copy link

I have been writing a code and have tried to parallelize it using #pragma omp parallel for. Everything works fine till about 100000 iterations but whe i increase the number of iterations to about 200000, it compiles without errors but while running shows the error "segmentation fault(core dumped) " immidiately.
I have been told that it might be local/global variable issue of the iteration variables but i think it is unlikely because it runs just fine if the number of iteration is lesser.
Also i have been told that it might be stack issue which i have no idea about

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

1 participant