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
dpgen is a convenient script that uses DeepGenerator to prepare initial data,
86
97
drive DeepMDkit and analyze results. This script works based on several sub-
87
98
commands with their own options. To see the options for the sub-commands, type
88
99
"dpgen sub-command -h".
89
100
90
101
positional arguments:
91
-
{init_surf,init_bulk,run,test,db}
102
+
{init_surf,init_bulk,run,run/report,test,db}
92
103
init_surf Generating initial data for surface systems.
93
104
init_bulk Generating initial data for bulk systems.
94
-
run Main process of Deep Generator.
105
+
run Main process of Deep Potential Generator.
106
+
run/report Report the systems and the thermodynamic conditions of
107
+
the labeled frames.
95
108
test Auto-test for Deep Potential.
96
-
db Collecting data from DP-GEN.
97
-
109
+
db Collecting data from Deep Generator.
98
110
99
111
optional arguments:
100
112
-h, --help show this help message and exit
113
+
101
114
```
102
115
103
116
@@ -108,8 +121,10 @@ optional arguments:
108
121
You may prepare initial data for bulk systems with VASP by:
109
122
110
123
```bash
111
-
dpgen init_bulk PARAM MACHINE
124
+
dpgen init_bulk PARAM [MACHINE]
112
125
```
126
+
The MACHINE configure file is optional. If this parameter exists, then the optimization
127
+
tasks or MD tasks will be submitted automatically according to MACHINE.json.
113
128
114
129
Basically `init_bulk` can be devided into four parts , denoted as `stages` in `PARAM`:
115
130
1. Relax in folder `00.place_ele`
@@ -119,6 +134,8 @@ Basically `init_bulk` can be devided into four parts , denoted as `stages` in `P
119
134
120
135
All stages must be **in order**. One doesn't need to run all stages. For example, you may run stage 1 and 2, generating supercells as starting point of exploration in `dpgen run`.
121
136
137
+
If MACHINE is None, there should be only one stage in stages. Corresponding tasks will be generated, but user's intervention should be involved in, to manunally run the scripts.
138
+
122
139
Following is an example for `PARAM`, which generates data from a typical structure hcp.
123
140
```json
124
141
{
@@ -176,8 +193,10 @@ The bold notation of key (such as **Elements**) means that it's a necessary key.
176
193
You may prepare initial data for surface systems with VASP by:
177
194
178
195
```bash
179
-
dpgen init_surf PARAM MACHINE
196
+
dpgen init_surf PARAM [MACHINE]
180
197
```
198
+
The MACHINE configure file is optional. If this parameter exists, then the optimization
199
+
tasks or MD tasks will be submitted automatically according to MACHINE.json.
181
200
182
201
Basically `init_surf` can be devided into two parts , denoted as `stages` in `PARAM`:
183
202
1. Build specific surface in folder `00.place_ele`
@@ -199,7 +218,7 @@ Following is an example for `PARAM`, which generates data from a typical structu
199
218
2,
200
219
2
201
220
],
202
-
"z_min": 9,
221
+
"layer_numb": 3,
203
222
"vacuum_max": 9,
204
223
"vacuum_resol": [
205
224
0.5,
@@ -251,7 +270,7 @@ The bold notation of key (such as **Elements**) means that it's a necessary key.
251
270
| **Elements** | List of String | ["Mg"] | Atom types
252
271
| **cell_type** | String | "hcp" | Specifying which typical structure to be generated. **Options** include fcc, hcp, bcc, sc, diamond.
253
272
| **latt** | Float | 4.479 | Lattice constant for single cell.
| **vacuum_resol** | List of float | [0.5, 1 ] | Interval of thichness of vacuum. If size of `vacuum_resol` is 1, the interval is fixed to its value. If size of `vacuum_resol` is 2, the interval is `vacuum_resol[0]` before `mid_point`, otherwise `vacuum_resol[1]` after `mid_point`.
257
276
| **millers** | List of list of Integer | [[1,0,0]] | Miller indices.
@@ -431,6 +450,7 @@ The bold notation of key (such aas **type_map**) means that it's a necessary key
431
450
| *#Basics*
432
451
| **type_map** | List of string | ["H", "C"] | Atom types
433
452
| **mass_map** | List of float | [1, 12] | Standard atom weights.
453
+
| **use_ele_temp** | int | 0 | Currently only support fp_style vasp. 0(default): no electron temperature. 1: eletron temperature as frame parameter. 2: electron temperature as atom parameter.
434
454
| *#Data*
435
455
| init_data_prefix | String | "/sharedext4/.../data/" | Prefix of initial data directories
436
456
| ***init_data_sys*** | List of string|["CH4.POSCAR.01x01x01/.../deepmd"] |Directories of initial data. You may use either absolute or relative path here.
0 commit comments