-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bdd7ce3
commit cbee896
Showing
13 changed files
with
255 additions
and
215 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
Binary file not shown.
Binary file modified
BIN
+14.6 KB
(130%)
docs/source/user_guide/get_started/scdm/include/images/CsH.dot.pdf
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+83 KB
docs/source/user_guide/get_started/scdm/include/images/CsH_diff_bands_fast.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+75.7 KB
docs/source/user_guide/get_started/scdm/include/images/CsH_diff_bands_moderate.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+4.4 KB
(110%)
docs/source/user_guide/get_started/scdm/include/images/CsH_proj.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
49 changes: 49 additions & 0 deletions
49
docs/source/user_guide/get_started/scdm/include/snippets/launch_pwbands.py
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,49 @@ | ||
#!/usr/bin/env runaiida | ||
import os | ||
import sys | ||
|
||
from ase.io import read as aseread | ||
|
||
from aiida import orm | ||
from aiida.engine import submit | ||
|
||
from aiida_quantumespresso.workflows.pw.bands import PwBandsWorkChain | ||
|
||
# Code labels for `pw.x` | ||
# Change these according to your aiida setup. | ||
code = "qe-pw-6.8@localhost" | ||
|
||
# Filename of a structure. | ||
# filename = "GaAs.xsf" | ||
if len(sys.argv) != 2: | ||
print(f"Please pass a filename for a structure as the argument.") | ||
sys.exit(1) | ||
filename = sys.argv[1] | ||
if not os.path.exists(filename): | ||
print(f"{filename} not existed!") | ||
sys.exit(1) | ||
|
||
# Read a structure file and store as an `orm.StructureData`. | ||
structure = orm.StructureData(ase=aseread(filename)) | ||
structure.store() | ||
print(f"Read and stored structure {structure.get_formula()}<{structure.pk}>") | ||
|
||
# Prepare the builder to launch the workchain. | ||
# We use fast protocol to converge faster. | ||
builder = PwBandsWorkChain.get_builder_from_protocol( | ||
code, | ||
structure, | ||
protocol="fast", | ||
) | ||
builder.pop("relax", None) | ||
|
||
# Submit the workchain. | ||
workchain = submit(builder) | ||
print(f"Submitted {workchain.process_label}<{workchain.pk}>") | ||
|
||
print( | ||
"Run any of these commands to check the progress:\n" | ||
f"verdi process report {workchain.pk}\n" | ||
f"verdi process show {workchain.pk}\n" | ||
"verdi process list\n" | ||
) |
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
108 changes: 0 additions & 108 deletions
108
docs/source/user_guide/get_started/scdm/include/snippets/plot_projectabilities.py
This file was deleted.
Oops, something went wrong.
59 changes: 27 additions & 32 deletions
59
docs/source/user_guide/get_started/scdm/include/snippets/workchain_report.txt
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,32 +1,27 @@ | ||
2020-03-19 07:58:27 [88 | REPORT]: [495|Wannier90BandsWorkChain|setup_protocol]: running the workchain with the "testing" protocol | ||
2020-03-19 07:58:27 [89 | REPORT]: [495|Wannier90BandsWorkChain|setup]: workchain controls found in inputs: valence + conduction bands | ||
2020-03-19 07:58:27 [90 | REPORT]: [495|Wannier90BandsWorkChain|run_seekpath]: running seekpath to get primitive structure for: CsH | ||
2020-03-19 07:58:28 [91 | REPORT]: [495|Wannier90BandsWorkChain|setup_parameters]: number of machines 1 auto-set according to number of atoms | ||
2020-03-19 07:58:30 [92 | REPORT]: [495|Wannier90BandsWorkChain|run_wannier_workchain]: launching Wannier90WorkChain<514> | ||
2020-03-19 07:58:31 [93 | REPORT]: [514|Wannier90WorkChain|run_scf]: scf step - launching PwBaseWorkChain<517> in scf mode | ||
2020-03-19 07:58:33 [94 | REPORT]: [517|PwBaseWorkChain|run_calculation]: launching PwCalculation<523> iteration #1 | ||
2020-03-19 07:58:46 [95 | REPORT]: [517|PwBaseWorkChain|inspect_calculation]: PwCalculation<523> completed successfully | ||
2020-03-19 07:58:46 [96 | REPORT]: [517|PwBaseWorkChain|results]: work chain completed after 1 iterations | ||
2020-03-19 07:58:46 [97 | REPORT]: [517|PwBaseWorkChain|on_terminated]: remote folders will not be cleaned | ||
2020-03-19 07:58:47 [98 | REPORT]: [514|Wannier90WorkChain|inspect_scf]: scf PwBaseWorkChain successfully finished | ||
2020-03-19 07:58:47 [99 | REPORT]: [514|Wannier90WorkChain|run_nscf]: nscf number of bands set as 24 | ||
2020-03-19 07:58:48 [100 | REPORT]: [514|Wannier90WorkChain|run_nscf]: nscf step - launching PwBaseWorkChain<537> in nscf mode | ||
2020-03-19 07:58:49 [101 | REPORT]: [537|PwBaseWorkChain|run_calculation]: launching PwCalculation<540> iteration #1 | ||
2020-03-19 08:01:16 [102 | REPORT]: [537|PwBaseWorkChain|inspect_calculation]: PwCalculation<540> completed successfully | ||
2020-03-19 08:01:16 [103 | REPORT]: [537|PwBaseWorkChain|results]: work chain completed after 1 iterations | ||
2020-03-19 08:01:16 [104 | REPORT]: [537|PwBaseWorkChain|on_terminated]: remote folders will not be cleaned | ||
2020-03-19 08:01:17 [105 | REPORT]: [514|Wannier90WorkChain|inspect_nscf]: nscf PwBaseWorkChain successfully finished | ||
2020-03-19 08:01:17 [106 | REPORT]: [514|Wannier90WorkChain|should_do_projwfc]: SCDM mu & sigma are auto-set using projectability | ||
2020-03-19 08:01:18 [107 | REPORT]: [514|Wannier90WorkChain|run_projwfc]: projwfc step - launching ProjwfcCalculation<546> | ||
2020-03-19 08:01:27 [108 | REPORT]: [514|Wannier90WorkChain|inspect_projwfc]: projwfc ProjwfcCalculation successfully finished | ||
2020-03-19 08:01:28 [109 | REPORT]: [514|Wannier90WorkChain|run_wannier90_pp]: number of Wannier functions extracted from projections: 14 | ||
2020-03-19 08:01:29 [110 | REPORT]: [514|Wannier90WorkChain|run_wannier90_pp]: wannier90 postproc step - launching Wannier90Calculation<559> in postproc mode | ||
2020-03-19 08:01:35 [111 | REPORT]: [514|Wannier90WorkChain|inspect_wannier90_pp]: wannier90 postproc Wannier90Calculation successfully finished | ||
2020-03-19 08:01:38 [112 | REPORT]: [514|Wannier90WorkChain|run_pw2wannier90]: pw2wannier90 step - launching Pw2Wannier90Calculation<567> | ||
2020-03-19 08:02:16 [113 | REPORT]: [514|Wannier90WorkChain|inspect_pw2wannier90]: Pw2wannier90Calculation successfully finished | ||
2020-03-19 08:02:16 [114 | REPORT]: [514|Wannier90WorkChain|run_wannier90]: wannier90 step - launching Wannier90Calculation<572> | ||
2020-03-19 08:03:06 [115 | REPORT]: [514|Wannier90WorkChain|inspect_wannier90]: Wannier90Calculation successfully finished | ||
2020-03-19 08:03:06 [116 | REPORT]: [514|Wannier90WorkChain|results]: final step - preparing outputs | ||
2020-03-19 08:03:06 [117 | REPORT]: [514|Wannier90WorkChain|results]: Wannier90WorkChain successfully completed | ||
2020-03-19 08:03:07 [118 | REPORT]: [495|Wannier90BandsWorkChain|results]: wannier90 interpolated bands pk: 575 | ||
2020-03-19 08:03:07 [119 | REPORT]: [495|Wannier90BandsWorkChain|results]: Wannier90BandsWorkChain successfully completed | ||
2022-05-12 22:07:11 [179 | REPORT]: [446|Wannier90BandsWorkChain|run_seekpath]: launching seekpath: CsH -> CsH | ||
2022-05-12 22:07:11 [180 | REPORT]: [446|Wannier90BandsWorkChain|run_scf]: launching PwBaseWorkChain<454> in scf mode | ||
2022-05-12 22:07:12 [181 | REPORT]: [454|PwBaseWorkChain|run_process]: launching PwCalculation<459> iteration #1 | ||
2022-05-12 22:07:55 [182 | REPORT]: [454|PwBaseWorkChain|results]: work chain completed after 1 iterations | ||
2022-05-12 22:07:55 [183 | REPORT]: [454|PwBaseWorkChain|on_terminated]: remote folders will not be cleaned | ||
2022-05-12 22:07:55 [184 | REPORT]: [446|Wannier90BandsWorkChain|run_nscf]: launching PwBaseWorkChain<466> in nscf mode | ||
2022-05-12 22:07:56 [185 | REPORT]: [466|PwBaseWorkChain|run_process]: launching PwCalculation<469> iteration #1 | ||
2022-05-12 22:19:39 [187 | REPORT]: [466|PwBaseWorkChain|results]: work chain completed after 1 iterations | ||
2022-05-12 22:19:40 [188 | REPORT]: [466|PwBaseWorkChain|on_terminated]: remote folders will not be cleaned | ||
2022-05-12 22:19:40 [189 | REPORT]: [446|Wannier90BandsWorkChain|run_projwfc]: launching ProjwfcBaseWorkChain<476> | ||
2022-05-12 22:19:40 [190 | REPORT]: [476|ProjwfcBaseWorkChain|run_process]: launching ProjwfcCalculation<477> iteration #1 | ||
2022-05-12 22:19:50 [191 | REPORT]: [476|ProjwfcBaseWorkChain|results]: work chain completed after 1 iterations | ||
2022-05-12 22:19:50 [192 | REPORT]: [476|ProjwfcBaseWorkChain|on_terminated]: remote folders will not be cleaned | ||
2022-05-12 22:19:50 [193 | REPORT]: [446|Wannier90BandsWorkChain|run_wannier90_pp]: launching Wannier90BaseWorkChain<487> in postproc mode | ||
2022-05-12 22:19:51 [194 | REPORT]: [487|Wannier90BaseWorkChain|run_process]: launching Wannier90Calculation<489> iteration #1 | ||
2022-05-12 22:19:59 [195 | REPORT]: [487|Wannier90BaseWorkChain|results]: work chain completed after 1 iterations | ||
2022-05-12 22:19:59 [196 | REPORT]: [487|Wannier90BaseWorkChain|on_terminated]: remote folders will not be cleaned | ||
2022-05-12 22:20:00 [197 | REPORT]: [446|Wannier90BandsWorkChain|run_pw2wannier90]: launching Pw2wannier90BaseWorkChain<495> | ||
2022-05-12 22:20:02 [198 | REPORT]: [495|Pw2wannier90BaseWorkChain|run_process]: launching Pw2wannier90Calculation<497> iteration #1 | ||
2022-05-12 22:20:39 [199 | REPORT]: [495|Pw2wannier90BaseWorkChain|results]: work chain completed after 1 iterations | ||
2022-05-12 22:20:39 [200 | REPORT]: [495|Pw2wannier90BaseWorkChain|on_terminated]: remote folders will not be cleaned | ||
2022-05-12 22:20:40 [201 | REPORT]: [446|Wannier90BandsWorkChain|run_wannier90]: launching Wannier90BaseWorkChain<506> | ||
2022-05-12 22:20:41 [202 | REPORT]: [506|Wannier90BaseWorkChain|run_process]: launching Wannier90Calculation<508> iteration #1 | ||
2022-05-12 22:21:00 [203 | REPORT]: [506|Wannier90BaseWorkChain|results]: work chain completed after 1 iterations | ||
2022-05-12 22:21:00 [204 | REPORT]: [506|Wannier90BaseWorkChain|on_terminated]: remote folders will not be cleaned | ||
2022-05-12 22:21:00 [205 | REPORT]: [446|Wannier90BandsWorkChain|results]: Wannier90BandsWorkChain successfully completed | ||
2022-05-12 22:21:01 [206 | REPORT]: [446|Wannier90BandsWorkChain|on_terminated]: remote folders will not be cleaned |
Oops, something went wrong.