Opened 13 years ago
Closed 13 years ago
#558 closed bug (Fixed)
IMPORTANT: Ambigous local variable name in distribute.F
Reported by: | arango | Owned by: | arango |
---|---|---|---|
Priority: | major | Milestone: | Release ROMS/TOMS 3.6 |
Component: | Nonlinear | Version: | 3.6 |
Keywords: | Cc: |
Description
The variable Aout was ambiguous in routines mp_aggregate2d and mp_aggregate3d in module distribute.F. These two new routines are used in nesting. The variable Aout is also declared in module mod_ncparam.F as a logical switch for time-averaged output fields. This error was detected correctly when compiling with gfortran. The other compilers bypassed this bug. It is amazing how compilers relax the Fortran standard nowadays. I missed this one. There are so many variables in ROMS that sometimes I forget some of them.
Many thanks to Rich Signell for bringing this to my attention.