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

Add/Test flags forcing implicit none #359

Open
mathomp4 opened this issue Feb 29, 2024 · 0 comments
Open

Add/Test flags forcing implicit none #359

mathomp4 opened this issue Feb 29, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@mathomp4
Copy link
Member

Per @tclune, many out there in Fortran land use compiler flags to enforce implicit none by default. From what I can gather from compilers I have access to, the flags are:

  • Intel: -implicitnone (hat tip @milancurcic via a blog post, as the manpages were not too helpful)
  • GNU: -fimplicit-none
  • NAG: -u
  • NVHPC: -Mdclchk

Obviously, all GEOS/MAPL code should use implicit none but, well, GEOS has some ancient code and this would at least let us find those stragglers and prevent newer Fortran coders wondering "How does this loop work since i was never declared!"

@mathomp4 mathomp4 added the enhancement New feature or request label Feb 29, 2024
@mathomp4 mathomp4 self-assigned this Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant