[v3.6] Compilation: `No matching subroutine lbc_lnk`

Dear all,

I’m trying to set up a new configuration with ORCA2_OFF_PISCES as a reference, using NEMO 3.6. When compiling I encountered a error:

/data/home/ppwu/nemo3.6/NEMOGCM/CONFIG/MY_OFF_PISCES/BLD/ppsrc/nemo/zdfevd.f90(152): error #6285: 
There is no matching specific subroutine for this generic subroutine call.   [LBC_LNK]
CALL lbc_lnk( avt , 'W', 1. )   ;   CALL lbc_lnk( avm , 'W', 1. )   ! Lateral boundary conditions

It seems that the subroutine lbc_lnk is missing and I can’t find this subroutine in any file.
Does anyone know how to fix it?

Many thanks!
Peipei

It should work…
Delete /data/home/ppwu/nemo3.6/NEMOGCM/CONFIG/MY_OFF_PISCES/BLD and /data/home/ppwu/nemo3.6/NEMOGCM/CONFIG/MY_OFF_PISCES/WORK and try again…
For your information, the subroutine is here : NEMOGCM/NEMO/OPA_SRC/LBC/lbclnk.F90