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
DP-GEN (Deep Generator) is a software written in Python, delicately designed to generate a deep learning based model of interatomic potential energy and force field. DP-GEN is depedent on DeepMD-kit(https://github.com/deepmodeling/deepmd-kit/blob/master/README.md). With highly scalable interface with common softwares for molecular simulation, DP-GEN is capable to automatically prepare scripts and maintain job queues on HPC machines (High Performance Cluster) and analyze results.
28
+
DP-GEN (Deep Generator) is a software written in Python, delicately designed to generate a deep learning based model of interatomic potential energy and force field. DP-GEN is dependent on [DeepMD-kit](https://github.com/deepmodeling/deepmd-kit/blob/master/README.md). With highly scalable interface with common softwares for molecular simulation, DP-GEN is capable to automatically prepare scripts and maintain job queues on HPC machines (High Performance Cluster) and analyze results.
29
29
30
30
If you use this software in any publication, please cite:
31
31
@@ -34,7 +34,7 @@ Yuzhi Zhang, Haidi Wang, Weijie Chen, Jinzhe Zeng, Linfeng Zhang, Han Wang, and
34
34
### Highlighted features
35
35
+**Accurate and efficient**: DP-GEN is capable to sample more than tens of million structures and select only a few for first principles calculation. DP-GEN will finally obtain a uniformly accurate model.
36
36
+**User-friendly and automatic**: Users may install and run DP-GEN easily. Once succusefully running, DP-GEN can dispatch and handle all jobs on HPCs, and thus there's no need for any personal effort.
37
-
+**Highly scalable**: With modularized code structures, users and developers can easily extend DP-GEN for their most relevant needs. DP-GEN currently supports for HPC systems (Slurm, PBS, LSF and cloud machines ), Deep Potential interface with DeePMD-kit, MD interface with LAMMPSand *ab-initio* calculation interface with VASP, PWSCF,SIESTA and Gaussian. We're sincerely welcome and embraced to users' contributions, with more possibilities and cases to use DP-GEN.
37
+
+**Highly scalable**: With modularized code structures, users and developers can easily extend DP-GEN for their most relevant needs. DP-GEN currently supports for HPC systems (Slurm, PBS, LSF and cloud machines ), Deep Potential interface with DeePMD-kit, MD interface with [LAMMPS](https://www.lammps.org/), [Gromacs](http://www.gromacs.org/)and *ab-initio* calculation interface with VASP, PWSCF, CP2K, SIESTA and Gaussian, Abacus, PWMAT, etc . We're sincerely welcome and embraced to users' contributions, with more possibilities and cases to use DP-GEN.
38
38
39
39
### Code structure and interface
40
40
+ dpgen:
@@ -43,7 +43,8 @@ Yuzhi Zhang, Haidi Wang, Weijie Chen, Jinzhe Zeng, Linfeng Zhang, Han Wang, and
43
43
* generator: source codes for main process of deep generator.
44
44
45
45
* auto_test : source code for undertaking materials property analysis.
46
-
* remote : source code for automatically submiting scripts,maintaining job queues and collecting results.
46
+
* remote and dispatcher : source code for automatically submiting scripts,maintaining job queues and collecting results.
47
+
Notice this part hase been integrated into [dpdispatcher](https://github.com/deepmodeling/dpdispatcher)
47
48
* database : source code for collecting data generated by DP-GEN and interface with database.
48
49
+ examples : providing example JSON files.
49
50
@@ -63,6 +64,15 @@ Options for TASK:
63
64
*`test`: Auto-test for Deep Potential.
64
65
*`db`: Collecting data from DP-GEN.
65
66
67
+
68
+
[Here](examples) are examples you can refer to. You should make sure that provide a correct [JSON](https://docs.python.org/3/library/json.html) file.
69
+
You can use following command to check your JSON file.
70
+
```python
71
+
import json
72
+
#Specify machine parameters in machine.json
73
+
json.load(open("machine.json"))
74
+
```
75
+
66
76
## Download and Install
67
77
One can download the source code of dpgen by
68
78
```bash
@@ -539,8 +549,14 @@ The bold notation of key (such aas **type_map**) means that it's a necessary key
539
549
| **model_devi_skip** | Integer | 0 | Number of structures skipped for fp in each MD
540
550
| **model_devi_f_trust_lo** | Float | 0.05 | Lower bound of forces for the selection.
541
551
| **model_devi_f_trust_hi** | Float | 0.15 | Upper bound of forces for the selection
542
-
|**model_devi_e_trust_lo**| Float | 1e10 | Lower bound of energies for the selection. Recommend to set them a high number, since forces provide more precise information. Special cases such as energy minimization may need this. |
543
-
|**model_devi_e_trust_hi**| Float | 1e10 | Upper bound of energies for the selection. |
552
+
|**model_devi_v_trust_lo**| Float | 1e10 | Lower bound of virial for the selection. Should be used with DeePMD-kit v2.x |
553
+
|**model_devi_v_trust_hi**| Float | 1e10 | Upper bound of virial for the selection. Should be used with DeePMD-kit v2.x |
554
+
| model_devi_adapt_trust_lo | Boolean | False | Adaptively determines the lower trust levels of force and virial. This option should be used together with `model_devi_numb_candi_f`, `model_devi_numb_candi_v` and optionally with `model_devi_perc_candi_f` and `model_devi_perc_candi_v`. `dpgen` will make two sets: 1. From the frames with force model deviation lower than `model_devi_f_trust_hi`, select `max(model_devi_numb_candi_f, model_devi_perc_candi_f*n_frames)` frames with largest force model deviation. 2. From the frames with virial model deviation lower than `model_devi_v_trust_hi`, select `max(model_devi_numb_candi_v, model_devi_perc_candi_v*n_frames)` frames with largest virial model deviation. The union of the two sets is made as candidate dataset|
555
+
| model_devi_numb_candi_f | Int | 10 | See `model_devi_adapt_trust_lo`.|
556
+
| model_devi_numb_candi_v | Int | 0 | See `model_devi_adapt_trust_lo`.|
557
+
| model_devi_perc_candi_f | Float | 0.0 | See `model_devi_adapt_trust_lo`.|
558
+
| model_devi_perc_candi_v | Float | 0.0 | See `model_devi_adapt_trust_lo`.|
559
+
| model_devi_f_avg_relative | Boolean | False | Normalized the force model deviations by the RMS force magnitude along the trajectory. This key should not be used with `use_relative`. |
544
560
|**model_devi_clean_traj**| Boolean | true | Deciding whether to clean traj folders in MD since they are too large. |
545
561
|**model_devi_nopbc**| Boolean | False | Assume open boundary condition in MD simulations. |
546
562
| model_devi_activation_func | List of list of string |[["tanh","tanh"],["tanh","gelu"],["gelu","tanh"],["gelu","gelu"]]| Set activation functions for models, length of the List should be the same as `numb_models`, and two elements in the list of string respectively assign activation functions to the embedding and fitting nets within each model. *Backward compatibility*: the orginal "List of String" format is still supported, where embedding and fitting nets of one model use the same activation function, and the length of the List should be the same as `numb_models`|
@@ -1322,7 +1338,9 @@ mem_limit | Interger | 16 | Maximal memory permitted to apply for the job.
1322
1338
| # End of resources
1323
1339
| command | String | "lmp_serial" | Executable path of software, such as `lmp_serial`, `lmp_mpi` and `vasp_gpu`, `vasp_std`, etc.
1324
1340
| group_size | Integer | 5 | DP-GEN will put these jobs together in one submitting script.
1325
-
1341
+
| user_forward_files | List of str | ["/path_to/vdw_kernel.bindat"] | These files will be uploaded in each calculation task. You should make sure provide the path exists.
1342
+
| user_backward_files | List of str | ["HILLS"] | Besides DP-GEN's normal output, these files will be downloaded after each calculation. You should make sure these files can be generated.
1343
+
1326
1344
## Troubleshooting
1327
1345
1. The most common problem is whether two settings correspond with each other, including:
1328
1346
- The order of elements in `type_map` and `mass_map` and **`fp_pp_files`**.
0 commit comments