# Is there a way to split dense k-grid calculations?

**URL:** <https://discourse.abinit.org/t/is-there-a-way-to-split-dense-k-grid-calculations/3659>\
**Category:** Ground state\
**Tags:** parallelism\
**Created:** [February 11, 2025, 11:52pm UTC](https://discourse.abinit.org/t/is-there-a-way-to-split-dense-k-grid-calculations/3659 "2025-02-11T23:52:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dom\_7](https://discourse.abinit.org/letter_avatar_proxy/v4/letter/d/7bcc69/32.png) [@Dom\_7](https://discourse.abinit.org/u/Dom_7)\
**Post date:** [February 11, 2025, 11:52pm UTC](https://discourse.abinit.org/t/is-there-a-way-to-split-dense-k-grid-calculations/3659/1 "2025-02-11T23:52:45Z")

</div>

Dear community,

Is there any way to split calculations involving denser k-grid to make it more efficient?

I was doing a phonon calculation for CaO with PBE pseudopotentials, ecut=35 Ha and k-grid: 16x16x40 and was getting OUT\_OF\_MEMORY errors.  
I was wondering if there is a way to split the calculation—perhaps by distributing the k-points or using another method—to reduce memory usage while maintaining accuracy.

Any suggestions on this topic?

Thanks  
Dominic

---

<div class="post-metadata">

**Author:** ![bguster](https://discourse.abinit.org/letter_avatar_proxy/v4/letter/b/ac8455/32.png) [@bguster](https://discourse.abinit.org/u/bguster)\
**Post date:** [February 12, 2025, 11:56am UTC](https://discourse.abinit.org/t/is-there-a-way-to-split-dense-k-grid-calculations/3659/2 "2025-02-12T11:56:37Z")

</div>

Hi Dominic,

It is not possible to calculate different pieces of the wavefunction in different runs since you need to update that wavefunction after each SCF step.

There are several things to check to ensure you make the best use of all techniques ABINIT has available:

1. ensure a proper balance of resource distribution: for this are you using paral\_kgb?
2. target accuracy by property: against what property are you trying to achieve convergence? phonon frequency? for this \>10000 k-points for the full Brillouin zone seems excessive. For example you can see in this benchmark [article](https://doi.org/10.1016/j.commatsci.2017.12.040) that usually you reach a great accuracy for 2000 kpra (which is number of k-points in BZ multiplied by the number of atom in the cell). In your case this would be the equivalent of 80000 kpra (40 times more) if you are using the cubic 8 atom CaO cell.
3. enforcing symmetry: ABINIT will identify the symmetry equivalent k-points and will reduce the full BZ k-point number (for example if your system presents time-reversal symmetry, this number of kpts will already be reduced to half).

Good luck and let us know!  
Bogdan
