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

HYPRE_IJMatrixSetConstanValues failing on non optimized compilation #1186

Open
GabrielNSD opened this issue Nov 25, 2024 · 2 comments
Open

Comments

@GabrielNSD
Copy link

Hi there!

I am trying to run a Fortran code that uses Hypre. The code runs flawlessly when the optimization flag -O3 is used to compile it, but without it or using the other flags (-O1 and -O2) the program always fail in runtime.
Debugging it with gdb, an Segmentation fault error is indicated in hypre_ijmatrixsetconstantvalues_().

I have tried both hypre 2.30 and hypre 2.32 (with openMP) and the error persists. I am currently using gfortran 12.3.0

Best regards!

@victorapm
Copy link
Contributor

@GabrielNSD is the Fortran code open source? Can you provide instructions on how to reproduce your issue? Thank you!

@GabrielNSD
Copy link
Author

@victorapm unfortunately the code is not open source, I am working in a minimum reproducible example that I can share. I am going to post it here as soon as it is finished

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

2 participants