GYRE_PISCES not running out of the box on 4.2

Hi all,
I’m facing problems in running the GYRE configuration on nemo 4.2. it compiles without errors (with default keys bld::tool::fppkeys key_top key_linssh key_xios), but out of the box it won’t run with ./nemo (nor with mprun -np X ./nemo). Below the the ocean.output file

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

          ===========

 misspelled variable in namelist namctl in reference namelist iostat =  5010


    CNRS - NERC - Met OFFICE - MERCATOR-ocean - CMCC
                        NEMO team
             Ocean General Circulation Model
                 NEMO version 4.0  (2020)

            ._      ._      ._      ._      ._
        _.-._)`\_.-._)`\_.-._)`\_.-._)`\_.-._)`\_

            o         _,           _,
             o      .' (        .-' /
            o     _/..._'.    .'   /
       (    o .-'`      ` '-./  _.'
        )    ( o)           ;= <_         (
       (      '-.,\\__ __.-;`\   '.        )
        )  )       \) |`\ \)  '.   \      (   (
       (  (           \_/       '-._\      )   )
        )  ) jgs                     `    (   (
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


AAAAAAAA


 par_kind : wp = Working precision = dp = double-precision
 ~~~~~~~~                                 ****************


 usr_def_nam  : read the user defined namelist (namusr_def) in namelist_cfg
 ~~~~~~~~~~~
    Namelist namusr_def : GYRE case
       GYRE used as Benchmark (=T)                      ln_bench  =  F
       inverse resolution & implied domain size         nn_GYRE   =            1
       Ni0glo = 30*nn_GYRE                              Ni0glo =           32
       Nj0glo = 20*nn_GYRE                              Nj0glo =           22
       number of model levels                           jpkglo =           31


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

          ===========

 misspelled variable in namelist nammpp in reference namelist iostat =  5010

    Namelist nammpp
       jpni and jpnj will be calculated automatically
      avoid use of mpi_allgather at the north fold  ln_nnogather =  F
       halo width (applies to both rows and columns)       nn_hls =            1
       choice of communication method                     nn_comm =            0

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

          ===========

 misspelled variable in namelist nambdy in reference namelist (mppini) iostat =  5010


                   For your information:
   list of the best partitions including land supression
   -----------------------------------------------------

nb_cores oce:      1, land domains excluded:      0 ( 0.0%), largest oce domain:       816 (     34 x     24 )

   -----------------------------------------------------------

apparently the error is in the reading of namctl and nammpp. These two entries in nameless_ref are

!-----------------------------------------------------------------------
&nammpp        !   Massively Parallel Processing                        ("key_mpp_mpi")
!-----------------------------------------------------------------------
   cn_mpi_send =  'I'      !  mpi send/recieve type   ='S', 'B', or 'I' for standard send,
   !                       !  buffer blocking send or immediate non-blocking sends, resp.
   nn_buffer   =   0       !  size in bytes of exported buffer ('B' case), 0 no exportation
   ln_nnogather =  .true.  !  activate code to avoid mpi_allgather use at the northfold
   jpni        =   0       !  jpni   number of processors following i (set automatically if < 1)
   jpnj        =   0       !  jpnj   number of processors following j (set automatically if < 1)
/
!-----------------------------------------------------------------------
&namctl        !   Control prints                                       (default: OFF)
!-----------------------------------------------------------------------
   ln_ctl = .FALSE.                 ! Toggle all report printing on/off (T/F); Ignored if sn_cfctl%l_config is T
     sn_cfctl%l_config = .TRUE.     ! IF .true. then control which reports are written with the following
       sn_cfctl%l_runstat = .FALSE. ! switches and which areas produce reports with the proc integer settings.
       sn_cfctl%l_trcstat = .FALSE. ! The default settings for the proc integers should ensure
       sn_cfctl%l_oceout  = .FALSE. ! that  all areas report.
       sn_cfctl%l_layout  = .FALSE. !
       sn_cfctl%l_mppout  = .FALSE. !
       sn_cfctl%l_mpptop  = .FALSE. !
       sn_cfctl%procmin   = 0       ! Minimum area number for reporting [default:0]
       sn_cfctl%procmax   = 1000000 ! Maximum area number for reporting [default:1000000]
       sn_cfctl%procincr  = 1       ! Increment for optional subsetting of areas [default:1]
       sn_cfctl%ptimincr  = 1       ! Timestep increment for writing time step progress info
   nn_print    =    0      !  level of print (0 no extra print)
   nn_ictls    =    0      !  start i indice of control sum (use to compare mono versus
   nn_ictle    =    0      !  end   i indice of control sum        multi processor runs
   nn_jctls    =    0      !  start j indice of control               over a subdomain)
   nn_jctle    =    0      !  end   j indice of control
   nn_isplt    =    1      !  number of processors in i-direction
   nn_jsplt    =    1      !  number of processors in j-direction
   ln_timing   = .false.   !  timing by routine write out in timing.output file
   ln_diacfl   = .false.   !  CFL diagnostics write out in cfl_diagnostics.ascii
/

while in my namelist_cfg they are empty

!-----------------------------------------------------------------------
&nammpp        !   Massively Parallel Processing
!-----------------------------------------------------------------------
/
!-----------------------------------------------------------------------
&namctl        !   Control prints                                       (default: OFF)
!-----------------------------------------------------------------------
/

Any hint why this happens? I need to use this configuration to port my implementations to 4.2 (and in the future to 5.0).

Edit: I’ve just noticed the error in nambdy as well, but this entry is absent from my nameless_cfg.

Cheers
Francesco

You are clearly not reading nemo 4.2 namelist_ref as the entry you are showing are not corresponding to the 4.2 namelist_ref

Yes, for some reason the namelist_ref in the shared folder was not that of 4.2, perhaps I have messed up the installation.

Thanks a lot @smasson