Changes between Initial Version and Version 1 of Ticket #725


Ignore:
Timestamp:
04/26/17 20:12:39 (7 years ago)
Author:
arango
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #725

    • Property ResolutionFixed
    • Property Status newclosed
    • Property Summary Structure syntax for RclockError in structure syntax for Rclock
  • Ticket #725 – Description

    initial v1  
    1 should be Rclock%string, not Rclock.string. See [https://www.myroms.org/forum/viewtopic.php?f=33&t=4510].
     1The 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:
     2 {{{
     3      Rclock%yday    =yday
     4      Rclock%year    =iyear
     5      Rclock%month   =month
     6      Rclock%day     =iday
     7      Rclock%hour    =ihour
     8      Rclock%minutes =minute
     9      Rclock%seconds =isec
     10      Rclock%base    =r_time
     11      Rclock%Dnumber =DateNumber(1)
     12      Rclock%Snumber =DateNumber(2)
     13      Rclock%string  =string
     14      Rclock%calendar=TRIM(calendar)
     15}}}
     16
     17I 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.
     18
     19
     20Many thanks to David Rivas for [https://www.myroms.org/forum/viewtopic.php?f=33&t=4510 reporting] this problem.