Hi.
I have used wannier90 [QE] to calculate the exchange parameters but after run I see the following error:
==> wann2J.py --spinor --posfile POSCAR --efermi 1.009 --kmesh 2 2 1 --elements Cr --prefix_spinor wannier90
TB2J version 0.7.4.3
Copyright (C) 2018-2020 TB2J group.
This
software is distributed with the 2-Clause BSD License, without any
warranty. For more details, see the LICENSE file delivered with this
software.
Reading atomic structure from file ./POSCAR.
Reading Wannier90 hamiltonian: non-colinear spin.
Starting to calculate exchange.
Green's function Calculation started.
100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████|
100/100 [00:02<00:00, 42.47it/s]
Traceback (most recent call last):
File "/share/apps/python/3.11.0/bin/wann2J.py", line 186, in <module>
run_wann2J()
File "/share/apps/python/3.11.0/bin/wann2J.py", line 156, in run_wann2J
gen_exchange(path=args.path,
File "/share/apps/python/3.11.0/lib/python3.11/site-packages/TB2J/manager.py", line 234, in gen_exchange
exchange.run(path=output_path)
File "/share/apps/python/3.11.0/lib/python3.11/site-packages/TB2J/exchange.py", line 775, in run
self.calculate_all()
File "/share/apps/python/3.11.0/lib/python3.11/site-packages/TB2J/exchange.py", line 727, in calculate_all
self.get_rho_atom()
File "/share/apps/python/3.11.0/lib/python3.11/site-packages/TB2J/exchange.py", line 583, in get_rho_atom
[np.trace(x) * 2 for x in pauli_block_all(tmp)])
^^^^^^^^^^^^^^^^^^^^
File "/share/apps/python/3.11.0/lib/python3.11/site-packages/TB2J/pauli.py", line 131, in pauli_block_all
MI = (M[::2, ::2] + M[1::2, 1::2]) / 2.0
~~~~~~~~~~~~^~~~~~~~~~~~~~~
ValueError: operands could not be broadcast together with shapes (3,3) (2,2)
I would be very thankful if someone help me to sole the issue.