Opened 9 years ago

Closed 9 years ago

#928 closed Bug (fixed)

Bugs in TOP mixed layer trend diagnostics

Reported by: gm Owned by: nemo
Priority: low Milestone:
Component: TOP Version: release-3.4
Severity: Keywords:


3 small bugs prevent the use of ML diag in TOP:

1- In trdmld_trc.F90 the following substitute is missing:

#  include "zdfddm_substitute.h90"

so that when key_zdfddm is used, fsavs is not transformed into avs

2- in trdmod_trc_oce.F90, a comment contains the character: ' \ ' as the last non blank characters of the line. With some compiler (ifrotran for example) this has the following consequence:

   INTEGER, PARAMETER ::            & !: mixed layer trends indices
        jpmld_trc_xad     =  1,     & !:     zonal          \
        jpmld_trc_yad     =  2,     & !:     meridonal    > advection

is transformed by the compiler as a single line:

        jpmld_trc_xad     =  1,     & !:     zonal              jpmld_trc_yad     =  2,     & !:     meridonal   > advection

leading to a compile error, jpmld_trc_yad being not defined

Solution: suppress all ' \ ' characters from the comments

3- in trdmld_trc.F90 a ' USE wrk_nemo ! Memory Allocation ' is missing in the header of the module


Commit History (1)


trunk:bugfix on trends diagnostics in the mixed-layer, see ticket#928 and ticket #930

Change History (1)

comment:1 Changed 9 years ago by cetlod

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.