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
+1-8Lines changed: 1 addition & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,6 @@
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
-
-[diago\_full\_acc](#diago_full_acc)
43
42
-[erf\_ecut](#erf_ecut)
44
43
-[fft\_mode](#fft_mode)
45
44
-[erf\_height](#erf_height)
@@ -779,12 +778,6 @@ These variables are used to control the plane wave related parameters.
779
778
-**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.
780
779
-**Default**: 4
781
780
782
-
### diago_full_acc
783
-
784
-
-**Type**: bool
785
-
-**Description**: Only useful when you use `ks_solver = dav_subspace`. If `TRUE`, all the empty states are diagonalized at the same level of accuracy of the occupied ones. Otherwise the empty states are diagonalized using a larger threshold (10-5) (this should not affect total energy, forces, and other ground-state properties).
786
-
-**Default**: false
787
-
788
781
### erf_ecut
789
782
790
783
-**Type**: Real
@@ -925,7 +918,7 @@ calculations.
925
918
-**cg**: cg method.
926
919
-**bpcg**: bpcg method, which is a block-parallel Conjugate Gradient (CG) method, typically exhibits higher acceleration in a GPU environment.
927
920
-**dav**: the Davidson algorithm.
928
-
-**dav_subspace**: subspace Davidson algorithm
921
+
-**dav_subspace**: Davidson algorithm without orthogonalization operation, this method is the most recommended for efficiency. `pw_diag_ndim` can be set to 2 for this method.
Copy file name to clipboardExpand all lines: docs/advanced/install.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -93,9 +93,9 @@ cmake -B build -DUSE_CUDA=1 -DCMAKE_CUDA_COMPILER=${path to cuda toolkit}/bin/nv
93
93
94
94
## Build math library from source
95
95
96
-
> Note: This flag is **enabled by default**. It will get better performance than the standard implementation on `gcc` and `clang`. But it **will be disabled** when using `Intel Compiler` since the math functions will get wrong results and the performance is also unexpectly poor.
96
+
> Note: We recommend using the latest available compiler sets, since they offer faster implementations of math functions.
97
97
98
-
To build math functions from source code, instead of using c++ standard implementation, define `USE_ABACUS_LIBM` flag.
98
+
This flag is disabled by default. To build math functions from source code, define `USE_ABACUS_LIBM` flag. It is expected to get a better performance on legacy versions of `gcc` and `clang`.
0 commit comments