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: doc/autotest/Auto-test.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ If, for some reasons, the main program terminated at stage `run`, one can easily
15
15
`relax.json` is the parameter file. An example for `deepmd` relaxation is given as:
16
16
```json
17
17
{
18
-
"structures": "confs/mp-*",
18
+
"structures": ["confs/mp-*"],
19
19
"interaction": {
20
20
"type": "deepmd",
21
21
"model": "frozen_model.pb",
@@ -30,8 +30,8 @@ where the key `structures` provides the structures to relax. `interaction` is pr
30
30
### Task type
31
31
There are now six task types implemented in the package: `vasp`, `abacus`, `deepmd`, `meam`, `eam_fs`, and `eam_alloy`. An `inter.json` file in json format containing the interaction parameters will be written in the directory of each task after `make`. We give input examples of the `interaction` part for each type below:
32
32
33
-
**VASP**:
34
-
33
+
**VASP**:
34
+
35
35
The default of `potcar_prefix` is "".
36
36
```json
37
37
"interaction": {
@@ -41,8 +41,8 @@ The default of `potcar_prefix` is "".
41
41
"potcars": {"Al": "POTCAR.al", "Mg": "POTCAR.mg"}
42
42
}
43
43
```
44
-
**ABACUS**:
45
-
44
+
**ABACUS**:
45
+
46
46
The default of `potcar_prefix` is "". The path of potcars/orb_files/deepks_desc is `potcar_prefix` + `potcars`/`orb_files`/`deepks_desc`.
47
47
```json
48
48
"interaction": {
@@ -62,7 +62,7 @@ The default of `potcar_prefix` is "". The path of potcars/orb_files/deepks_desc
62
62
```json
63
63
"interaction": {
64
64
"type": "deepmd",
65
-
"model": "frozen_model.pb",
65
+
"model": "frozen_model.pb",
66
66
"type_map": {"Al": 0, "Mg": 1}
67
67
}
68
68
```
@@ -81,8 +81,8 @@ Please make sure the [USER-MEAMC package](https://lammps.sandia.gov/doc/Packages
81
81
Please make sure the [MANYBODY package](https://lammps.sandia.gov/doc/Packages_details.html#pkg-manybody) has already been installed in LAMMPS
82
82
```json
83
83
"interaction": {
84
-
"type": "eam_fs (eam_alloy)",
85
-
"model": "AlMg.eam.fs (AlMg.eam.alloy)",
84
+
"type": "eam_fs (eam_alloy)",
85
+
"model": "AlMg.eam.fs (AlMg.eam.alloy)",
86
86
"type_map": {"Al": 1, "Mg": 2}
87
87
}
88
88
```
@@ -96,9 +96,9 @@ Now the supported property types are `eos`, `elastic`, `vacancy`, `interstitial`
96
96
There are three operations in auto test package, namely `make`, `run`, and `post`. Here we take `eos` property as an example for property type.
97
97
98
98
### Make
99
-
The `INCAR`, `POSCAR`, `POTCAR` input files for VASP or `in.lammps`, `conf.lmp`, and the interatomic potential files for LAMMPS will be generated in the directory `confs/mp-*/relaxation/relax_task` for relaxation or `confs/mp-*/eos_00/task.[0-9]*[0-9]` for EOS. The `machine.json` file is not needed for `make`. Example:
99
+
The `INCAR`, `POSCAR`, `POTCAR` input files for VASP or `in.lammps`, `conf.lmp`, and the interatomic potential files for LAMMPS will be generated in the directory `confs/mp-*/relaxation/relax_task` for relaxation or `confs/mp-*/eos_00/task.[0-9]*[0-9]` for EOS. The `machine.json` file is not needed for `make`. Example:
100
100
```bash
101
-
dpgen autotest make relaxation.json
101
+
dpgen autotest make relaxation.json
102
102
```
103
103
104
104
### Run
@@ -110,5 +110,5 @@ dpgen autotest run relaxation.json machine.json
110
110
### Post
111
111
The post process of calculation results would be performed. `result.json` in json format will be generated in `confs/mp-*/relaxation/relax_task` for relaxation and `result.json` in json format and `result.out` in txt format in `confs/mp-*/eos_00` for EOS. The `machine.json` file is also not needed for `post`. Example:
0 commit comments