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
- **Description**: Number of spin components of wave functions. There are only two choices now: 1 or 2, meaning non spin or collinear spin.
474
+
- **Description**: Number of spin components of wave functions. There are only two choices now: 1 or 2, meaning non spin or collinear spin. For case of [noncollinear polarized](../scf/spin.md#noncollinear-spin-polarized-calculations), nspin will be automatically set to 4 without being specified in user input.
475
475
- **Default**: 1
476
476
477
477
### smearing_method
@@ -967,6 +967,11 @@ Si-p2-orbital-dru.dat Si-s1-orbital-ru.dat" for example.
967
967
- **Description**: Whether to generate output to be used in dmft. It seems this functionality is not working anymore.
968
968
- **Default**: 0
969
969
970
+
### rpa
971
+
- **Type**: Boolean
972
+
- **Description**: Generate output files used in rpa calculation.
973
+
- **Default**: 0
974
+
970
975
[back to top](#full-list-of-input-keywords)
971
976
972
977
## Density of states
@@ -1375,6 +1380,12 @@ temperature will fluctuate violently; if it is too small, the temperature will t
1375
1380
- **Description**: The value of sigma for Leonard Jones potential (angstrom).
1376
1381
- **Default**: 3.405 (for He)
1377
1382
1383
+
### pot_file
1384
+
1385
+
- **Type**: String
1386
+
- **Description**: The filename of potential files for CMD such as DP.
- **Description**: We use gaussian functions to approxiamte $\delta(E)\approx \frac{1}{\sqrt{2\pi}\Delta E}e^{-\frac{E^2}{2{\Delta E}^2}}$. FWHM for conductivities, $FWHM=2*\sqrt{2\ln2}\cdot \Delta E$. The unit is eV.
1860
1871
- **Default**: 0.3
1861
1872
1873
+
### cond_nonlocal
1874
+
1875
+
- **Type**: Boolean
1876
+
- **Description**: Conductivities need to calculate velocity matrix $\bra{\psi_i}\hat{v}\ket{\psi_j}$ and $m\hat{v}=\hat{p}+\frac{im}{\hbar}[\hat{V}_{NL},\hat{r}]$. If `cond_nonlocal` is false, $m\hat{v}\approx\hat{p}$.
To build tests for ABACUS, define `BUILD_TESTING` flag. You can also specify path to local installation of [Googletest](https://github.com/google/googletest) by setting `GTEST_DIR` flags. If not found in local, the configuration process will try to download it automatically.
31
43
@@ -55,11 +67,15 @@ CC = mpiicpc
55
67
# icpc: compile intel serial version
56
68
# make: ELPA_DIR, ELPA_INCLUDE_DIR, CEREAL_DIR must also be set.
57
69
# make pw: nothing need to be set except LIBXC_DIR
58
-
#
70
+
#
59
71
# mpicxx: compile gnu parallel version
60
72
# g++: compile gnu serial version
61
73
# make: FFTW_DIR, OPENBLAS_LIB_DIR, SCALAPACK_LIB_DIR, ELPA_DIR, ELPA_INCLUDE_DIR, CEREAL_DIR must also be set.
62
74
# make pw: FFTW_DIR, OPENBLAS_LIB_DIR must be set.
ABACUS now support full version and pw version. Use `make` or `make abacus` to compile full version which supports LCAO calculations. Use `make pw` to compile pw version which only supports pw calculations. For pw version, `make pw CC=mpiicpc`, you do not need to provide any libs. For `make pw CC=mpicxx`, you need provide `FFTW_DIR` and `OPENBLAS_LIB_DIR`.
134
161
135
-
Besides, libxc and deepks are optional libs to compile abacus.
162
+
Besides, libxc and deepks are optional libs to compile abacus.
136
163
They will be used when `LIBXC_DIR` is defined like
137
164
```
138
165
LIBXC_DIR = /public/soft/libxc
@@ -151,16 +178,24 @@ After the compilation finishes without error messages (except perhaps for some w
151
178
152
179
The program compiled using the above instructions do not link with LIBXC and use exchange-correlation functionals as written in the ABACUS program. However, for some functionals (such as HSE hybrid functional), LIBXC is required.
153
180
154
-
To compile ABACUS with LIBXC, you need to define `LIBXC_DIR` in the file `Makefile.vars` or use
181
+
To compile ABACUS with LIBXC, you need to define `LIBXC_DIR` in the file `Makefile.vars` or use
155
182
```makefile
156
183
make LIBXC_DIR=/pulic/soft/libxc
157
-
```
184
+
```
158
185
directly.
159
186
160
187
### Add DeePKS Support
161
188
162
-
To compile ABACUS with DEEPKS, you need to define `LIBTORCH_DIR` and `LIBNPY_DIR` in the file `Makefile.vars` or use
189
+
To compile ABACUS with DEEPKS, you need to define `LIBTORCH_DIR` and `LIBNPY_DIR` in the file `Makefile.vars` or use
163
190
```makefile
164
191
make LIBTORCH_DIR=/opt/libtorch/ LIBNPY_DIR=/opt/libnpy/
165
-
```
192
+
```
166
193
directly.
194
+
195
+
### Add DeePMD-kit Support
196
+
197
+
To compile ABACUS with DeePMD-kit, you need to define `DeePMD_DIR` and `TensorFlow_DIR` in the file `Makefile.vars` or use
198
+
```makefile
199
+
make DeePMD_DIR=~/deepmd-kit TensorFlow_DIR=~/tensorflow
Copy file name to clipboardExpand all lines: docs/advanced/md.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,9 @@ By setting `calculation` to be `md` or `sto-md`, ABACUS currently provides six d
13
13
14
14
Furthermore, ABACUS also provides a [list of keywords](./input_files/input-main.md#molecular-dynamics) to control relevant parmeters used in MD simulations.
15
15
16
+
To employ CMD calculations, `md_ensolver` should be set to be `LJ` or `DP`.
17
+
If DP model is selected, the filename of DP model is specified by keyword `pot_file`.
18
+
16
19
[Examples](https://github.com/deepmodeling/abacus-develop/tree/develop/examples/md/lcao_gammaonly_Sn64) of MD simulations are also provided.
17
20
There are six INPUT files corresponding to six different MD evolution methods in the directory.
18
21
For examlpe, `INPUT_0` shows how to employ the NVE simulation.
0 commit comments