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/CITATIONS.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,3 +33,9 @@ The following references are required to be cited when using ABACUS. Specificall
33
33
Peize Lin, Xinguo Ren, and Lixin He. "Efficient Hybrid Density Functional Calculations for Large Periodic Systems Using Numerical Atomic Orbitals." Journal of Chemical Theory and Computation 2021, 17(1), 222–239.
34
34
35
35
Peize Lin, Xinguo Ren, and Lixin He. "Accuracy of Localized Resolution of the Identity in Periodic Hybrid Functional Calculations with Numerical Atomic Orbitals." Journal of Physical Chemistry Letters 2020, 11, 3082-3088.
36
+
37
+
-**If ML-KEDF is used:**
38
+
39
+
Sun, Liang, and Mohan Chen. "Machine learning based nonlocal kinetic energy density functional for simple metals and alloys." Physical Review B 109.11 (2024): 115135.
40
+
41
+
Sun, Liang, and Mohan Chen. "Multi-channel machine learning based nonlocal kinetic energy density functional for semiconductors." Electronic Structure 6.4 (2024): 045006.
> CMake will try to download Libnpy if it cannot be found locally.
33
33
34
+
## Build with ML-KEDF
35
+
36
+
If machine learning based kinetic energy density functional (ML-KEDF) is required for OFDFT calculation, the following prerequisites and steps are needed:
37
+
38
+
- C++ compiler, supporting **C++14** (GCC >= 5 is sufficient)
39
+
- CMake >= 3.18
40
+
-[LibTorch](https://pytorch.org/) with cxx11 ABI supporting CPU or GPU
> CMake will try to download Libnpy if it cannot be found locally.
48
+
34
49
## Build with DeePMD-kit
35
50
36
51
> Note: This part is only required if you want to load a trained DeeP Potential and run molecular dynamics with that. To train the DeeP Potential with DP-GEN, no extra prerequisite is needed and please refer to [this page](http://abacus.deepmodeling.com/en/latest/advanced/interface/dpgen.html) for ABACUS interface with DP-GEN.
@@ -141,7 +156,7 @@ CXX = mpiicpc
141
156
# icpc: compile intel sequential version
142
157
# make: ELPA_DIR, ELPA_INCLUDE_DIR, CEREAL_DIR must also be set.
143
158
# make pw: nothing need to be set except LIBXC_DIR
144
-
#
159
+
#
145
160
# mpicxx: compile gnu parallel version
146
161
# g++: compile gnu sequential version
147
162
# make: FFTW_DIR, OPENBLAS_LIB_DIR, SCALAPACK_LIB_DIR, ELPA_DIR, ELPA_INCLUDE_DIR, CEREAL_DIR must also 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 CXX=mpiicpc`, you do not need to provide any libs. For `make pw CXX=mpicxx`, you need provide `FFTW_DIR` and `OPENBLAS_LIB_DIR`.
249
276
250
-
Besides, libxc and deepks are optional libs to compile abacus.
251
-
They will be used when `LIBXC_DIR` is defined like
252
-
253
-
```makefile
254
-
LIBXC_DIR = /public/soft/libxc
255
-
```
256
-
257
-
or `LIBTORCH_DIR` and `LIBNPY_DIR` like
258
-
259
-
```makefile
260
-
LIBTORCH_DIR = /usr/local
261
-
LIBNPY_DIR = /usr/local
262
-
```
263
-
264
277
After modifying the `Makefile.vars` file, execute `make` or `make -j12` to build the program.
265
278
266
279
After the compilation finishes without error messages (except perhaps for some warnings), an executable program `ABACUS.mpi` will be created in directory `bin/`.
@@ -279,10 +292,20 @@ directly.
279
292
280
293
### Add DeePKS Support
281
294
282
-
To compile ABACUS with DEEPKS, you need to define `LIBTORCH_DIR` and `LIBNPY_DIR` in the file `Makefile.vars` or use
295
+
To compile ABACUS with DEEPKS, you need to set `ENABLE_DEEPKS = ON`, and define `LIBTORCH_DIR` and `LIBNPY_DIR` in the file `Makefile.vars` or use
296
+
297
+
```makefile
298
+
make ENABLE_DEEPKS=ON LIBTORCH_DIR=/opt/libtorch/ LIBNPY_DIR=/opt/libnpy/
299
+
```
300
+
301
+
directly.
302
+
303
+
### Add ML-KEDF Support
304
+
305
+
To compile ABACUS with ML-KEDF, you need to set `ENABLE_MLKEDF = ON`, and define `LIBTORCH_DIR` and `LIBNPY_DIR` in the file `Makefile.vars` or use
283
306
284
307
```makefile
285
-
make LIBTORCH_DIR=/opt/libtorch/ LIBNPY_DIR=/opt/libnpy/
308
+
make ENABLE_MLKEDF=ON LIBTORCH_DIR=/opt/libtorch/ LIBNPY_DIR=/opt/libnpy/
0 commit comments