Is there a way to disallow implicit variable declaration in pgfortan? Something like -fimplicit-none in gfortran.
There’s no compiler flag since implicit typing can have more specifications than just none. You will need to explicitly set this in your code using the “IMPLICIT NONE” statement.
I find that -Mdclchk does what I need from the command line as well.