Jump to content

Requests for technical support from the VASP team should be posted in the VASP Forum.

NPAR

From VASP Wiki

NPAR = [integer]
Default: NPAR = available ranks 

Description: NPAR determines the number of bands that are treated in parallel. This is a legacy tag; use NCORE instead.


Relationship to NCORE

VASP distributes the available MPI ranks into band groups that each work on one band, parallelizing the FFTs for that band. For the common case that IMAGES = 1 and no other algorithm-dependent parallelization (e.g., NOMEGAPAR) is active::

[math]\displaystyle{ \text{available ranks} = \frac{\text{total MPI ranks}}{\text{KPAR}} }[/math]

NPAR sets the number of band groups; NCORE sets the size of each band group. They are strict inverses:

[math]\displaystyle{ \text{NPAR} \times \text{NCORE} = \text{available ranks} }[/math]

The default (NPAR = available ranks) is equivalent to NCORE = 1: each band is handled by a single rank.

Related tags and articles

NCORE, KPAR, LPLANE, LSCALU, NSIM, LSCALAPACK, LSCAAWARE

GPU ports of VASP, Combining MPI and OpenMP,

Optimizing the parallelization, Parallelization, Energy cutoff and FFT meshes

Workflows that use this tag