Opened 14 years ago

Last modified 14 years ago

#440 closed bug

Declaration error in set_avg.F — at Initial Version

Reported by: m.hadfield Owned by: arango
Priority: major Milestone: Release ROMS/TOMS 3.4
Component: Nonlinear Version: 3.4
Keywords: Cc:

Description

In set_avg.F, subroutine set_avg_tile, line 103, there is a "USE mod_grid" statement inside an "#ifdef SOLVE3D" block. But later, beginning at line 150, there is a call to vorticity_tile in which several components of GRID(ng) are passed, some not inside an "#ifdef SOLVE3D" block. So compilation of this module fails when SOLVE3D is not defined.

The solution: move "USE mod_grid" outside the "#ifdef SOLVE3D" block.

Change History (0)

Note: See TracTickets for help on using tickets.