-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
scf+nscf for DFPT WannierizeWorkflow example
- Loading branch information
1 parent
fbeb98b
commit 08333e9
Showing
4 changed files
with
97 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
run the example via "koopmans si.json". | ||
delete the 'mode' input in the file to run the standard ASE Koopmans. | ||
|
||
To run this via script/notebook: | ||
|
||
```python | ||
from koopmans.io import read | ||
from koopmans.workflows import KoopmansDFPTWorkflow | ||
|
||
from koopmans.workflows import DFTPWWorkflow, WannierizeWorkflow | ||
|
||
wf = read('aiida-koopmans/example/silicon_dfpt/si.json') | ||
workflow = KoopmansDFPTWorkflow.fromparent(wf) | ||
|
||
new_wfl = workflow._run() | ||
``` | ||
|
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,70 @@ | ||
{ | ||
"workflow": { | ||
"task": "singlepoint", | ||
"functional": "ki", | ||
"base_functional": "pbe", | ||
"method": "dfpt", | ||
"mp_correction": false, | ||
"init_orbitals": "mlwfs", | ||
"calculate_alpha": true, | ||
"pseudo_library": "pseudo_dojo_standard", | ||
"from_scratch": true, | ||
"mode": { | ||
"pw_code": "pw-7.2-ok@localhost", | ||
"kcw_code": "kcw-7.2-ok@localhost", | ||
"metadata": { | ||
"options": { | ||
"max_wallclock_seconds": 3600, | ||
"resources": { | ||
"num_machines": 1, | ||
"num_mpiprocs_per_machine": 8, | ||
"num_cores_per_mpiproc": 1 | ||
}, | ||
"custom_scheduler_commands": "export OMP_NUM_THREADS=1" | ||
} | ||
} | ||
} | ||
}, | ||
"atoms": { | ||
"cell_parameters": { | ||
"periodic": true, | ||
"ibrav": 2, | ||
"celldms": {"1": 10.2622} | ||
}, | ||
"atomic_positions": { | ||
"units": "crystal", | ||
"positions": [["Si", 0.00, 0.00, 0.00], | ||
["Si", 0.25, 0.25, 0.25]] | ||
} | ||
}, | ||
"kpoints": { | ||
"grid": [2,2,2], | ||
"offset": [0, 0, 0], | ||
"path": "GXKG" | ||
}, | ||
"calculator_parameters": { | ||
"ecutwfc": 60.0, | ||
"pw": { | ||
"system": { | ||
"nbnd": 20 | ||
} | ||
}, | ||
"w90": { | ||
"bands_plot": true, | ||
"projections": [[{"fsite": [ 0.00, 0.00, 0.00 ], "ang_mtm": "sp3"}], | ||
[{"fsite": [ 0.25, 0.25, 0.25 ], "ang_mtm": "sp3"}]], | ||
"dis_froz_max": 10.6, | ||
"dis_win_max": 16.9 | ||
|
||
}, | ||
"ui": { | ||
"smooth_int_factor": 4 | ||
} | ||
}, | ||
"plotting": { | ||
"Emin": -15, | ||
"Emax": 10, | ||
"degauss": 0.2 | ||
} | ||
} | ||
|
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
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