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/acceleration/cuda.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,6 +46,7 @@ We provides [examples](https://github.com/deepmodeling/abacus-develop/tree/devel
46
46
PW basis:
47
47
- Only k point parallelization is supported, so the input keyword `kpar` will be set to match the number of MPI tasks automatically.
48
48
- By default, CUDA architectures 60, 70, 75, 80, 86, and 89 are compiled (if supported). It can be overriden using the CMake variable [`CMAKE_CUDA_ARCHITECTURES`](https://cmake.org/cmake/help/latest/variable/CMAKE_CUDA_ARCHITECTURES.html) or the environmental variable [`CUDAARCHS`](https://cmake.org/cmake/help/latest/envvar/CUDAARCHS.html).
49
+
49
50
LCAO basis:
50
51
- Unless there is a specific reason, avoid using multiple GPUs, as it can be slower than using a single GPU. This is because the generalized eigenvalue solution of the LCAO basis set will incur additional communication overhead when calculated on multiple cards. When the memory limit of a GPU card makes it insufficient to complete the task, it is recommended to use multiple cards for calculation.
51
52
- When using elpa on GPUs, some ELPA internal logs will be output.
@@ -1702,10 +1705,15 @@ These variables are used to control the output of properties.
1702
1705
-**Description**: Whether to output the density of states (DOS). For more information, refer to the [dos.md](../elec_properties/dos.md).
1703
1706
- 0: no output
1704
1707
- 1: output the density of states (DOS)
1705
-
- 2:
1706
-
- lcao-only: output the density of states (DOS) and the projected density of states (PDOS)
1708
+
- 2: (lcao-only) output the density of states (DOS) and the projected density of states (PDOS)
1707
1709
-**Default**: 0
1708
1710
1711
+
### out_ldos
1712
+
1713
+
-**Type**: Boolean
1714
+
-**Description**: Whether to output the local density of states for given bias in cube file format, which is controlled by [stm_bias](#stm_bias).
1715
+
-**Default**: False
1716
+
1709
1717
### out_band
1710
1718
1711
1719
-**Type**: Boolean \[Integer\](optional)
@@ -1807,6 +1815,13 @@ The band (KS orbital) energy for each (k-point, spin, band) will be printed in t
1807
1815
-**Description**: Whether to print the exchange-correlation matrices in **numerical orbital representation** (unit: Ry): $\braket{\phi_i|V_\text{xc}^\text{(semi-)local}+V_\text{exx}+V_\text{DFTU}|\phi_j}(\mathbf{R})$ in CSR format (the same format as [out_mat_hs2](../elec_properties/hs_matrix.md#out_mat_hs2)) in the directory `OUT.${suffix}`. (Note that currently DeePKS term is not included. ) The files are named `Vxc_R_spin$s`.
1808
1816
-**Default**: False
1809
1817
1818
+
### out_mat_l
1819
+
1820
+
-**Type**: Boolean [Integer\](optional)
1821
+
-**Availability**: Numerical atomic orbital (NAO) basis
1822
+
-**Description**: Whether to print the expectation value of the angular momentum operator $\hat{L}_x$, $\hat{L}_y$, and $\hat{L}_z$ in the basis of the localized atomic orbitals. The files are named `OUT.${suffix}/${suffix}_Lx.dat`, `OUT.${suffix}/${suffix}_Ly.dat`, and `OUT.${suffix}/${suffix}_Lz.dat`. The second integer controls the precision of the output.
1823
+
-**Default**: False 8
1824
+
1810
1825
### out_eband_terms
1811
1826
1812
1827
-**Type**: Boolean
@@ -1955,9 +1970,20 @@ These variables are used to control the calculation of DOS. [Detailed introducti
1955
1970
### dos_nche
1956
1971
1957
1972
-**Type**: Integer
1958
-
The order of Chebyshev expansions when using Stochastic Density Functional Theory (SDFT) to calculate DOS.
1973
+
-**Description**: The order of Chebyshev expansions when using Stochastic Density Functional Theory (SDFT) to calculate DOS.
1959
1974
-**Default**: 100
1960
1975
1976
+
### stm_bias
1977
+
1978
+
-**Type**: Real Real(optional) Integer(optional)
1979
+
-**Description**: The bias voltage used to calculate local density of states to simulate scanning tunneling microscope, see details in [out_ldos](#out_ldos). When using three parameters:
1980
+
1981
+
- The first parameter specifies the initial bias voltage value.
1982
+
- The second parameter defines the voltage increment (step size between consecutive bias values).
1983
+
- The third parameter determines the total number of voltage points
1984
+
-**Default**: 1.0
1985
+
-**Unit**: V
1986
+
1961
1987
[back to top](#full-list-of-input-keywords)
1962
1988
1963
1989
## NAOs
@@ -2004,10 +2030,13 @@ Warning: this function is not robust enough for the current version. Please try
2004
2030
2005
2031
### deepks_out_labels
2006
2032
2007
-
-**Type**: Boolean
2033
+
-**Type**: Integer
2008
2034
-**Availability**: numerical atomic orbital basis
2009
-
-**Description**: Print labels and descriptors for DeePKS training in OUT.${suffix}. The names of these files start with "deepks".
2010
-
-**Note**: In `LCAO` calculation, the path of a numerical descriptor (an `orb` file) is needed to be specified under the `NUMERICAL_DESCRIPTOR` tag in the `STRU` file. For example:
2035
+
-**Description**: Print labels and descriptors for DeePKS in OUT.${suffix}. The names of these files start with "deepks".
2036
+
- 0 : No output.
2037
+
- 1 : Output intermediate files needed during DeePKS training.
2038
+
- 2 : Output target labels for label preperation. The label files are named as `deepks_<property>.npy`, where the units and formats are the same as label files `<property>.npy` required for training, except that the first dimension (`nframes`) is excluded. System structrue files are also given in `deepks_atom.npy` and `deepks_box.npy` in the unit of *Bohr*, which means `lattice_constant` should be set to 1 when training.
2039
+
-**Note**: When `deepks_out_labels` equals **1**, the path of a numerical descriptor (an `orb` file) is needed to be specified under the `NUMERICAL_DESCRIPTOR` tag in the `STRU` file. For example:
2011
2040
2012
2041
```text
2013
2042
NUMERICAL_ORBITAL
@@ -2017,8 +2046,8 @@ Warning: this function is not robust enough for the current version. Please try
2017
2046
NUMERICAL_DESCRIPTOR
2018
2047
jle.orb
2019
2048
```
2020
-
2021
-
-**Default**: False
2049
+
This is not needed when `deepks_out_labels` equals 2.
2050
+
-**Default**: 0
2022
2051
2023
2052
### deepks_scf
2024
2053
@@ -3858,12 +3887,6 @@ These variables are used to control berry phase and wannier90 interface paramete
3858
3887
- 1: Yes.
3859
3888
-**Default**: 0
3860
3889
3861
-
-**Type**: Boolean
3862
-
-**Description**: Specify whether to set the colorful output in terminal.
0 commit comments