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

Increase ElmerGrid max BCs limit #389

Merged
merged 1 commit into from
Mar 29, 2023
Merged

Increase ElmerGrid max BCs limit #389

merged 1 commit into from
Mar 29, 2023

Conversation

jvencels
Copy link
Contributor

We have experienced a segmentation fault when running ElmerGrid for a case with >1000 BCs. Valgrind indicates Use of uninitialised value of size 8 @ LoadElmerInput (egnative.c:5468). Increasing the limit for max BCs solves the problem.

We have experienced a segmentation fault when running ElmerGrid for a case with >1000 BCs.
Valgrind indicates Use of uninitialised value of size 8 @ LoadElmerInput (egnative.c:5468)
Increasing the limit for max BCs solves the problem.
@raback
Copy link
Contributor

raback commented Mar 29, 2023

Thanx! Seems reasonable.

@raback raback merged commit 167ef75 into ElmerCSC:devel Mar 29, 2023
@richb2k
Copy link
Contributor

richb2k commented May 2, 2023

Looks like increasing the max boundaries and max bcs from 1000 each to 5000 each causes ElmerGrid to crash on Windows 10. PR #395 has been submitted to lower the max from 5000 back down to 4000. This change allows ElmerGrid to run properly again. Hopefully the lower values will still be high enough to prevent the seg fault from happening.

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

Successfully merging this pull request may close these issues.

None yet

3 participants