# \[v4.0.x\] \`E R R O R ... ML tracer and Barotropic vorticity diags are still using old IOIPSL\` with 2D tracer trends (\`ln\_tra\_mxl = .true.\`)

**URL:** <https://nemo-ocean.discourse.group/t/v4-0-x-e-r-r-o-r-ml-tracer-and-barotropic-vorticity-diags-are-still-using-old-ioipsl-with-2d-tracer-trends-ln-tra-mxl-true/196>\
**Category:** v4.0.x\
**Tags:** TRD\
**Created:** [3 February 2022 17:45 UTC](https://nemo-ocean.discourse.group/t/v4-0-x-e-r-r-o-r-ml-tracer-and-barotropic-vorticity-diags-are-still-using-old-ioipsl-with-2d-tracer-trends-ln-tra-mxl-true/196 "2022-02-03T17:45:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![f-assene](https://avatars.discourse-cdn.com/v4/letter/f/6de8d8/32.png) [@f-assene](https://nemo-ocean.discourse.group/u/f-assene)\
**Post date:** [3 February 2022 17:45 UTC](https://nemo-ocean.discourse.group/t/v4-0-x-e-r-r-o-r-ml-tracer-and-barotropic-vorticity-diags-are-still-using-old-ioipsl-with-2d-tracer-trends-ln-tra-mxl-true/196/1 "2022-02-03T17:45:55Z")

</div>

Hello

I’m trying to perform 2D tracer trend diagnostic on NEMO 4.0.2. This is my namelist :

```fortran
&namtrd ! trend diagnostics (default: OFF)
!-----------------------------------------------------------------------
   ln_tra_trd = .false. ! (T) 3D tracer trend output
   ln_tra_mxl = .true. ! (T) 2D tracer trends averaged over the mixed layer
   nn_trd = 32 ! print frequency (ln_glo_trd=T) (unit=time step)
/

```

but i got this error in my _ocean.output_ file :

```nohighlight

  ===>>> : E R R O R

          ===========

 ML tracer and Barotropic vorticity diags are still using old IOIPSL

  ===>>> : W A R N I N G

          ===============

 end of record or file while reading namelist namtrd_mxl in reference namelist i
 ostat = -1

  trd_mxl_init : Mixed-layer trends
  ~~~~~~~~~~
    Namelist namtrd : set trends parameters
       frequency of trends diagnostics (glo) nn_trd =
         32
       density criteria used to defined the MLD rn_rho_c =
  1.000000000000000E-002
       control surface type (mld) nn_ctls =
           0
       restart for ML diagnostics ln_trdmxl_restart = F
       instantaneous or mean ML T/S ln_trdmxl_instant = F
       unit conversion factor rn_ucf =
   1.00000000000000
       criteria to compute the MLD rn_rho_c =
  1.000000000000000E-002

```

Does anyone know how to set up the namelist to achieve these trend’s diagnostics ?
