# AGRIF + MPI in nested applications

**URL:** <https://forum.croco-ocean.org/t/agrif-mpi-in-nested-applications/650>\
**Category:** nesting\
**Created:** [April 19, 2024, 8:57am UTC](https://forum.croco-ocean.org/t/agrif-mpi-in-nested-applications/650 "2024-04-19T08:57:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Diego](https://forum.croco-ocean.org/letter_avatar_proxy/v4/letter/d/f04885/32.png) [@Diego](https://forum.croco-ocean.org/u/Diego)\
**Post date:** [April 19, 2024, 8:57am UTC](https://forum.croco-ocean.org/t/agrif-mpi-in-nested-applications/650/1 "2024-04-19T08:57:50Z")

</div>

Hello everyone,

I see very clear instructions in the documentation on MPI and domain decomposition (NP\_XI, NP\_ETA). However, in an AGRIF nested configuration, does this domain decomposition only apply to the parent grid? Or is it necessary to define different NP\_XI, NP\_ETA for the child grid? In other words, how is the child grid decomposed for MPI and how to indicate it to CROCO?

Thanks,  
Diego

---

<div class="post-metadata">

**Author:** ![Matt29](https://forum.croco-ocean.org/user_avatar/forum.croco-ocean.org/matt29/32/279_2.png) [@Matt29](https://forum.croco-ocean.org/u/Matt29)\
**Post date:** [April 22, 2024, 12:46pm UTC](https://forum.croco-ocean.org/t/agrif-mpi-in-nested-applications/650/2 "2024-04-22T12:46:11Z")

</div>

Hello,

For now, it’s the same domain decomposition between the mother and child grids and you dont have to indicate it.

Matthieu
