Skip to content

Commit

Permalink
Protocols: Update k-point sampling protocols
Browse files Browse the repository at this point in the history
Based on more extensive tests that also involved a broad range of smearings,
a new set of protocols were devised:

| Name       | Smearing (Ry) | k-points distance (1/A) |
|------------|---------------|-------------------------|
| Precision  |        0.0125 |                    0.10 |
| Efficiency |        0.0200 |                    0.15 |
| Fast       |        0.0275 |                    0.30 |

Here we already update the values in the `PwBaseWorkChain` protocol file. In
a future PR it would be nice to set up a system for protocol aliasing, so
we can also change the names without breaking protocol methods downstream.
  • Loading branch information
mbercx committed Dec 15, 2023
1 parent e9ce7a0 commit 414bbe5
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 12 deletions.
8 changes: 6 additions & 2 deletions src/aiida_quantumespresso/workflows/protocols/pw/base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ default_inputs:
nosym: False
occupations: smearing
smearing: cold
degauss: 0.01
degauss: 0.02
ELECTRONS:
electron_maxstep: 80
mixing_beta: 0.4
Expand All @@ -43,13 +43,17 @@ protocols:
parameters:
CONTROL:
forc_conv_thr: 0.5e-4
SYSTEM:
degauss: 0.0125
fast:
description: 'Protocol to perform the computation at low precision at minimal computational cost for testing purposes.'
kpoints_distance: 0.50
kpoints_distance: 0.30
meta_parameters:
conv_thr_per_atom: 0.4e-9
etot_conv_thr_per_atom: 1.e-4
pw:
parameters:
CONTROL:
forc_conv_thr: 1.e-3
SYSTEM:
degauss: 0.0275
6 changes: 3 additions & 3 deletions tests/workflows/protocols/pw/test_bands/test_default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ bands:
mixing_beta: 0.4
startingpot: file
SYSTEM:
degauss: 0.01
degauss: 0.02
ecutrho: 240.0
ecutwfc: 30.0
nosym: false
Expand Down Expand Up @@ -65,7 +65,7 @@ relax:
electron_maxstep: 80
mixing_beta: 0.4
SYSTEM:
degauss: 0.01
degauss: 0.02
ecutrho: 240.0
ecutwfc: 30.0
nosym: false
Expand Down Expand Up @@ -101,7 +101,7 @@ scf:
electron_maxstep: 80
mixing_beta: 0.4
SYSTEM:
degauss: 0.01
degauss: 0.02
ecutrho: 240.0
ecutwfc: 30.0
nosym: false
Expand Down
2 changes: 1 addition & 1 deletion tests/workflows/protocols/pw/test_base/test_default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ pw:
electron_maxstep: 80
mixing_beta: 0.4
SYSTEM:
degauss: 0.01
degauss: 0.02
ecutrho: 240.0
ecutwfc: 30.0
nosym: false
Expand Down
4 changes: 2 additions & 2 deletions tests/workflows/protocols/pw/test_relax/test_default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ base:
electron_maxstep: 80
mixing_beta: 0.4
SYSTEM:
degauss: 0.01
degauss: 0.02
ecutrho: 240.0
ecutwfc: 30.0
nosym: false
Expand Down Expand Up @@ -59,7 +59,7 @@ base_final_scf:
electron_maxstep: 80
mixing_beta: 0.4
SYSTEM:
degauss: 0.01
degauss: 0.02
ecutrho: 240.0
ecutwfc: 30.0
nosym: false
Expand Down
2 changes: 1 addition & 1 deletion tests/workflows/protocols/test_pdos/test_default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ scf:
electron_maxstep: 80
mixing_beta: 0.4
SYSTEM:
degauss: 0.01
degauss: 0.02
ecutrho: 240.0
ecutwfc: 30.0
nosym: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ scf:
electron_maxstep: 80
mixing_beta: 0.4
SYSTEM:
degauss: 0.01
degauss: 0.02
ecutrho: 240.0
ecutwfc: 30.0
nosym: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ core:
electron_maxstep: 80
mixing_beta: 0.4
SYSTEM:
degauss: 0.01
degauss: 0.02
ecutrho: 240.0
ecutwfc: 30.0
nosym: false
Expand Down Expand Up @@ -105,7 +105,7 @@ relax:
electron_maxstep: 80
mixing_beta: 0.4
SYSTEM:
degauss: 0.01
degauss: 0.02
ecutrho: 240.0
ecutwfc: 30.0
nosym: false
Expand Down

0 comments on commit 414bbe5

Please sign in to comment.