Skip to content

Commit 404ac16

Browse files
committed
Updated abacus protocols
Added LCAO protocols
1 parent 12aac5e commit 404ac16

File tree

2 files changed

+75
-3
lines changed

2 files changed

+75
-3
lines changed

src/aiida_common_workflows/workflows/relax/abacus/generator.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ def define(cls, spec):
4545
The ports defined on the specification are the inputs that will be accepted by the ``get_builder`` method.
4646
"""
4747
super().define(spec)
48-
spec.inputs['protocol'].valid_type = ChoiceType(('fast', 'moderate', 'precise', 'verification-PBE-v1'))
48+
#spec.inputs['protocol'].valid_type = ChoiceType(('fast', 'moderate', 'precise', 'verification-PBE-v1'))
49+
spec.inputs['protocol'].valid_type = ChoiceType(('fast', 'moderate', 'precise', 'verification-PBE-v1',
50+
'verification-PBE-v1-lcao-dzp', 'verification-PBE-v1-lcao-tzdp'))
4951
spec.inputs['spin_type'].valid_type = ChoiceType((SpinType.NONE, SpinType.COLLINEAR))
5052
spec.inputs['relax_type'].valid_type = ChoiceType(tuple(RelaxType))
5153
spec.inputs['electronic_type'].valid_type = ChoiceType((ElectronicType.METAL, ElectronicType.INSULATOR))

src/aiida_common_workflows/workflows/relax/abacus/protocol.yml

Lines changed: 72 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ verification-PBE-v1:
1212
force_thr: 0.5e-4
1313
smearing_method: &smearing_method fd
1414
smearing_sigma: &smearing_sigma 0.0045
15-
kpar: 4
15+
kpar: 8
16+
pseudo_rcut: &pseudo_rcut 6.0
1617
base_final_scf:
1718
pseudo_family: *pseudo_family
1819
kpoints_distance: *kpoints_distance
@@ -23,4 +24,73 @@ verification-PBE-v1:
2324
input:
2425
smearing_method: *smearing_method
2526
smearing_sigma: *smearing_sigma
26-
kpar: 4
27+
pseudo_rcut: *pseudo_rcut
28+
kpar: 8
29+
30+
31+
verification-PBE-v1-lcao-dzp:
32+
description: Main protocol for the ACWF verification study using lcao mode
33+
base:
34+
pseudo_family: Dojo-NC-SR/dzp # DZP orbital with default rcut
35+
kpoints_distance: 0.06
36+
meta_parameters:
37+
conv_thr_per_atom: 0.1e-9
38+
etot_conv_thr_per_atom: 0.5e-5
39+
abacus:
40+
parameters:
41+
input:
42+
force_thr: 0.5e-4
43+
smearing_method: *smearing_method
44+
smearing_sigma: *smearing_sigma
45+
kpar: 8
46+
basis_type: lcao
47+
pseudo_rcut: *pseudo_rcut
48+
ks_solver: genelpa
49+
base_final_scf:
50+
pseudo_family: Dojo-NC-SR/dzp
51+
kpoints_distance: *kpoints_distance
52+
meta_parameters:
53+
conv_thr_per_atom: *conv_thr_per_atom
54+
input:
55+
parameters:
56+
input:
57+
smearing_method: *smearing_method
58+
smearing_sigma: *smearing_sigma
59+
kpar: 8
60+
basis_type: lcao
61+
pseudo_rcut: *pseudo_rcut
62+
ks_solver: genelpa
63+
64+
65+
verification-PBE-v1-lcao-tzdp:
66+
description: Main protocol for the ACWF verification study using lcao mode
67+
base:
68+
pseudo_family: Dojo-NC-SR/tzdp # tzdp orbital with default rcut
69+
kpoints_distance: 0.06
70+
meta_parameters:
71+
conv_thr_per_atom: 0.1e-9
72+
etot_conv_thr_per_atom: 0.5e-5
73+
abacus:
74+
parameters:
75+
input:
76+
force_thr: 0.5e-4
77+
smearing_method: *smearing_method
78+
smearing_sigma: *smearing_sigma
79+
kpar: 8
80+
basis_type: lcao
81+
pseudo_rcut: *pseudo_rcut
82+
ks_solver: genelpa
83+
base_final_scf:
84+
pseudo_family: Dojo-NC-SR/tzdp
85+
kpoints_distance: *kpoints_distance
86+
meta_parameters:
87+
conv_thr_per_atom: *conv_thr_per_atom
88+
input:
89+
parameters:
90+
input:
91+
smearing_method: *smearing_method
92+
smearing_sigma: *smearing_sigma
93+
kpar: 8
94+
basis_type: lcao
95+
pseudo_rcut: *pseudo_rcut
96+
ks_solver: genelpa

0 commit comments

Comments
 (0)