Opened 16 years ago

Last modified 16 years ago

#195 closed bug

OpenMP undeclared variables — at Initial Version

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

Description

In ROMS/Modules/mod_grid.F, subroutine initialize_grid, at lines 421-447 we have

#ifdef _OPENMP
      IF (WESTERN_EDGE) THEN
        Imin=LBi
      ELSE
        Imin=Istr
      END IF
      ...
#else
      ...
#endif

The preprocessor macros WESTERN_EDGE, EASTERN_EDGE, etc (defined in globaldefs.h) involve variables, Istr, Iend, Jstr, Jend, but these are not declared. Consequently, the compiler gives error messages like

mod_grid.f90:269.14:

      IF (Iend.eq.Lm(ng)) THEN
             1
Error: Symbol 'iend' at (1) has no IMPLICIT type

Change History (0)

Note: See TracTickets for help on using tickets.