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/examples/dpgen.md
+187-3Lines changed: 187 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,9 @@
2
2
3
3
[back to main page](../../README.md)
4
4
5
-
[DP-GEN](https://github.com/deepmodeling/dpgen), the deep potential generator, is a package designed to generate deep learning based model of interatomic potential energy and force fields (Yuzhi Zhang, Haidi Wang, Weijie Chen, Jinzhe Zeng, Linfeng Zhang, Han Wang, and Weinan E, DP-GEN: A concurrent learning platform for the generation of reliable deep learning based potential energy models, Computer Physics Communications, 2020, 107206). ABACUS can now interface with DP-GEN to generate deep potentials. In the following, we take the FCC aluminum as an example.
5
+
[DP-GEN](https://github.com/deepmodeling/dpgen), the deep potential generator, is a package designed to generate deep learning based model of interatomic potential energy and force fields (Yuzhi Zhang, Haidi Wang, Weijie Chen, Jinzhe Zeng, Linfeng Zhang, Han Wang, and Weinan E, DP-GEN: A concurrent learning platform for the generation of reliable deep learning based potential energy models, Computer Physics Communications, 2020, 107206). ABACUS can now interface with DP-GEN to generate deep potentials and performe autotests. In the following, we take the FCC aluminum as an example.
6
+
7
+
## init_bulk and run
6
8
7
9
This example can be found in examples/dpgen-example/init_and_run directory.
8
10
@@ -11,7 +13,7 @@ Firstly, one needs to prepare input files for ABACUS calculation, e.g., “INPUT
11
13
Secondly, for the "dpgen init_bulk" step, an `init.json` file should be provided:
12
14
13
15
14
-
```
16
+
```json
15
17
{
16
18
"init_fp_style": "ABACUS", # abacus interface
17
19
"stages": [1,2,3,4],
@@ -36,7 +38,7 @@ Secondly, for the "dpgen init_bulk" step, an `init.json` file should be provided
36
38
```
37
39
38
40
Next, for the "dpgen run" step, the following `run_param.json` should be provided.
39
-
```
41
+
```json
40
42
{
41
43
"type_map": [
42
44
"Al"
@@ -181,6 +183,188 @@ Next, for the "dpgen run" step, the following `run_param.json` should be provide
181
183
}
182
184
```
183
185
186
+
## autotest
187
+
188
+
This example can be found in examples/dpgen-example/autotest directory.
189
+
190
+
`dpgen autotest` supports to perform `relaxation`,`eos` (equation of state),`elastic`,`surface`,`vacancy`, and `interstitial` calculations with ABACUS. A `property.json` and `machine.json` file need to be provided. For example,
For each property, the command `dpgen autotest make property.json` will generate the input files, `dpgen autotest run property.json machine.json` will run the corresponding tasks, and `dpgen autotest post property.json` will collect the final results.
367
+
184
368
185
369
Notes:
186
370
- The ABACUS-DPGEN interface can be used in both pw and lcao basis.
0 commit comments