Skip to content

Commit 12b6649

Browse files
authored
Merge pull request deepmodeling#86 from Yi-FanLi/mti_p_path
Add an example for mti with p path
2 parents 36ac51b + 19d8563 commit 12b6649

File tree

3 files changed

+60
-4
lines changed

3 files changed

+60
-4
lines changed

dpti/mti.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ def make_tasks(iter_name, jdata):
232232
nsteps,
233233
timestep,
234234
ens,
235-
temp_list[ii],
235+
temp=temp,
236236
pres=pres,
237237
tau_t=tau_t,
238238
thermo_freq=thermo_freq,
@@ -250,7 +250,7 @@ def make_tasks(iter_name, jdata):
250250
nsteps,
251251
timestep,
252252
ens,
253-
temp_list[ii],
253+
temp=temp,
254254
pres=pres,
255255
tau_t=tau_t,
256256
thermo_freq=thermo_freq,
@@ -285,7 +285,7 @@ def make_tasks(iter_name, jdata):
285285
nsteps,
286286
timestep,
287287
ens,
288-
temp_list[ii],
288+
temp=temp,
289289
pres=pres,
290290
tau_t=tau_t,
291291
thermo_freq=thermo_freq,
@@ -303,7 +303,7 @@ def make_tasks(iter_name, jdata):
303303
nsteps,
304304
timestep,
305305
ens,
306-
temp_list[ii],
306+
temp=temp,
307307
pres=pres,
308308
tau_t=tau_t,
309309
thermo_freq=thermo_freq,

examples/mti/mti.p.json

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
{
2+
"equi_conf": "conf.lmp",
3+
"copies": [
4+
1,
5+
1,
6+
1
7+
],
8+
"model": "graph.pb",
9+
"job_type": "mass_ti",
10+
"model_mass_map": [
11+
16,
12+
1
13+
],
14+
"mass_scale_y": [
15+
0.1,
16+
0.2,
17+
0.3,
18+
0.4,
19+
0.6,
20+
1.0
21+
],
22+
"nbead": [
23+
8,
24+
16,
25+
32,
26+
64,
27+
64,
28+
64
29+
],
30+
"nnode": [
31+
1,
32+
1,
33+
1,
34+
1,
35+
1,
36+
1
37+
],
38+
"nsteps": 1000000,
39+
"dt": 0.0005,
40+
"ens": "npt",
41+
"path": "p",
42+
"temp": 300,
43+
"press": [
44+
1.0,
45+
2.0,
46+
3.0,
47+
4.0
48+
],
49+
"tau_t": 0.1,
50+
"tau_p": 0.5,
51+
"stat_freq": 10,
52+
"dump_freq": 10000,
53+
"stat_skip": 10000,
54+
"stat_bsize": 2000,
55+
"_comment": "that's all"
56+
}

0 commit comments

Comments
 (0)