forked from aiidalab/aiidalab-qe
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
regression test for the parameters generated by the app
The previous test used the final builder generated by the workchain, which is like an end-to-end test. However, the builder depends on the version of the aiida-quantumespresso, which we want to avoid for the moment. In this PR, we only test the ui_parameters generated by the app. This ui_parameter is the most important parameter, and it contains all the information on the jobs. We can use it to recreate the whole qeapp instance. The test here guarantees that the ui_parameters are the same as the reference data.
- Loading branch information
1 parent
ed72b08
commit 5cf030f
Showing
2 changed files
with
71 additions
and
178 deletions.
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
204 changes: 33 additions & 171 deletions
204
tests/test_submit_qe_workchain/test_create_builder_default.yml
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 |
---|---|---|
@@ -1,173 +1,35 @@ | ||
advanced: | ||
clean_workdir: false | ||
initial_magnetic_moments: null | ||
kpoints_distance: 0.12 | ||
pseudo_family: SSSP/1.3/PBEsol/efficiency | ||
pw: | ||
parameters: | ||
SYSTEM: | ||
degauss: 0.015 | ||
ecutrho: 240.0 | ||
ecutwfc: 30.0 | ||
smearing: methfessel-paxton | ||
tot_charge: 0.0 | ||
vdw_corr: none | ||
pseudos: {} | ||
bands: | ||
bands: | ||
pw: | ||
parallelization: | ||
npool: 1 | ||
parameters: | ||
CONTROL: | ||
calculation: bands | ||
etot_conv_thr: 2.0e-05 | ||
forc_conv_thr: 0.0001 | ||
restart_mode: from_scratch | ||
tprnfor: true | ||
tstress: true | ||
ELECTRONS: | ||
conv_thr: 4.0e-10 | ||
diago_full_acc: true | ||
diagonalization: paro | ||
electron_maxstep: 80 | ||
mixing_beta: 0.4 | ||
startingpot: file | ||
SYSTEM: | ||
degauss: 0.01 | ||
ecutrho: 240.0 | ||
ecutwfc: 30.0 | ||
nosym: false | ||
occupations: smearing | ||
smearing: cold | ||
tot_charge: 0.0 | ||
vdw_corr: none | ||
pseudos: | ||
Si: Si.upf | ||
bands_kpoints_distance: 0.025 | ||
nbands_factor: 3.0 | ||
scf: | ||
kpoints_distance: 0.12 | ||
kpoints_force_parity: false | ||
pw: | ||
parallelization: | ||
npool: 1 | ||
parameters: | ||
CONTROL: | ||
calculation: scf | ||
etot_conv_thr: 2.0e-05 | ||
forc_conv_thr: 0.0001 | ||
tprnfor: true | ||
tstress: true | ||
ELECTRONS: | ||
conv_thr: 4.0e-10 | ||
electron_maxstep: 80 | ||
mixing_beta: 0.4 | ||
SYSTEM: | ||
degauss: 0.015 | ||
ecutrho: 240.0 | ||
ecutwfc: 30.0 | ||
nosym: false | ||
occupations: smearing | ||
smearing: methfessel-paxton | ||
tot_charge: 0.0 | ||
vdw_corr: none | ||
pseudos: | ||
Si: Si.upf | ||
clean_workdir: false | ||
kpath_2d: hexagonal | ||
codes: | ||
phonopy: null | ||
xspectra: null | ||
pdos: | ||
dos: | ||
parameters: | ||
DOS: | ||
DeltaE: 0.02 | ||
nscf: | ||
kpoints_distance: 0.1 | ||
kpoints_force_parity: false | ||
pw: | ||
parallelization: | ||
npool: 1 | ||
parameters: | ||
CONTROL: | ||
calculation: nscf | ||
etot_conv_thr: 2.0e-05 | ||
forc_conv_thr: 0.0001 | ||
restart_mode: from_scratch | ||
tprnfor: true | ||
tstress: true | ||
ELECTRONS: | ||
conv_thr: 4.0e-10 | ||
electron_maxstep: 80 | ||
mixing_beta: 0.4 | ||
SYSTEM: | ||
ecutrho: 240.0 | ||
ecutwfc: 30.0 | ||
nosym: true | ||
occupations: tetrahedra | ||
tot_charge: 0.0 | ||
vdw_corr: none | ||
pseudos: | ||
Si: Si.upf | ||
projwfc: | ||
parameters: | ||
PROJWFC: | ||
DeltaE: 0.02 | ||
settings: | ||
cmdline: | ||
- -nk | ||
- '1' | ||
scf: | ||
kpoints_distance: 0.12 | ||
kpoints_force_parity: false | ||
pw: | ||
parallelization: | ||
npool: 1 | ||
parameters: | ||
CONTROL: | ||
calculation: scf | ||
etot_conv_thr: 2.0e-05 | ||
forc_conv_thr: 0.0001 | ||
restart_mode: from_scratch | ||
tprnfor: true | ||
tstress: true | ||
ELECTRONS: | ||
conv_thr: 4.0e-10 | ||
electron_maxstep: 80 | ||
mixing_beta: 0.4 | ||
SYSTEM: | ||
degauss: 0.015 | ||
ecutrho: 240.0 | ||
ecutwfc: 30.0 | ||
nosym: false | ||
occupations: smearing | ||
smearing: methfessel-paxton | ||
tot_charge: 0.0 | ||
vdw_corr: none | ||
pseudos: | ||
Si: Si.upf | ||
properties: | ||
- bands | ||
- pdos | ||
- relax | ||
relax: | ||
base: | ||
kpoints_distance: 0.12 | ||
kpoints_force_parity: false | ||
pw: | ||
parallelization: | ||
npool: 1 | ||
parameters: | ||
CELL: | ||
cell_dofree: all | ||
press_conv_thr: 0.5 | ||
CONTROL: | ||
calculation: vc-relax | ||
etot_conv_thr: 2.0e-05 | ||
forc_conv_thr: 0.0001 | ||
tprnfor: true | ||
tstress: true | ||
ELECTRONS: | ||
conv_thr: 4.0e-10 | ||
electron_maxstep: 80 | ||
mixing_beta: 0.4 | ||
SYSTEM: | ||
degauss: 0.015 | ||
ecutrho: 240.0 | ||
ecutwfc: 30.0 | ||
nosym: false | ||
occupations: smearing | ||
smearing: methfessel-paxton | ||
tot_charge: 0.0 | ||
vdw_corr: none | ||
pseudos: | ||
Si: Si.upf | ||
base_final_scf: | ||
pw: | ||
pseudos: {} | ||
max_meta_convergence_iterations: 5 | ||
meta_convergence: true | ||
volume_convergence: 0.02 | ||
nscf_kpoints_distance: 0.1 | ||
resources: | ||
npools: 1 | ||
num_machines: 1 | ||
num_mpiprocs_per_machine: 2 | ||
workchain: | ||
electronic_type: metal | ||
properties: | ||
- bands | ||
- pdos | ||
- relax | ||
protocol: moderate | ||
relax_type: positions_cell | ||
spin_type: none |