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

Extra warnings added and fixes to make them clear #223

Merged
merged 10 commits into from
Nov 15, 2023

Conversation

william-dawson
Copy link
Owner

@william-dawson william-dawson commented Nov 15, 2023

ChatGPT recommended to me some extra flags to throw as debug options. Based on warnings from those flags, modifications were made. In addition, the cray compiler complained about a few intent parameters, which I fixed.

Importantly: mpi communicators are now passed around as intent(in) when possible, instead of trying to force inout. I thought inout was more intentional because while the handle isn't change, the internal state of a communicator is. But this leads to problems with gathering matrix values, etc.

Apparently the version of gfortran on github CI is so absurdly broken
that it gives a warning about C++ style comments in a Fortran file...
@william-dawson william-dawson merged commit 95b3ba3 into master Nov 15, 2023
12 checks passed
@william-dawson william-dawson deleted the more_pendantic branch November 15, 2023 08:12
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.

1 participant