I am consolidating parameter duplication in our code and have defined a parameter SDENW now in one module only, say module A. However this variable exists in module B too (not just as a parameter definition, which I have removed, but also on the right hand side of other parameter definitions).
To prevent duplication, I tried to let Module B USE module A. However the link fails as the compiler compiles file B.F90 before A.F90 and therefore cannot find A.MOD. Of course I could just link twice, but I don't want to do that. Is there a better way to do this?