# Fatal Error: no domain decomposition for rank 4, min cell size 1.776 nm

**URL:** <https://gromacs.bioexcel.eu/t/fatal-error-no-domain-decomposition-for-rank-4-min-cell-size-1-776-nm/13550>\
**Category:** User discussions\
**Tags:** mdrun\
**Created:** [June 23, 2026, 6:00pm UTC](https://gromacs.bioexcel.eu/t/fatal-error-no-domain-decomposition-for-rank-4-min-cell-size-1-776-nm/13550 "2026-06-23T18:00:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sgarey](https://avatars.discourse-cdn.com/v4/letter/s/4af34b/32.png) [@sgarey](https://gromacs.bioexcel.eu/u/sgarey)\
**Post date:** [June 23, 2026, 6:00pm UTC](https://gromacs.bioexcel.eu/t/fatal-error-no-domain-decomposition-for-rank-4-min-cell-size-1-776-nm/13550/1 "2026-06-23T18:00:07Z")

</div>

GROMACS version:2022.4  
GROMACS modification: Yes/No  
I am trying to run free energy calculation for the 20 standard amino acids. My simulations ran fine for smaller amino acids like glycine, but I’m having this issue with tryptophan, phenylalanine, and tyrosine. I am having trouble on the larger amino acids and getting this fatal error:

```auto
There is no domain decomposition for 4 ranks that is compatible with the given
box and a minimum cell size of 1.77637 nm.

```

In other discussion I have seen people running too many ranks and I have tried my mdrun with 2 ranks and still get this issue. The box side length I am using is 3.23536 nm

I can sucessfully run energy minimizations, npt, and nvt but get this error when atempting the production run. In these runs I also disabled the free energy calculation and tried to just run the simulation.

---

<div class="post-metadata">

**Author:** ![hess](https://dub1.discourse-cdn.com/flex017/user_avatar/gromacs.bioexcel.eu/hess/32/416_2.png) [@hess](https://gromacs.bioexcel.eu/u/hess)\
**Post date:** [June 24, 2026, 6:34am UTC](https://gromacs.bioexcel.eu/t/fatal-error-no-domain-decomposition-for-rank-4-min-cell-size-1-776-nm/13550/2 "2026-06-24T06:34:12Z")

</div>

You likely have exclusions over long distances due to decoupling a large molecule. But for such a small system using multiple domains is never going to be faster. Use 1 MPI rank and multiple OpenMP threads.
