Replies: 2 comments 4 replies
-
The issue is the lack of interface definitions. The compiler infers these upon first use and then complains about incompatible usage. Legacy Fortran compiler didn't care about type issues. Modern Fortran compilers do. If you want to fix this, you should define a module of interfaces for all the types. Don't just create wrappers. |
Beta Was this translation helpful? Give feedback.
4 replies
-
You can reduce the amount of warnings by typing
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
There are numerous compilation warnings during the NWChem build, mostly related to
rtdb_get
andrtdb_put
, as these methods are expected to handle different argument types (int, double, logical, ...).An example of warning is:
Warning: Type mismatch between actual argument at (1) and actual argument at (2) (REAL(8)/LOGICAL(8))
I’d like to check with you whether reducing these and other types of compilation warnings is something you’re interested in.
My idea would be to create some wrapper methods
rtdb_get_int
,rtdb_get_log
, etc. If that looks ok, I can try to handle that and make a PR.Beta Was this translation helpful? Give feedback.
All reactions