Parallelization: Difference between revisions

From VASP Wiki
(Created page with "For many complex problems, a single core is not enough to finish the calculation in a reasonable time. VASP makes use of parallel machines splitting the calculation into many...")
 
(Redirected page to Category:Parallelization)
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
For many complex problems, a single core is not enough to finish the calculation in a reasonable time.
#REDIRECT [[:Category:Parallelization]]
VASP makes use of parallel machines splitting the calculation into many tasks.
By default, VASP distributes the number of bands ({{TAG|NBANDS}}) over the available cores.
But it is often beneficial to add parallelization over the FFTs ({{TAG|NCORE}}), the '''k''' points ({{TAG|KPAR}}), and separate calculations ({{TAG|IMAGES}}).
All these tags default to 1 and divide the number of cores among the parallelization options.
There may also be additional parallelization options for some algorithms in VASP.
::<math>
\text{total cores} = \text{cores parallelizing bands} \times \text{NCORE} \times \text{KPAR} \times \text{IMAGES} \times \text{other algorithm-dependent tags}
</math>
VASP makes use of [[Hybrid_MPI/OpenMP_parallelization|OpenMP]] and [[OpenACC_GPU_port_of_VASP|OpenACC]] when possible.
Note that these options conflict with the {{TAG|NCORE}} parallelization.
 
==Optimizing the parallelization==

Latest revision as of 11:40, 8 April 2022