New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
#928 (Bugs in TOP mixed layer trend diagnostics) – NEMO

Opened 13 years ago

Closed 13 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: v3.4
Severity: Keywords:
Cc:

Description

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

Gurvan

Commit History (1)

ChangesetAuthorTimeChangeLog
3320cetlod2012-03-05T17:37:52+01:00

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

Change History (1)

comment:1 Changed 13 years ago by cetlod

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