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

Need to record compile flags in log file #243

Open
mikekryjak opened this issue Aug 8, 2024 · 0 comments
Open

Need to record compile flags in log file #243

mikekryjak opened this issue Aug 8, 2024 · 0 comments

Comments

@mikekryjak
Copy link
Collaborator

I just spent quite a long time going down a rabbit hole chasing a substantial performance decrease, only to realise my compile flag has been set to Debug for the last month. The reason I missed this was because I had never changed compile flags in the past. I had done this as a quick check to debug PETSc issues while doing 5 other things at the same time and forgot about it! I didn't check because I thought I had never changed the options...

If the compile time flags were recorded in the logs, it would have enabled me to find the problem sooner. I think we should do this to prevent other users from facing the same issue - especially since compile flags are an advanced topic and most users wouldn't change or check them.

Thanks to @dschwoerer and David Dickinson for the help.

Unfortunately I can't help with this PR because I don't know how to do it.

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

No branches or pull requests

1 participant