Opened 7 years ago

Closed 7 years ago

#725 closed bug (Fixed)

Error in structure syntax for Rclock

Reported by: kate Owned by: arango
Priority: major Milestone: Release ROMS/TOMS 3.7
Component: Nonlinear Version: 3.7
Keywords: Cc:

Description (last modified by arango)

The components of structure Rclock is using . (dot) instead of %. I can believe that ifort like that syntax and didn't complain at all even in the TotalView debugger. We need to have instead:

     Rclock%yday    =yday
     Rclock%year    =iyear
     Rclock%month   =month
     Rclock%day     =iday
     Rclock%hour    =ihour
     Rclock%minutes =minute
     Rclock%seconds =isec
     Rclock%base    =r_time
     Rclock%Dnumber =DateNumber(1)
     Rclock%Snumber =DateNumber(2)
     Rclock%string  =string
     Rclock%calendar=TRIM(calendar)

I guess that I have been coding too much in Matlab recently. I coded some of the function of dateclock.F in Matlab at the same time for testing.

Many thanks to David Rivas for reporting this problem.

Change History (1)

comment:1 by arango, 7 years ago

Description: modified (diff)
Resolution: Fixed
Status: newclosed
Summary: Structure syntax for RclockError in structure syntax for Rclock
Note: See TracTickets for help on using tickets.