# MPP\_PREP tools deprecated in 4.2.x?

**URL:** https://nemo-ocean.discourse.group/t/mpp-prep-tools-deprecated-in-4-2-x/757
**Category:** v4.2.x
**Tags:** tools
**Created:** [12 September 2024 21:08 UTC](https://nemo-ocean.discourse.group/t/mpp-prep-tools-deprecated-in-4-2-x/757 "2024-09-12T21:08:01Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![dupontf](https://avatars.discourse-cdn.com/v4/letter/d/bb73d2/32.png) [@dupontf](https://nemo-ocean.discourse.group/u/dupontf)
#### Post date: [12 September 2024 21:08 UTC](https://nemo-ocean.discourse.group/t/mpp-prep-tools-deprecated-in-4-2-x/757/1 "2024-09-12T21:08:01Z")

</div>

Hi all, I have started using `mpp_optimiz_zoom_nc.F90` for preparing in advance best MPI distributions but found out that the code does not seem to have been updated to 4.2.x:

- missing extended computational grid relative to input (`jpiglo = Ni0glo +2 * nn_hls`)
- missing northfold treatment and east-west periodicity

Anybody already working on it?

---

<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: [17 September 2024 14:39 UTC](https://nemo-ocean.discourse.group/t/mpp-prep-tools-deprecated-in-4-2-x/757/2 "2024-09-17T14:39:34Z")

</div>

Since NEMO4.0, we have implemented an automatic and optimal decomposition of the MPI sub-domains. All details are given in section 2.1 of

> Irrmann, G., Masson, S., Maisonnave, É., Guibert, D., and Raffin, E.: Improving ocean modeling software NEMO 4.0 benchmarking and communication efficiency, Geoscientific Model Development, 15, 1567–1582, [GMD - Improving ocean modeling software NEMO 4.0 benchmarking and communication efficiency](https://doi.org/10.5194/gmd-15-1567-2022), 2022.

Setting the namelist parameter `ln_listonly = .true.` will stop the model at the initialisation phase and will print in the file `ocean.output` the list of optimum domain decompositions from 1 MPI task to slightly more than `jpni × jpnj` MPI tasks.
