-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PhBaseWorkChain
: Add a first draft for the protocols (#810)
Add a first draft for the `PhBaseWorkChain` protocols. These have not been tested rigorously, but can serve as an initial setup that can be easily adapted after using the `get_builder_from_protocol()` method. This is also necessary to allow higher-level work chains to develop protocols.
- Loading branch information
Showing
3 changed files
with
84 additions
and
1 deletion.
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
Empty file.
36 changes: 36 additions & 0 deletions
36
src/aiida_quantumespresso/workflows/protocols/ph/base.yaml
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,36 @@ | ||
default_inputs: | ||
clean_workdir: True | ||
ph: | ||
metadata: | ||
options: | ||
resources: | ||
num_machines: 1 | ||
max_wallclock_seconds: 43200 # Twelve hours | ||
withmpi: True | ||
parameters: | ||
INPUTPH: | ||
tr2_ph: 1.0e-18 | ||
qpoints: | ||
- 3 | ||
- 3 | ||
- 3 | ||
default_protocol: moderate | ||
protocols: | ||
moderate: | ||
description: 'Protocol to perform the computation at normal precision at moderate computational cost.' | ||
precise: | ||
description: 'Protocol to perform the computation at high precision at higher computational cost.' | ||
ph: | ||
parameters: | ||
INPUTPH: | ||
tr2_ph: 1.0e-20 | ||
fast: | ||
description: 'Protocol to perform the computation at low precision at minimal computational cost for testing purposes.' | ||
ph: | ||
parameters: | ||
INPUTPH: | ||
tr2_ph: 1.0e-16 | ||
qpoints: | ||
- 2 | ||
- 2 | ||
- 2 |