-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question regarding input files #1
Comments
I am very sorry for my late response (I wish you have a chance to see my reply...) It looks the problem is that you probably do not have a consistent POSCAR and POSCAR_ideal.
I mean, POSCAR_ideal should have the same size as POSCAR (which may have a random occupation of elements). |
Dear Dr. Ikeda, Thanks! Sincerely, |
Dr. Ikeda, I completely understand that you may no longer work on this project, but thank you anyway! Have a nice day! Best, |
@yliu1240 I so far do not have any methods to deal with vacancies that I can convince myself, and therefore it is beyond support. What I can say is:
|
Dr. Ikeda, Anyway, thank you for your time and have a nice weekend! Best regards, |
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.
The text was updated successfully, but these errors were encountered: