Opened 7 years ago

Closed 7 years ago

#754 closed bug (Fixed)

Missing declaration: ncid in checkvars.F

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

Description (last modified by arango)

In ROMS/Utility/checkvars.F, the argument ncid is not declared in the body of the function. Line 53 of this file needs to be changed to

      integer, intent(in) :: ng, model, Nvar, ncid

Oddly, the Cray ftn compiler is the only one I have that picked up this one. Something to do with compiler options, I guess.

Change History (2)

comment:1 by arango, 7 years ago

Description: modified (diff)

Yes, thank you. It needs to be declared as an intent(in) parameter. I missed this one. I never got errors in the compilers that I use. The Cray compilers are very strict.

comment:2 by arango, 7 years ago

Resolution: Fixed
Status: newclosed
Note: See TracTickets for help on using tickets.