# \[v4.2.x\] Compilation: no \`xios\_send\_field\` subroutine

**URL:** <https://nemo-ocean.discourse.group/t/v4-2-x-compilation-no-xios-send-field-subroutine/265>\
**Category:** v4.2.x\
**Tags:** XIOS, IOM\
**Created:** [7 April 2022 09:40 UTC](https://nemo-ocean.discourse.group/t/v4-2-x-compilation-no-xios-send-field-subroutine/265 "2022-04-07T09:40:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![qtqw](https://avatars.discourse-cdn.com/v4/letter/q/77aa72/32.png) [@qtqw](https://nemo-ocean.discourse.group/u/qtqw)\
**Post date:** [7 April 2022 09:40 UTC](https://nemo-ocean.discourse.group/t/v4-2-x-compilation-no-xios-send-field-subroutine/265/1 "2022-04-07T09:40:10Z")

</div>

I can compile NEMO-4.0.1 with xios-2.5. But when I try to compile NEMO-4.2 with xios-2.5 it fails with messages

```nohighlight
NEMOGCM/cfgs/MY_OCE_uncpl/BLD/ppsrc/nemo/iom.f90(1940): error #6285: There is no matching specific subroutine for this generic subroutine call. [XIOS_SEND_FIELD]
            CALL xios_send_field( cdname, pfield2d, ntile - 1 )
-----------------^

```

According to xios source files, `SUBROUTINE xios_send_field` uses two arguments. But it seems that NEMO 4.2 tries to call `xios_send_field` with three arguments.

---

<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:** [7 April 2022 09:49 UTC](https://nemo-ocean.discourse.group/t/v4-2-x-compilation-no-xios-send-field-subroutine/265/2 "2022-04-07T09:49:08Z")

</div>

nemo 4.2.0 is not compatible with xios-2.5, you need trunk branch. See  
[https://sites.nemo-ocean.io/user-guide/install.html#extract-and-install-xios](https://sites.nemo-ocean.io/user-guide/install.html#extract-and-install-xios)

---

<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:** [7 April 2022 10:07 UTC](https://nemo-ocean.discourse.group/t/v4-2-x-compilation-no-xios-send-field-subroutine/265/3 "2022-04-07T10:07:46Z")

</div>



---

<div class="post-metadata">

**Author:** ![ntmlod](https://yyz2.discourse-cdn.com/free1/user_avatar/nemo-ocean.discourse.group/ntmlod/32/6_2.png) [@ntmlod](https://nemo-ocean.discourse.group/u/ntmlod)\
**Post date:** [10 April 2022 08:33 UTC](https://nemo-ocean.discourse.group/t/v4-2-x-compilation-no-xios-send-field-subroutine/265/4 "2022-04-10T08:33:32Z")

</div>


