Skip to content

Issue running with the latest version of phonopy #8

@siavash34

Description

@siavash34

Dear Yuji

I installed the latest version and try to run the following command for the example on file and an example of my own:
upho_weights band.conf

I then proceed to get the following (I have copied all for completeness):

/home/sam/.local/bin/upho_weights band.conf
UPHO version. 0.6.6

dict_input:
{'force_constants': 'FORCE_CONSTANTS',
'projection': 'eigenvectors',
'run_mode': 'band',
'star': 'sym',
'structure': 'POSCAR',
'structure_ideal': 'POSCAR_ideal'}

run_mode: band
star: sym
projection: eigenvectors
fc_filename: FORCE_CONSTANTS
supercell_matrix:
[[2 0 0]
[0 2 0]
[0 0 2]]
primitive_matrix:
[[0. 0.5 0.5]
[0.5 0. 0.5]
[0.5 0.5 0. ]]
Traceback (most recent call last):
File "/home/sam/.local/bin/upho_weights", line 252, in
main()
File "/home/sam/.local/bin/upho_weights", line 152, in main
phonon = PhonopyUnfolding(unitcell,
File "/home/sam/.local/lib/python3.10/site-packages/upho/api_unfolding.py", line 60, in init
self._build_supercell()
File "/home/sam/Downloads/Codes/phonopy/phonopy/api_phonopy.py", line 3809, in _build_supercell
is_old_style=(not self._use_SNF_supercell),
AttributeError: 'PhonopyUnfolding' object has no attribute '_use_SNF_supercell'

I do not know what the issue is but I assume it has something to do with the newer version of phonopy. I was wondering if you could guide me as to what I am able to do to resolve this.

Best
Siavash Karbasizadeh

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