-
Notifications
You must be signed in to change notification settings - Fork 176
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…961) The added unittest is to check that the process of extracting the configuration from model_devi.out to generate the first principles calculation task is correct. When issue #957 exists: ![j2vzixdu0g](https://user-images.githubusercontent.com/100290172/191417680-c3a20e89-e704-4dd9-aefd-5a05ae8c7406.jpg) When issue #957 is solved: ![uzvvdHkD29](https://user-images.githubusercontent.com/100290172/191417640-24f7bf6a-0d3d-4e29-bd9c-2e4f34e764d7.jpg)
- Loading branch information
1 parent
8f34e78
commit 572fbfd
Showing
10 changed files
with
236 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
f0c56f70-627b-445a-89de-3ad3e81f3785 | ||
140c75e5-993c-4644-b877-cd3ceb2b254a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
5dc17ca2-0d58-4968-af22-41536e667668 | ||
dfea7618-49df-42ac-b723-f7c04e349203 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
814f28b0-38bd-493a-b400-d678c3fe1a0e | ||
99cee2e2-0de4-43ba-a296-805f4e551ace |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
d3c9fb33-4ffd-48c2-86bb-933fbe7fd512 | ||
0d7eaf5f-0a04-492a-b9ae-c7d77781c928 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
8a4f3e52-3ace-45c5-8bd1-1bbbb4d9abd0 | ||
b96519be-c495-4150-b634-39b61b54ffd9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
b8389a9b-bc75-4498-94bf-c565a4e387b6 | ||
00bc5947-dfb6-47e4-909e-3c647b551c82 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
{ | ||
"type_map": ["Mg", "Al"], | ||
"mass_map": [24, 27], | ||
|
||
"init_data_prefix": "data", | ||
"init_data_sys": ["deepmd" | ||
], | ||
"init_batch_size": [16], | ||
"sys_configs": [ | ||
["data/mg.fcc.02x02x02/01.scale_pert/sys-0032/scale*/000000/POSCAR"], | ||
["data/mg.fcc.02x02x02/01.scale_pert/sys-0032/scale*/000001/POSCAR"] | ||
], | ||
"_comment": "0 1 2 3", | ||
"_comment": "4 5 6 7", | ||
"sys_batch_size": [1, 1 | ||
], | ||
|
||
"_comment": " 00.train ", | ||
"numb_models": 4, | ||
"default_training_param" : { | ||
"_comment": " model parameters", | ||
"use_smooth": true, | ||
"sel_a": [90], | ||
"rcut_smth": 2.00, | ||
"rcut": 6.00, | ||
"filter_neuron": [25, 50, 100], | ||
"filter_resnet_dt": false, | ||
"n_axis_neuron": 12, | ||
"n_neuron": [240, 240, 240], | ||
"resnet_dt": true, | ||
"coord_norm": true, | ||
"type_fitting_net": false, | ||
|
||
"_comment": " traing controls", | ||
"systems": [], | ||
"set_prefix": "set", | ||
"stop_batch": 400000, | ||
"batch_size": 1, | ||
"start_lr": 0.002, | ||
"decay_steps": 2000, | ||
"decay_rate": 0.95, | ||
"seed": 0, | ||
|
||
"start_pref_e": 0.02, | ||
"limit_pref_e": 2, | ||
"start_pref_f": 1000, | ||
"limit_pref_f": 1, | ||
"start_pref_v": 0.0, | ||
"limit_pref_v": 0.0, | ||
|
||
"_comment": " display and restart", | ||
"_comment": " frequencies counted in batch", | ||
"disp_file": "lcurve.out", | ||
"disp_freq": 2000, | ||
"numb_test": 10, | ||
"save_freq": 20000, | ||
"save_ckpt": "model.ckpt", | ||
"load_ckpt": "model.ckpt", | ||
"disp_training": true, | ||
"time_training": true, | ||
"profiling": false, | ||
"profiling_file": "timeline.json", | ||
|
||
"_comment": "that's all" | ||
}, | ||
|
||
"_comment": " 01.model_devi ", | ||
"_comment": "model_devi_skip: the first x of the recorded frames", | ||
"model_devi_dt": 0.002, | ||
"model_devi_skip": 0, | ||
"model_devi_f_trust_lo": 0.050, | ||
"model_devi_f_trust_hi": 0.150, | ||
"model_devi_merge_traj": true, | ||
"model_devi_jobs": [ | ||
{"sys_idx": [0,1], "temps": [50,100], "press": [1.0,2.0], "trj_freq": 10, "nsteps": 1000, "ensemble": "npt", "_idx": "00"} | ||
], | ||
|
||
"_comment": " 02.fp ", | ||
"fp_style": "vasp", | ||
"shuffle_poscar": false, | ||
"fp_task_max": 100, | ||
"fp_task_min": 10, | ||
"fp_pp_path": ".", | ||
"fp_pp_files": ["vasp/potcars/POTCAR.mg", "vasp/potcars/POTCAR.al"], | ||
"_comment": " user provided vasp script ", | ||
"user_fp_params": { | ||
"PREC": "A", | ||
"ENCUT": 600, | ||
"ISYM": 0, | ||
"ALGO": "fast", | ||
"EDIFF": 1e-05, | ||
"LREAL": "A", | ||
"NPAR": 1, | ||
"KPAR": 1, | ||
"NELMIN": 4, | ||
"ISIF": 2, | ||
"ISMEAR": 1, | ||
"SIGMA": 0.25, | ||
"IBRION": -1, | ||
"NSW": 0, | ||
"LWAVE": false, | ||
"LCHARG": false, | ||
"PSTRESS": 0, | ||
"KSPACING": 0.16, | ||
"KGAMMA": false | ||
}, | ||
"_comment": " that's all " | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters