You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/advanced/input_files/input-main.md
+13-1Lines changed: 13 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,6 +39,7 @@
39
39
-[pw\_diag\_thr](#pw_diag_thr)
40
40
-[pw\_diag\_nmax](#pw_diag_nmax)
41
41
-[pw\_diag\_ndim](#pw_diag_ndim)
42
+
-[diag\_subspace\_method](#diag_subspace_method)
42
43
-[erf\_ecut](#erf_ecut)
43
44
-[fft\_mode](#fft_mode)
44
45
-[erf\_height](#erf_height)
@@ -783,7 +784,18 @@ These variables are used to control the plane wave related parameters.
783
784
784
785
-**Type**: Integer
785
786
-**Description**: Only useful when you use `ks_solver = dav` or `ks_solver = dav_subspace`. It indicates dimension of workspace(number of wavefunction packets, at least 2 needed) for the Davidson method. A larger value may yield a smaller number of iterations in the algorithm but uses more memory and more CPU time in subspace diagonalization.
786
-
-**Default**: 4
787
+
-**Default**: 4
788
+
789
+
### diag_subspace_method
790
+
791
+
-**Type**: Integer
792
+
-**Description**: The method to diagonalize subspace in dav_subspace method. The available options are:
793
+
- 0: by LAPACK
794
+
- 1: by GenELPA
795
+
- 2: by ScaLAPACK
796
+
LAPACK only solve in one core, GenELPA and ScaLAPACK can solve in parallel. If the system is small (such as the band number is less than 100), LAPACK is recommended. If the system is large and MPI parallel is used, then GenELPA or ScaLAPACK is recommended, and GenELPA usually has better performance. For GenELPA and ScaLAPACK, the block size can be set by [nb2d](#nb2d).
0 commit comments