Closed 373Kice closed 4 years ago
Thank you for trying the code as well as the issue. Unfortunately, without details of your calculations, I cannot provide you concrete advices. Maybe you can first check if you correctly have "PRIMITIVE_AXIS" tag in your band.conf. Changing the code and working does NOT immediately mean we do the correct thing.
Dear all, I also face such error. I am doing calculation on a distorted structure with body centered orthorhombic crystal (space group i4/mcm , # 140) and I want to unfold the phonon band of this structure on to the main cubic structure (with space group # 221) . I would be thankful for any help in advance. This is the exact error :
run_mode: band
star: sym
projection: eigenvectors
fc_filename: FORCE_CONSTANTS
supercell_matrix:
[[2 0 0]
[0 2 0]
[0 0 2]]
primitive_matrix:
[[ 1. 1. 0.]
[-1. 1. 0.]
[ 0. 0. 2.]]
Traceback (most recent call last):
File "/home/nh84temy/anaconda3/envs/phonopy/bin/upho_weights", line 255, in
Bests,
upho-0.6.1-py3.7.egg/upho/api_unfolding.py", line 52, in init NameError: name 'primitive_matrix' is not defined
when I run
upho_weights band.conf
, it return an NameError;in line 52, does the
primitive_matrix
meansprimitive_matrix_ideal
? After I changeprimitive_matrix
toprimitive_matrix_ideal
, it can work.