# \[v3.6\] Compilation: \`No matching subroutine lbc\_lnk\`

**URL:** <https://nemo-ocean.discourse.group/t/v3-6-compilation-no-matching-subroutine-lbc-lnk/116>\
**Category:** v3.6\
**Tags:** LBC\
**Created:** [18 August 2021 14:31 UTC](https://nemo-ocean.discourse.group/t/v3-6-compilation-no-matching-subroutine-lbc-lnk/116 "2021-08-18T14:31:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![peipei](https://avatars.discourse-cdn.com/v4/letter/p/e0b2c6/32.png) [@peipei](https://nemo-ocean.discourse.group/u/peipei)\
**Post date:** [18 August 2021 14:31 UTC](https://nemo-ocean.discourse.group/t/v3-6-compilation-no-matching-subroutine-lbc-lnk/116/1 "2021-08-18T14:31:53Z")

</div>

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:

```nohighlight
/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

---

<div class="post-metadata">

**Author:** ![smasson](https://avatars.discourse-cdn.com/v4/letter/s/eb9ed0/32.png) [@smasson](https://nemo-ocean.discourse.group/u/smasson)\
**Post date:** [9 February 2022 10:02 UTC](https://nemo-ocean.discourse.group/t/v3-6-compilation-no-matching-subroutine-lbc-lnk/116/2 "2022-02-09T10:02:34Z")

</div>

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_
