# \[v4.2.x\] Coupled mode NEMO-OASIS-XIOS freezes at \`prism\_initxios.x\` task

**URL:** <https://nemo-ocean.discourse.group/t/v4-2-x-coupled-mode-nemo-oasis-xios-freezes-at-prism-initxios-x-task/274>\
**Category:** v4.2.x\
**Tags:** XIOS, OASIS\
**Created:** [10 April 2022 18:31 UTC](https://nemo-ocean.discourse.group/t/v4-2-x-coupled-mode-nemo-oasis-xios-freezes-at-prism-initxios-x-task/274 "2022-04-10T18:31:32Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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:** [13 April 2022 09:37 UTC](https://nemo-ocean.discourse.group/t/v4-2-x-coupled-mode-nemo-oasis-xios-freezes-at-prism-initxios-x-task/274/4 "2022-04-13T09:37:50Z")

</div>

Thank you for the reply.  
I did as suggested and now the coupled model freezes after

```make
 starting wrf task 0 of 1
 ---> prism_initxios.x 0
-> info : CServer : Register new Context : nemo_server
-> info : Register new Context : nemo
-> info : update step : 0 timestep 300s
-> info : CClientBuffer: allocated 2 x 73907148 bytes for server 0 with a maximum of 16 buffered events

```

I checked that the model freezes when `xios_close_context_definition()` is called in `SUBROUTINE iom_init` in NEMOGCM.

According to

> [@\[intel\] Model hangs on initialization phase at \`xios\_close\_context\_definition\` call](https://nemo-ocean.discourse.group/t/v4-0-x-model-hangs-on-initialization-phase-in-iom-ini/190):
>
> Currently I am implementing a new tracer package in Nemo v4.0. However, I am confronted with the problem that the model run would fail or would not fail after performing minor changes in some routines. This problem bears some resemblance with the issue posted by Marilia. I investigated further by building a “minimalist” configuration: ORCA2 + OFF + very basic MY\_TRC code (3 tracers which are only transported). When XIOS is executed in detached (server) mode the model would fail upon the sim…

it seems that there is an issue with compiler.

Can you please tell me which compiler did you use?

---

_[View the full topic](https://nemo-ocean.discourse.group/t/v4-2-x-coupled-mode-nemo-oasis-xios-freezes-at-prism-initxios-x-task/274)._
