Skip to content

Question regarding input files  #1

@catotac

Description

@catotac

Hello Dr. Ikeda,
I am doing band unfolding calculation using upho. I am getting an error something like this:
Calculate weights for wavevectors (sec.): 0.0002
Traceback (most recent call last):
File "/Users/rahulsn/Downloads/upho-0.5.3/scripts/upho_weights", line 262, in
main()
File "/Users/rahulsn/Downloads/upho-0.5.3/scripts/upho_weights", line 197, in main
is_band_connection=settings.get_is_band_connection(),
File "/Users/rahulsn/Downloads/upho-0.5.3/lib/python/upho/api_unfolding.py", line 169, in set_band_structure
verbose=True)
File "/Users/rahulsn/Downloads/upho-0.5.3/lib/python/upho/phonon/band_structure.py", line 85, in init
self._set_band(verbose=verbose)
File "/Users/rahulsn/Downloads/upho-0.5.3/lib/python/upho/phonon/band_structure.py", line 102, in _set_band
self._solve_dm_on_path(ipath, path, verbose)
File "/Users/rahulsn/Downloads/upho-0.5.3/lib/python/upho/phonon/band_structure.py", line 118, in _solve_dm_on_path
eigenstates.extract_eigenstates(q)
File "/Users/rahulsn/Downloads/upho-0.5.3/lib/python/upho/phonon/eigenstates.py", line 144, in extract_eigenstates
q, transformation_matrix)
File "/Users/rahulsn/Downloads/upho-0.5.3/lib/python/upho/phonon/eigenstates.py", line 221, in _extract_eigenstates_for_q
weights['total'], t_proj_eigvecs = self._extract_weights(q_sc, eigvecs)
File "/Users/rahulsn/Downloads/upho-0.5.3/lib/python/upho/phonon/eigenstates.py", line 252, in _extract_weights
vectors=eigvecs, kpoint=q)
File "/Users/rahulsn/Downloads/upho-0.5.3/lib/python/upho/phonon/translational_projector.py", line 129, in project_vectors
projected_vectors += vectors.take(jndices, axis=-2)
ValueError: operands could not be broadcast together with shapes (81,162) (3,162) (81,162)

I just wanted to check if I am doing everything correctly. My POSCAR is a supercell 3x3x3 cubic BCC structure and my POSCAR_ideal is

X
1.00000000000000
3.2520000000000001 0.0000000000000000 0.0000000000000000
0.0000000000000000 3.2520000000000001 0.0000000000000000
0.0000000000000000 0.0000000000000000 3.2520000000000001
X
2
Direct
0.5000000000000000 0.5000000000000000 0.5000000000000000
0.0000000000000000 0.0000000000000000 0.0000000000000000
Using this I am getting an error in the step of calculating weights.
Any help is highly appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions