Quantum Espresso – Paralelization levels • Images (-nimage, -ni): Processors can then be…
- User
Quantum Espresso – Paralelization levels • Images (-nimage, -ni): Processors can then be divided into different "images“. Suitable for Nudged Elastic Band calculations mpirun –np 64 neb.x –nimage 4 < job.in > job.out • Pools (-npools, nk): each image can be subpartitioned into "pools", each taking care of a group of k-points. K-points are tipically independents: the amount of communications is small. mpirun –np 64 pw.x –npool 4 < job.in > job.out • bands (-nband, -nb): each pool is subpartitioned into "band groups", each taking care of a group of Kohn-Sham orbitals (also called bands, or wavefunctions). Especially useful for calculations with hybrid functionals. In combination with other levels of parallelism can improve performances and scalabilityFor example, in combination with k mpirun –np 64 pw.x –npool 4 –nband 4 < job.in > job.out 104 Quantum Espresso – Paralelization levels • Linear algebra parallelization (-ndiag or –northo or -nd): Distribute and parallelize matrix diagonalization and matrix-matrix multiplications needed in iterative diagonalization (SCF) or orthonormalization calculations. Introduces a linear-algebra group of ndiag processors as a subset of the plane-wave group. mpirun –np 64 pw.x –ndiag 32 < job.in > job.out • Task group (-ntg or -nt): In order to allow good parallelization of the 3D FFT when the number of processors exceeds the number of FFT planes, FFTs on Kohn-Sham states are redistributed to `task'' groups so that each group can process several wavefunctions at the same time. mpirun –np 1024 pw.x –npool 4 –ntg 8 –ndiag 144 < job.in > job.out npool= 4 pools of nPW= 256 processors, ntask= 8 tasks of nFFT= 32 processors each; diagonalization is distributed to a square grid of 144 processors (12x12) OpenMP export OMP_NUM_THREADS=1 # defines OpenMP threads per MPI task based on above text as example and give my full comand for install quantum espresso .you know my laptop configuration.
- Assistant