Dimension mismatch between L and G #272
Replies: 1 comment
-
|
Hi @hellozhaoming , I moved this to discussions. There is no problem in the code here. Your problem is that in the then this Sigma with has 5, not 7 orbitals, is attempted to be plugged into sumk. This does not work. Simply delete the vasp.h5 file and rerun the converter via Another comment: your INCAR convergence settings are not tight enough for high precision projectors. I would set: and check than Best, |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
I am leaning DMFT with this example: https://triqs.github.io/dft_tools/unstable/tutorials/nio_csc_vasp/nio_csc.html
The NiO case didn't show any errors during the one-shot dmft run.
However, there will be an error if I replace Ni to Eu.
Steps to Reproduce
LOCPROJ ="1 : f : Pr
2 : p : Pr"
plo.cfg:
——————————————————————————————
[General]
HK = True
COMPLEMENT = False
[Group 1]
SHELLS = 1 2
EWINDOW = -5 10
NORMION = False
NORMALIZE = True
[Shell 1]
LSHELL = 3
IONS = 1
CORR = True
[Shell 2]
LSHELL = 1
IONS = 2
CORR = False
————————————————————————
conver.py:
the original nio.py is from https://triqs.github.io/dft_tools/unstable/tutorials/nio_csc_vasp/nio.py.html#nio-py. And replace "l=2" into "l=3" in the two lines
There will be an error:
File "/home/xzm/.conda/envs/triqs/lib/python3.12/site-packages/triqs/gf/gf.py", line 695, in from_L_G_R
assert L.shape[1] == G.target_shape[0], "Dimension mismatch between L and G"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/xzm/.conda/envs/triqs/lib/python3.12/site-packages/triqs_dft_tools/sumk_dft.py", line 1892, in symm_deg_gf
helper.from_L_G_R(v.conjugate().transpose(), gf_to_symm[key], v)
File "/home/xzm/data/2025/test-dmft/nio.py", line 123, in
SK.symm_deg_gf(S.Sigma_iw, ish=0)
File "/home/xzm/.conda/envs/triqs/lib/python3.12/runpy.py", line 88, in _run_code
exec(code, run_globals)
File "/home/xzm/.conda/envs/triqs/lib/python3.12/runpy.py", line 198, in _run_module_as_main (Current frame)
return _run_code(code, main_globals, None,
AssertionError: Dimension mismatch between L and G
Versions
triqs and triqs_dft_tools 3.3.1
vasp 6.5.1
input files
temp.zip
Beta Was this translation helpful? Give feedback.
All reactions