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.
@@ -1705,6 +1709,12 @@ These variables are used to control the output of properties.
1705
1709
- lcao-only: output the density of states (DOS) and the projected density of states (PDOS)
1706
1710
-**Default**: 0
1707
1711
1712
+
### out_ldos
1713
+
1714
+
-**Type**: Boolean
1715
+
-**Description**: Whether to output the local density of states for given bias in cube file format, which is controlled by [stm_bias](#stm_bias).
1716
+
-**Default**: False
1717
+
1708
1718
### out_band
1709
1719
1710
1720
-**Type**: Boolean \[Integer\](optional)
@@ -1799,6 +1809,20 @@ These variables are used to control the output of properties.
1799
1809
The band (KS orbital) energy for each (k-point, spin, band) will be printed in the file `OUT.${suffix}/vxc_out.dat`. If EXX is calculated, the local and EXX part of band energy will also be printed in `OUT.${suffix}/vxc_local_out.dat`and `OUT.${suffix}/vxc_exx_out.dat`, respectively. All the `vxc*_out.dat` files contains 3 integers (nk, nspin, nband) followed by nk\*nspin\*nband lines of energy Hartree and eV.
1800
1810
-**Default**: False
1801
1811
1812
+
### out_mat_xc2
1813
+
1814
+
-**Type**: Boolean
1815
+
-**Availability**: Numerical atomic orbital (NAO) basis
1816
+
-**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`.
1817
+
-**Default**: False
1818
+
1819
+
### out_mat_l
1820
+
1821
+
-**Type**: Boolean [Integer\](optional)
1822
+
-**Availability**: Numerical atomic orbital (NAO) basis
1823
+
-**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.
1824
+
-**Default**: False 8
1825
+
1802
1826
### out_eband_terms
1803
1827
1804
1828
-**Type**: Boolean
@@ -1947,9 +1971,16 @@ These variables are used to control the calculation of DOS. [Detailed introducti
1947
1971
### dos_nche
1948
1972
1949
1973
-**Type**: Integer
1950
-
The order of Chebyshev expansions when using Stochastic Density Functional Theory (SDFT) to calculate DOS.
1974
+
-**Description**: The order of Chebyshev expansions when using Stochastic Density Functional Theory (SDFT) to calculate DOS.
1951
1975
-**Default**: 100
1952
1976
1977
+
### stm_bias
1978
+
1979
+
-**Type**: Real
1980
+
-**Description**: The bias voltage used to calculate local density of states to simulate scanning tunneling microscope, see details in [out_ldos](#out_ldos).
Copy file name to clipboardExpand all lines: docs/quick_start/output.md
+9-3Lines changed: 9 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,15 +6,21 @@ The following files are the central output files for ABACUS. After executing the
6
6
7
7
Different from `INPUT` given by the users, `OUT.suffix/INPUT` contains all parameters in ABACUS.
8
8
9
-
> **Note:**`OUT.suffix/INPUT` contain the initial default of ABACUS instead of the real parameters used in calculations. This file is stored for reproduction in case the default value is changed during development. If you want to figure out the real parameters used in calculations, you can open `OUT.suffix/runing_scf.log` and research corresponding parameter you are interested.
9
+
> **Note:**`OUT.suffix/INPUT` contains the **actual parameters used in the calculation**, including:
10
+
> 1.**User-specified parameters** (explicitly defined in your input file or command-line arguments, overriding default parameters).
11
+
> 2.**System default parameters** (automatically applied when not explicitly provided by the user).
12
+
13
+
14
+
This file ensures calculations can be fully reproduced, even if default values change in future ABACUS versions.
15
+
Also notice that in rare cases, a small number of parameters may be dynamically reset to appropriate values during runtime.
10
16
11
17
For a complete list of input parameters, please consult this [instruction](../advanced/input_files/input-main.md).
12
18
13
19
## *running_scf.log*
14
20
15
21
`running_scf.log` contains information on nearly all function calls made during the execution of ABACUS.
16
22
17
-
## *KPT*
23
+
## *KPT.info*
18
24
19
25
This file contains the information of all generated k-points, as well as the list of k-points actually used for calculations after considering symmetry.
20
26
@@ -39,4 +45,4 @@ ABACUS generates a `.cif` format structure file based on the input file `STRU`,
39
45
40
46
## *warning.log*
41
47
42
-
The file contains all the warning messages generated during the ABACUS run.
48
+
The file contains all the warning messages generated during the ABACUS run.
Copy file name to clipboardExpand all lines: source/module_base/formatter.h
+20-12Lines changed: 20 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -191,17 +191,22 @@ class FmtTable
191
191
*
192
192
* @param titles titles, its size should be the same as the number of columns
193
193
* @param nrows number of rows
194
-
* @param aligns Alignments instance, can be constructed with initializer_list<char> like {'r', 'c'}, for right and center alignment for values and titles
194
+
* @param fmts format strings for each column, its size should be the same as the number of columns
195
+
* @param indent indent for each column, default is 0
196
+
* @param aligns Alignments instance, for alignment of values and titles, e.g. {Align::LEFT, Align::RIGHT} for left alignment of values and right alignment of titles
195
197
* @param frames Frames instance, can be constructed with initializer_list<char> like {'-', '-', '-', ' ', ' '}, for up, middle, down, left and right frames
196
198
* @param delimiters Delimiters instance, can be constructed with initializer_list<char> like {'-', ' '}, for horizontal and vertical delimiters
0 commit comments