File tree 12 files changed +17
-0
lines changed
src/aiida_quantumespresso/workflows
tests/workflows/protocols
12 files changed +17
-0
lines changed Original file line number Diff line number Diff line change 1
1
default_inputs :
2
2
clean_workdir : False
3
+ max_iterations : 5
3
4
ph :
4
5
metadata :
5
6
options :
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ default_inputs:
2
2
clean_workdir : False
3
3
kpoints_distance : 0.15
4
4
kpoints_force_parity : False
5
+ max_iterations : 5
5
6
meta_parameters :
6
7
conv_thr_per_atom : 0.2e-9
7
8
etot_conv_thr_per_atom : 1.e-5
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ default_inputs:
2
2
clean_workdir : False
3
3
kpoints_distance : 0.15
4
4
kpoints_force_parity : False
5
+ max_iterations : 5
5
6
xspectra :
6
7
parameters :
7
8
INPUT_XSPECTRA :
Original file line number Diff line number Diff line change @@ -227,6 +227,7 @@ def get_builder_from_protocol(
227
227
else :
228
228
builder .kpoints_distance = orm .Float (inputs ['kpoints_distance' ])
229
229
builder .kpoints_force_parity = orm .Bool (inputs ['kpoints_force_parity' ])
230
+ builder .max_iterations = orm .Int (inputs ['max_iterations' ])
230
231
# pylint: enable=no-member
231
232
232
233
return builder
Original file line number Diff line number Diff line change @@ -137,6 +137,7 @@ def get_builder_from_protocol(
137
137
if 'settings' in inputs ['xspectra' ]:
138
138
builder .xspectra ['settings' ] = orm .Dict (inputs ['xspectra' ]['settings' ])
139
139
builder .clean_workdir = orm .Bool (inputs ['clean_workdir' ])
140
+ builder .max_iterations = orm .Int (inputs ['max_iterations' ])
140
141
# pylint: enable=no-member
141
142
142
143
return builder
Original file line number Diff line number Diff line change 1
1
bands :
2
+ max_iterations : 5
2
3
pw :
3
4
code : test.quantumespresso.pw@localhost
4
5
metadata :
39
40
base :
40
41
kpoints_distance : 0.15
41
42
kpoints_force_parity : false
43
+ max_iterations : 5
42
44
pw :
43
45
code : test.quantumespresso.pw@localhost
44
46
metadata :
77
79
scf :
78
80
kpoints_distance : 0.15
79
81
kpoints_force_parity : false
82
+ max_iterations : 5
80
83
pw :
81
84
code : test.quantumespresso.pw@localhost
82
85
metadata :
Original file line number Diff line number Diff line change 1
1
clean_workdir : false
2
2
kpoints_distance : 0.15
3
3
kpoints_force_parity : false
4
+ max_iterations : 5
4
5
pw :
5
6
code : test.quantumespresso.pw@localhost
6
7
metadata :
Original file line number Diff line number Diff line change 1
1
base :
2
2
kpoints_distance : 0.15
3
3
kpoints_force_parity : false
4
+ max_iterations : 5
4
5
pw :
5
6
code : test.quantumespresso.pw@localhost
6
7
metadata :
36
37
base_final_scf :
37
38
kpoints_distance : 0.15
38
39
kpoints_force_parity : false
40
+ max_iterations : 5
39
41
pw :
40
42
code : test.quantumespresso.pw@localhost
41
43
metadata :
Original file line number Diff line number Diff line change 13
13
nscf :
14
14
kpoints_distance : 0.1
15
15
kpoints_force_parity : false
16
+ max_iterations : 5
16
17
pw :
17
18
code : test.quantumespresso.pw@localhost
18
19
metadata :
@@ -55,6 +56,7 @@ projwfc:
55
56
scf :
56
57
kpoints_distance : 0.15
57
58
kpoints_force_parity : false
59
+ max_iterations : 5
58
60
pw :
59
61
code : test.quantumespresso.pw@localhost
60
62
metadata :
Original file line number Diff line number Diff line change 6
6
- - 0.0
7
7
- 0.0
8
8
- 0.0
9
+ max_iterations : 5
9
10
xspectra :
10
11
code : test.quantumespresso.xspectra@localhost
11
12
core_wfc_data : ' # number of core states 3 = 1 0; 2 0;
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ get_powder_spectrum: false
19
19
scf :
20
20
kpoints_distance : 0.15
21
21
kpoints_force_parity : false
22
+ max_iterations : 5
22
23
pw :
23
24
code : test.quantumespresso.pw@localhost
24
25
metadata :
Original file line number Diff line number Diff line change 7
7
clean_workdir : false
8
8
kpoints_distance : 0.15
9
9
kpoints_force_parity : false
10
+ max_iterations : 5
10
11
pw :
11
12
code : test.quantumespresso.pw@localhost
12
13
metadata :
79
80
base :
80
81
kpoints_distance : 0.15
81
82
kpoints_force_parity : false
83
+ max_iterations : 5
82
84
pw :
83
85
code : test.quantumespresso.pw@localhost
84
86
metadata :
You can’t perform that action at this time.
0 commit comments